| *** danielblackburn_ has joined #zope3-dev | 00:00 | |
| *** danielblackburn has quit IRC | 00:00 | |
| *** tarek has quit IRC | 00:08 | |
| *** tarek has joined #zope3-dev | 00:10 | |
| *** tarek has quit IRC | 00:13 | |
| *** brandon_rhodes has joined #zope3-dev | 00:17 | |
| *** pelle_ has quit IRC | 00:20 | |
| *** greenman has joined #zope3-dev | 00:21 | |
| *** benji has quit IRC | 00:32 | |
| *** tarek has joined #zope3-dev | 00:33 | |
| *** stub has joined #zope3-dev | 00:34 | |
| *** tarek has quit IRC | 00:34 | |
| *** jpcw has quit IRC | 00:36 | |
| *** aaronv has joined #zope3-dev | 00:36 | |
| *** ktwilight has joined #zope3-dev | 00:38 | |
| *** ignas_ has quit IRC | 00:40 | |
| *** gary_poster has quit IRC | 00:46 | |
| *** thekorn has quit IRC | 00:49 | |
| *** thekorn has joined #zope3-dev | 00:49 | |
| *** redir has quit IRC | 00:51 | |
| *** ktwilight_ has quit IRC | 00:51 | |
| *** aaronv has quit IRC | 00:56 | |
| *** thekorn has quit IRC | 01:08 | |
| *** jamur2 has quit IRC | 01:17 | |
| *** junkafarian has joined #zope3-dev | 01:21 | |
| *** junk|home has quit IRC | 01:21 | |
| *** ccomb has quit IRC | 01:26 | |
| *** flox has quit IRC | 01:30 | |
| *** lurkymclurkleton has quit IRC | 01:32 | |
| *** alga has quit IRC | 01:40 | |
| *** redir has joined #zope3-dev | 02:06 | |
| *** MiUlEr has joined #zope3-dev | 02:10 | |
| *** redir has quit IRC | 02:40 | |
| *** redir has joined #zope3-dev | 02:45 | |
| *** romanofski has joined #zope3-dev | 02:48 | |
| *** runyaga has quit IRC | 02:57 | |
| *** nathany has quit IRC | 02:58 | |
| *** stub has quit IRC | 03:08 | |
| *** kaeru has joined #zope3-dev | 03:13 | |
| *** danielblackburn_ has quit IRC | 03:16 | |
| *** danielblackburn has joined #zope3-dev | 03:16 | |
| *** cbcunc has quit IRC | 03:17 | |
| *** allisterb has joined #zope3-dev | 03:25 | |
| *** danielblackburn has quit IRC | 03:40 | |
| *** danielblackburn has joined #zope3-dev | 03:41 | |
| *** danielblackburn has quit IRC | 04:27 | |
| *** danielblackburn has joined #zope3-dev | 04:27 | |
| *** pcardune has quit IRC | 04:32 | |
| *** davisagli has quit IRC | 04:32 | |
| *** sm has quit IRC | 04:44 | |
| *** jfkw has quit IRC | 04:50 | |
| *** greenman has quit IRC | 04:57 | |
| *** andycat has joined #zope3-dev | 04:57 | |
| *** MiUlEr has quit IRC | 05:00 | |
| *** brandon_rhodes has quit IRC | 05:08 | |
| *** greenman has joined #zope3-dev | 05:08 | |
| *** hathawsh has joined #zope3-dev | 05:23 | |
| *** alecm has quit IRC | 05:36 | |
| *** davisagli has joined #zope3-dev | 05:55 | |
| *** febb has joined #zope3-dev | 06:01 | |
| *** redir has quit IRC | 06:10 | |
| *** redir has joined #zope3-dev | 06:11 | |
| *** redir has quit IRC | 06:12 | |
| *** davisagli has quit IRC | 06:24 | |
| *** hathawsh is now known as hath|away | 06:37 | |
| *** davisagli has joined #zope3-dev | 06:40 | |
| *** davisagli_ has joined #zope3-dev | 07:22 | |
| *** alecm has joined #zope3-dev | 07:27 | |
| *** afd___ has joined #zope3-dev | 07:34 | |
| *** davisagli has quit IRC | 07:39 | |
| *** alecm has quit IRC | 07:40 | |
| *** davisagli_ is now known as davisagli | 07:49 | |
| *** jukart has joined #zope3-dev | 07:56 | |
| *** davisagli has quit IRC | 08:00 | |
| *** davisagli has joined #zope3-dev | 08:04 | |
| *** febb has quit IRC | 08:07 | |
| *** stub has joined #zope3-dev | 08:16 | |
| *** hath|away is now known as hathawsh | 08:21 | |
| *** agroszer has joined #zope3-dev | 08:22 | |
| *** markusleist has joined #zope3-dev | 08:25 | |
| *** Theuni1 has joined #zope3-dev | 08:28 | |
| *** davisagli has quit IRC | 08:28 | |
| *** jukart has quit IRC | 08:34 | |
| *** afd___ has quit IRC | 08:36 | |
| *** thekorn has joined #zope3-dev | 08:41 | |
| *** greenman has quit IRC | 08:46 | |
| *** jukart has joined #zope3-dev | 08:59 | |
| *** Theuni2 has joined #zope3-dev | 09:02 | |
| *** Theuni1 has quit IRC | 09:02 | |
| *** __mac__ has joined #zope3-dev | 09:03 | |
| *** zagy has joined #zope3-dev | 09:05 | |
| *** afd_ has joined #zope3-dev | 09:11 | |
| *** davisagli has joined #zope3-dev | 09:18 | |
| *** greenman has joined #zope3-dev | 09:19 | |
| *** pyqwer has joined #zope3-dev | 09:27 | |
| *** pelle_ has joined #zope3-dev | 09:50 | |
| *** tarek has joined #zope3-dev | 09:57 | |
| *** harobed has joined #zope3-dev | 09:59 | |
| *** malthe|Zzz is now known as malthe | 10:07 | |
| *** mgedmin has joined #zope3-dev | 10:22 | |
| *** greenman has quit IRC | 10:24 | |
| *** iham has joined #zope3-dev | 10:25 | |
| *** thekorn has quit IRC | 10:29 | |
| *** romanofski has quit IRC | 10:42 | |
| *** stub has quit IRC | 10:50 | |
| *** stub1 has joined #zope3-dev | 10:50 | |
| *** stub1 is now known as stub | 10:50 | |
| *** goschtl has joined #zope3-dev | 10:57 | |
| *** goschtl has quit IRC | 10:58 | |
| *** goschtl has joined #zope3-dev | 10:58 | |
| *** hathawsh is now known as hath|away | 11:00 | |
| *** hath|away is now known as hathawsh | 11:00 | |
| *** yotaff has joined #zope3-dev | 11:08 | |
| *** jpcw has joined #zope3-dev | 11:09 | |
| *** alga has joined #zope3-dev | 11:22 | |
| *** greenman has joined #zope3-dev | 11:35 | |
| *** alga has quit IRC | 11:48 | |
| *** romanofski has joined #zope3-dev | 12:04 | |
| *** Count-Duckula has joined #zope3-dev | 12:10 | |
| *** iham has quit IRC | 12:14 | |
| *** ignas has joined #zope3-dev | 12:16 | |
| *** davisagli has left #zope3-dev | 12:18 | |
| *** greenman has quit IRC | 12:35 | |
| *** greenman has joined #zope3-dev | 12:35 | |
| *** Theuni1 has joined #zope3-dev | 12:39 | |
| *** Theuni2 has quit IRC | 12:41 | |
| *** Theuni3 has joined #zope3-dev | 12:41 | |
| *** Theuni1 has quit IRC | 12:41 | |
| *** thetet has joined #zope3-dev | 12:41 | |
| *** jayaraj has joined #zope3-dev | 12:55 | |
| *** greenman has quit IRC | 12:56 | |
| *** thekryz has joined #zope3-dev | 12:59 | |
| thekryz | this might be a quick one | 13:00 | 
|---|---|---|
| thekryz | I have some browserviews inheriting from some parent BrowserView | 13:01 | 
| thekryz | now I'd like to call the parent's __call__ | 13:01 | 
| thekryz | how do I do that without breaking any rules? ;) | 13:01 | 
| *** Theuni3 has quit IRC | 13:04 | |
| mgedmin | same way as for any other python class | 13:05 | 
| *** jukart has quit IRC | 13:05 | |
| mgedmin | return ParentClassName.__call__(self) | 13:05 | 
| mgedmin | or return super(MyClassName, self).__call__() | 13:06 | 
| thekryz | merci | 13:08 | 
| *** hathawsh has quit IRC | 13:08 | |
| thekryz | I forgot the super arguments and had tried super.__call__() | 13:08 | 
| *** thekryz has quit IRC | 13:11 | |
| mgedmin | super is usually more trouble than it's worth | 13:13 | 
| *** DrogoNevets has joined #zope3-dev | 13:22 | |
| *** aaronv has joined #zope3-dev | 13:22 | |
| DrogoNevets | I want to add a value to the response query string (or similar that I can access via JavaScript later) how can i do this, self.request.response.addHeader ? | 13:23 | 
| afd_ | DrogoNevets: response query string? | 13:23 | 
| mgedmin | there is no such thing | 13:24 | 
| mgedmin | but you can add a response header | 13:24 | 
| mgedmin | self.request.response.setHeader('X-My-Header', 'somevalue') | 13:24 | 
| DrogoNevets | mgedmin: i dont know exactly what I mean, I want to pass something that has been processed by the server to the response, that can be read easily from JS | 13:24 | 
| afd_ | DrogoNevets: in the rendered page, insert a <script> tag, with its content | 13:30 | 
| afd_ | it will then be interpreted by the browser | 13:30 | 
| afd_ | you don't need headers for that | 13:30 | 
| afd_ | you could, for example, define a global variable this way | 13:30 | 
| DrogoNevets | afd_: isnt that a tad nasty? basically i have componenets of a web app im developing that behave differently depending on its referrer, and to save client side processing, i am doing the stuff for the referrer server side (this bit ive done fine) | 13:32 | 
| DrogoNevets | what i want is to pass a dict using simplejson to the page so i can access it in JS, baring in mind that the page its going to return is a PT file that I am using ViewPageTemplateFile, and simply returning that | 13:33 | 
| *** iham has joined #zope3-dev | 13:34 | |
| afd_ | no, that technique is not nasty, at least from my point of view | 13:34 | 
| afd_ | you could use the simplejson library compute a value and add a header, as mgedmin explained | 13:35 | 
| DrogoNevets | yes and thats what I've done, but from my research (using Google) JS reading headers is not well supported | 13:35 | 
| *** tarek has quit IRC | 13:36 | |
| afd_ | then go for defining a global var | 13:36 | 
| *** Theuni1 has joined #zope3-dev | 13:36 | |
| DrogoNevets | afd_: ok, so how would i do this from the page template object? | 13:37 | 
| afd_ | <script tal:content= | 13:37 | 
| afd_ | <script tal:content="view/something" /> | 13:37 | 
| DrogoNevets | ah ha! i see | 13:37 | 
| *** iham has quit IRC | 13:39 | |
| DrogoNevets | got it - and its working, thanks you 2 | 13:45 | 
| afd_ | np | 13:45 | 
| DrogoNevets | curious though, does it have to be "view/some Method" or can I do "view/some Var" | 13:46 | 
| *** jukart has joined #zope3-dev | 13:47 | |
| *** kaeru has quit IRC | 13:48 | |
| *** tarek has joined #zope3-dev | 13:55 | |
| *** kaeru has joined #zope3-dev | 13:58 | |
| *** tarek has quit IRC | 14:05 | |
| *** redir has joined #zope3-dev | 14:11 | |
| *** iham has joined #zope3-dev | 14:14 | |
| *** Aiste has joined #zope3-dev | 14:16 | |
| *** ignas has quit IRC | 14:19 | |
| *** kleist has joined #zope3-dev | 14:20 | |
| *** tarek has joined #zope3-dev | 14:20 | |
| *** iham has quit IRC | 14:24 | |
| *** kleist has quit IRC | 14:38 | |
| *** baijum has joined #zope3-dev | 14:42 | |
| *** andycat has quit IRC | 14:51 | |
| *** jayaraj_ has joined #zope3-dev | 15:08 | |
| *** benji has joined #zope3-dev | 15:12 | |
| *** __mac__ has quit IRC | 15:19 | |
| *** iham has joined #zope3-dev | 15:24 | |
| *** jayaraj has quit IRC | 15:25 | |
| *** baijum has quit IRC | 15:27 | |
| *** gary_poster has joined #zope3-dev | 15:29 | |
| *** alga_ has joined #zope3-dev | 15:40 | |
| *** jayaraj__ has joined #zope3-dev | 15:41 | |
| *** afd__ has joined #zope3-dev | 15:48 | |
| *** afd_ has quit IRC | 15:49 | |
| *** mkerrin has joined #zope3-dev | 15:55 | |
| *** redir has quit IRC | 15:58 | |
| *** jayaraj_ has quit IRC | 16:00 | |
| *** jamur2 has joined #zope3-dev | 16:02 | |
| *** lurkymclurkleton has joined #zope3-dev | 16:03 | |
| *** aaronv has quit IRC | 16:06 | |
| *** philiKON has joined #zope3-dev | 16:07 | |
| *** projekt01 has joined #zope3-dev | 16:10 | |
| *** philiKON_ has quit IRC | 16:15 | |
| *** redir has joined #zope3-dev | 16:21 | |
| *** dunny has quit IRC | 16:23 | |
| *** redir has quit IRC | 16:23 | |
| *** dunny has joined #zope3-dev | 16:24 | |
| *** junkafarian has quit IRC | 16:29 | |
| *** junkafarian has joined #zope3-dev | 16:31 | |
| *** romanofski has quit IRC | 16:38 | |
| *** lucielejard has joined #zope3-dev | 16:44 | |
| *** J1m has joined #zope3-dev | 16:44 | |
| *** ignas has joined #zope3-dev | 16:45 | |
| *** afd__ has quit IRC | 16:47 | |
| *** J1m has quit IRC | 16:54 | |
| *** yotaff has quit IRC | 16:54 | |
| *** J1m has joined #zope3-dev | 17:00 | |
| *** basti__ has joined #zope3-dev | 17:02 | |
| *** runyaga has joined #zope3-dev | 17:05 | |
| *** J1m has quit IRC | 17:06 | |
| *** redir has joined #zope3-dev | 17:07 | |
| *** yotaff has joined #zope3-dev | 17:25 | |
| *** BjornT has quit IRC | 17:27 | |
| *** BjornT has joined #zope3-dev | 17:27 | |
| *** thekorn has joined #zope3-dev | 17:29 | |
| *** ccomb1 has joined #zope3-dev | 17:30 | |
| *** goschtl has quit IRC | 17:32 | |
| *** dbfrombrc has joined #zope3-dev | 17:32 | |
| *** zagy has quit IRC | 17:40 | |
| *** iham has quit IRC | 17:43 | |
| *** agroszer has quit IRC | 17:44 | |
| *** projekt01 has quit IRC | 17:52 | |
| *** gary_poster has quit IRC | 17:58 | |
| *** ccomb1 has quit IRC | 18:10 | |
| *** jukart has quit IRC | 18:10 | |
| *** ccomb has joined #zope3-dev | 18:11 | |
| *** stub has quit IRC | 18:13 | |
| *** dbfrombrc is now known as dbfrombrc|away | 18:13 | |
| *** dbfrombrc|away is now known as dbfrombrc | 18:26 | |
| *** dbfrombrc has quit IRC | 18:27 | |
| DrogoNevets | how can i get a hold of a users session from a browser view? | 18:27 | 
| runyaga | DrogoNevets, http://svn.zope.org/zope.session/trunk/src/zope/session/api.txt?rev=94412&view=auto | 18:31 | 
| *** hathawsh has joined #zope3-dev | 18:33 | |
| *** ccomb has quit IRC | 18:37 | |
| *** davisagli has joined #zope3-dev | 18:38 | |
| *** ccomb has joined #zope3-dev | 18:39 | |
| *** mgedmin has quit IRC | 18:41 | |
| *** Aiste has quit IRC | 18:42 | |
| *** zagy has joined #zope3-dev | 18:51 | |
| *** davisagli has quit IRC | 18:54 | |
| *** alecm has joined #zope3-dev | 18:57 | |
| *** gary_poster has joined #zope3-dev | 19:01 | |
| *** tarek has quit IRC | 19:04 | |
| *** harobed has quit IRC | 19:17 | |
| *** ccomb has quit IRC | 19:23 | |
| *** Theuni1 has quit IRC | 19:24 | |
| *** jukart has joined #zope3-dev | 19:24 | |
| *** davisagli has joined #zope3-dev | 19:27 | |
| *** jayaraj__ has quit IRC | 19:29 | |
| *** ccomb has joined #zope3-dev | 19:38 | |
| *** aaronv has joined #zope3-dev | 19:40 | |
| *** mkerrin has quit IRC | 19:46 | |
| *** nathany has joined #zope3-dev | 19:51 | |
| *** malthe has quit IRC | 19:55 | |
| *** malthe has joined #zope3-dev | 19:55 | |
| *** iham has joined #zope3-dev | 20:00 | |
| *** Count-Duckula has left #zope3-dev | 20:02 | |
| *** febb has joined #zope3-dev | 20:05 | |
| *** iham has quit IRC | 20:05 | |
| *** jpcw has quit IRC | 20:27 | |
| *** J1m has joined #zope3-dev | 20:28 | |
| *** J1m has quit IRC | 20:31 | |
| *** ignas has quit IRC | 20:32 | |
| *** iham has joined #zope3-dev | 20:43 | |
| *** sunoano has joined #zope3-dev | 20:47 | |
| *** tarek has joined #zope3-dev | 20:50 | |
| *** iham has quit IRC | 20:50 | |
| *** DrogoNevets has quit IRC | 20:51 | |
| *** febb has quit IRC | 21:00 | |
| *** jukart has quit IRC | 21:00 | |
| *** malthe has quit IRC | 21:01 | |
| *** jayaraj has joined #zope3-dev | 21:13 | |
| *** pyqwer has quit IRC | 21:13 | |
| *** alga_ has quit IRC | 21:18 | |
| *** agroszer has joined #zope3-dev | 21:20 | |
| *** afd_ has joined #zope3-dev | 21:22 | |
| *** J1m has joined #zope3-dev | 21:23 | |
| *** tarek has quit IRC | 21:24 | |
| *** harobed has joined #zope3-dev | 21:27 | |
| *** jayaraj has quit IRC | 21:38 | |
| *** dbfrombrc has joined #zope3-dev | 21:45 | |
| *** hathawsh is now known as hath|away | 21:48 | |
| *** alga has joined #zope3-dev | 21:52 | |
| *** afd__ has joined #zope3-dev | 21:59 | |
| *** yotaff has quit IRC | 22:00 | |
| *** afd___ has joined #zope3-dev | 22:07 | |
| *** tarek has joined #zope3-dev | 22:08 | |
| *** thekorn has quit IRC | 22:13 | |
| *** iham has joined #zope3-dev | 22:13 | |
| *** afd__ has quit IRC | 22:13 | |
| *** afd_ has quit IRC | 22:22 | |
| *** greenman has joined #zope3-dev | 23:04 | |
| *** jfkw has joined #zope3-dev | 23:08 | |
| *** hath|away is now known as hathawsh | 23:16 | |
| *** afd___ has quit IRC | 23:19 | |
| *** flox has joined #zope3-dev | 23:19 | |
| *** Theuni1 has joined #zope3-dev | 23:23 | |
| *** iham has quit IRC | 23:57 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!