IRC log of #zope3-dev for Thursday, 2009-04-30

*** danielblackburn_ has joined #zope3-dev00:00
*** danielblackburn has quit IRC00:00
*** tarek has quit IRC00:08
*** tarek has joined #zope3-dev00:10
*** tarek has quit IRC00:13
*** brandon_rhodes has joined #zope3-dev00:17
*** pelle_ has quit IRC00:20
*** greenman has joined #zope3-dev00:21
*** benji has quit IRC00:32
*** tarek has joined #zope3-dev00:33
*** stub has joined #zope3-dev00:34
*** tarek has quit IRC00:34
*** jpcw has quit IRC00:36
*** aaronv has joined #zope3-dev00:36
*** ktwilight has joined #zope3-dev00:38
*** ignas_ has quit IRC00:40
*** gary_poster has quit IRC00:46
*** thekorn has quit IRC00:49
*** thekorn has joined #zope3-dev00:49
*** redir has quit IRC00:51
*** ktwilight_ has quit IRC00:51
*** aaronv has quit IRC00:56
*** thekorn has quit IRC01:08
*** jamur2 has quit IRC01:17
*** junkafarian has joined #zope3-dev01:21
*** junk|home has quit IRC01:21
*** ccomb has quit IRC01:26
*** flox has quit IRC01:30
*** lurkymclurkleton has quit IRC01:32
*** alga has quit IRC01:40
*** redir has joined #zope3-dev02:06
*** MiUlEr has joined #zope3-dev02:10
*** redir has quit IRC02:40
*** redir has joined #zope3-dev02:45
*** romanofski has joined #zope3-dev02:48
*** runyaga has quit IRC02:57
*** nathany has quit IRC02:58
*** stub has quit IRC03:08
*** kaeru has joined #zope3-dev03:13
*** danielblackburn_ has quit IRC03:16
*** danielblackburn has joined #zope3-dev03:16
*** cbcunc has quit IRC03:17
*** allisterb has joined #zope3-dev03:25
*** danielblackburn has quit IRC03:40
*** danielblackburn has joined #zope3-dev03:41
*** danielblackburn has quit IRC04:27
*** danielblackburn has joined #zope3-dev04:27
*** pcardune has quit IRC04:32
*** davisagli has quit IRC04:32
*** sm has quit IRC04:44
*** jfkw has quit IRC04:50
*** greenman has quit IRC04:57
*** andycat has joined #zope3-dev04:57
*** MiUlEr has quit IRC05:00
*** brandon_rhodes has quit IRC05:08
*** greenman has joined #zope3-dev05:08
*** hathawsh has joined #zope3-dev05:23
*** alecm has quit IRC05:36
*** davisagli has joined #zope3-dev05:55
*** febb has joined #zope3-dev06:01
*** redir has quit IRC06:10
*** redir has joined #zope3-dev06:11
*** redir has quit IRC06:12
*** davisagli has quit IRC06:24
*** hathawsh is now known as hath|away06:37
*** davisagli has joined #zope3-dev06:40
*** davisagli_ has joined #zope3-dev07:22
*** alecm has joined #zope3-dev07:27
*** afd___ has joined #zope3-dev07:34
*** davisagli has quit IRC07:39
*** alecm has quit IRC07:40
*** davisagli_ is now known as davisagli07:49
*** jukart has joined #zope3-dev07:56
*** davisagli has quit IRC08:00
*** davisagli has joined #zope3-dev08:04
*** febb has quit IRC08:07
*** stub has joined #zope3-dev08:16
*** hath|away is now known as hathawsh08:21
*** agroszer has joined #zope3-dev08:22
*** markusleist has joined #zope3-dev08:25
*** Theuni1 has joined #zope3-dev08:28
*** davisagli has quit IRC08:28
*** jukart has quit IRC08:34
*** afd___ has quit IRC08:36
*** thekorn has joined #zope3-dev08:41
*** greenman has quit IRC08:46
*** jukart has joined #zope3-dev08:59
*** Theuni2 has joined #zope3-dev09:02
*** Theuni1 has quit IRC09:02
*** __mac__ has joined #zope3-dev09:03
*** zagy has joined #zope3-dev09:05
*** afd_ has joined #zope3-dev09:11
*** davisagli has joined #zope3-dev09:18
*** greenman has joined #zope3-dev09:19
*** pyqwer has joined #zope3-dev09:27
*** pelle_ has joined #zope3-dev09:50
*** tarek has joined #zope3-dev09:57
*** harobed has joined #zope3-dev09:59
*** malthe|Zzz is now known as malthe10:07
*** mgedmin has joined #zope3-dev10:22
*** greenman has quit IRC10:24
*** iham has joined #zope3-dev10:25
*** thekorn has quit IRC10:29
*** romanofski has quit IRC10:42
*** stub has quit IRC10:50
*** stub1 has joined #zope3-dev10:50
*** stub1 is now known as stub10:50
*** goschtl has joined #zope3-dev10:57
*** goschtl has quit IRC10:58
*** goschtl has joined #zope3-dev10:58
*** hathawsh is now known as hath|away11:00
*** hath|away is now known as hathawsh11:00
*** yotaff has joined #zope3-dev11:08
*** jpcw has joined #zope3-dev11:09
*** alga has joined #zope3-dev11:22
*** greenman has joined #zope3-dev11:35
*** alga has quit IRC11:48
*** romanofski has joined #zope3-dev12:04
*** Count-Duckula has joined #zope3-dev12:10
*** iham has quit IRC12:14
*** ignas has joined #zope3-dev12:16
*** davisagli has left #zope3-dev12:18
*** greenman has quit IRC12:35
*** greenman has joined #zope3-dev12:35
*** Theuni1 has joined #zope3-dev12:39
*** Theuni2 has quit IRC12:41
*** Theuni3 has joined #zope3-dev12:41
*** Theuni1 has quit IRC12:41
*** thetet has joined #zope3-dev12:41
*** jayaraj has joined #zope3-dev12:55
*** greenman has quit IRC12:56
*** thekryz has joined #zope3-dev12:59
thekryzthis might be a quick one13:00
thekryzI have some browserviews inheriting from some parent BrowserView13:01
thekryznow I'd like to call the parent's __call__13:01
thekryzhow do I do that without breaking any rules? ;)13:01
*** Theuni3 has quit IRC13:04
mgedminsame way as for any other python class13:05
*** jukart has quit IRC13:05
mgedminreturn ParentClassName.__call__(self)13:05
mgedminor return super(MyClassName, self).__call__()13:06
thekryzmerci13:08
*** hathawsh has quit IRC13:08
thekryzI forgot the super arguments and had tried super.__call__()13:08
*** thekryz has quit IRC13:11
mgedminsuper is usually more trouble than it's worth13:13
*** DrogoNevets has joined #zope3-dev13:22
*** aaronv has joined #zope3-dev13:22
DrogoNevetsI 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
mgedminthere is no such thing13:24
mgedminbut you can add a response header13:24
mgedminself.request.response.setHeader('X-My-Header', 'somevalue')13:24
DrogoNevetsmgedmin: 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 JS13:24
afd_DrogoNevets: in the rendered page, insert a <script> tag, with its content13:30
afd_it will then be interpreted by the browser13:30
afd_you don't need headers for that13:30
afd_you could, for example, define a global variable this way13:30
DrogoNevetsafd_: 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
DrogoNevetswhat 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 that13:33
*** iham has joined #zope3-dev13:34
afd_no, that technique is not nasty, at least from my point of view13:34
afd_you could use the simplejson library compute a value and add a header, as mgedmin explained13:35
DrogoNevetsyes and thats what I've done, but from my research (using Google) JS reading headers is not well supported13:35
*** tarek has quit IRC13:36
afd_then go for defining a global var13:36
*** Theuni1 has joined #zope3-dev13:36
DrogoNevetsafd_: 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
DrogoNevetsah ha! i see13:37
*** iham has quit IRC13:39
DrogoNevetsgot it - and its working, thanks you 213:45
afd_np13:45
DrogoNevetscurious though, does it have to be "view/some Method" or can I do "view/some Var"13:46
*** jukart has joined #zope3-dev13:47
*** kaeru has quit IRC13:48
*** tarek has joined #zope3-dev13:55
*** kaeru has joined #zope3-dev13:58
*** tarek has quit IRC14:05
*** redir has joined #zope3-dev14:11
*** iham has joined #zope3-dev14:14
*** Aiste has joined #zope3-dev14:16
*** ignas has quit IRC14:19
*** kleist has joined #zope3-dev14:20
*** tarek has joined #zope3-dev14:20
*** iham has quit IRC14:24
*** kleist has quit IRC14:38
*** baijum has joined #zope3-dev14:42
*** andycat has quit IRC14:51
*** jayaraj_ has joined #zope3-dev15:08
*** benji has joined #zope3-dev15:12
*** __mac__ has quit IRC15:19
*** iham has joined #zope3-dev15:24
*** jayaraj has quit IRC15:25
*** baijum has quit IRC15:27
*** gary_poster has joined #zope3-dev15:29
*** alga_ has joined #zope3-dev15:40
*** jayaraj__ has joined #zope3-dev15:41
*** afd__ has joined #zope3-dev15:48
*** afd_ has quit IRC15:49
*** mkerrin has joined #zope3-dev15:55
*** redir has quit IRC15:58
*** jayaraj_ has quit IRC16:00
*** jamur2 has joined #zope3-dev16:02
*** lurkymclurkleton has joined #zope3-dev16:03
*** aaronv has quit IRC16:06
*** philiKON has joined #zope3-dev16:07
*** projekt01 has joined #zope3-dev16:10
*** philiKON_ has quit IRC16:15
*** redir has joined #zope3-dev16:21
*** dunny has quit IRC16:23
*** redir has quit IRC16:23
*** dunny has joined #zope3-dev16:24
*** junkafarian has quit IRC16:29
*** junkafarian has joined #zope3-dev16:31
*** romanofski has quit IRC16:38
*** lucielejard has joined #zope3-dev16:44
*** J1m has joined #zope3-dev16:44
*** ignas has joined #zope3-dev16:45
*** afd__ has quit IRC16:47
*** J1m has quit IRC16:54
*** yotaff has quit IRC16:54
*** J1m has joined #zope3-dev17:00
*** basti__ has joined #zope3-dev17:02
*** runyaga has joined #zope3-dev17:05
*** J1m has quit IRC17:06
*** redir has joined #zope3-dev17:07
*** yotaff has joined #zope3-dev17:25
*** BjornT has quit IRC17:27
*** BjornT has joined #zope3-dev17:27
*** thekorn has joined #zope3-dev17:29
*** ccomb1 has joined #zope3-dev17:30
*** goschtl has quit IRC17:32
*** dbfrombrc has joined #zope3-dev17:32
*** zagy has quit IRC17:40
*** iham has quit IRC17:43
*** agroszer has quit IRC17:44
*** projekt01 has quit IRC17:52
*** gary_poster has quit IRC17:58
*** ccomb1 has quit IRC18:10
*** jukart has quit IRC18:10
*** ccomb has joined #zope3-dev18:11
*** stub has quit IRC18:13
*** dbfrombrc is now known as dbfrombrc|away18:13
*** dbfrombrc|away is now known as dbfrombrc18:26
*** dbfrombrc has quit IRC18:27
DrogoNevetshow can i get a hold of a users session from a browser view?18:27
runyagaDrogoNevets, http://svn.zope.org/zope.session/trunk/src/zope/session/api.txt?rev=94412&view=auto18:31
*** hathawsh has joined #zope3-dev18:33
*** ccomb has quit IRC18:37
*** davisagli has joined #zope3-dev18:38
*** ccomb has joined #zope3-dev18:39
*** mgedmin has quit IRC18:41
*** Aiste has quit IRC18:42
*** zagy has joined #zope3-dev18:51
*** davisagli has quit IRC18:54
*** alecm has joined #zope3-dev18:57
*** gary_poster has joined #zope3-dev19:01
*** tarek has quit IRC19:04
*** harobed has quit IRC19:17
*** ccomb has quit IRC19:23
*** Theuni1 has quit IRC19:24
*** jukart has joined #zope3-dev19:24
*** davisagli has joined #zope3-dev19:27
*** jayaraj__ has quit IRC19:29
*** ccomb has joined #zope3-dev19:38
*** aaronv has joined #zope3-dev19:40
*** mkerrin has quit IRC19:46
*** nathany has joined #zope3-dev19:51
*** malthe has quit IRC19:55
*** malthe has joined #zope3-dev19:55
*** iham has joined #zope3-dev20:00
*** Count-Duckula has left #zope3-dev20:02
*** febb has joined #zope3-dev20:05
*** iham has quit IRC20:05
*** jpcw has quit IRC20:27
*** J1m has joined #zope3-dev20:28
*** J1m has quit IRC20:31
*** ignas has quit IRC20:32
*** iham has joined #zope3-dev20:43
*** sunoano has joined #zope3-dev20:47
*** tarek has joined #zope3-dev20:50
*** iham has quit IRC20:50
*** DrogoNevets has quit IRC20:51
*** febb has quit IRC21:00
*** jukart has quit IRC21:00
*** malthe has quit IRC21:01
*** jayaraj has joined #zope3-dev21:13
*** pyqwer has quit IRC21:13
*** alga_ has quit IRC21:18
*** agroszer has joined #zope3-dev21:20
*** afd_ has joined #zope3-dev21:22
*** J1m has joined #zope3-dev21:23
*** tarek has quit IRC21:24
*** harobed has joined #zope3-dev21:27
*** jayaraj has quit IRC21:38
*** dbfrombrc has joined #zope3-dev21:45
*** hathawsh is now known as hath|away21:48
*** alga has joined #zope3-dev21:52
*** afd__ has joined #zope3-dev21:59
*** yotaff has quit IRC22:00
*** afd___ has joined #zope3-dev22:07
*** tarek has joined #zope3-dev22:08
*** thekorn has quit IRC22:13
*** iham has joined #zope3-dev22:13
*** afd__ has quit IRC22:13
*** afd_ has quit IRC22:22
*** greenman has joined #zope3-dev23:04
*** jfkw has joined #zope3-dev23:08
*** hath|away is now known as hathawsh23:16
*** afd___ has quit IRC23:19
*** flox has joined #zope3-dev23:19
*** Theuni1 has joined #zope3-dev23:23
*** iham has quit IRC23:57

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!