IRC log of #zope3-dev for Saturday, 2006-04-15

projekt01Python coding in TAL is not what we like to do. If we need a solution we have to find another way outside TAL for that.00:00
*** pcardune has quit IRC00:00
projekt01But don't ask me right now how this should look like ;-)00:00
roymok - have a nice weekend. bye.00:01
projekt01thanks, see you00:01
*** dunny has joined #zope3-dev00:03
*** dunny has quit IRC00:04
*** pcardune has joined #zope3-dev00:12
roymprojekt01: are you still there...00:13
projekt01yup00:13
roymWhat I need is (order is important):00:14
roym  question.update(), navigation.update()00:14
roymfollowed by (in no particular order):00:14
roym  question.render(), navigation.render()00:14
roymI don't think the solution we discussed will handle that.00:15
projekt01Hm, let's see...00:16
projekt01The provider directive calls a viewlet managers update and then render method.00:17
projekt01What if you use one viewlet manager for navigation and question and return a dict or tuple with all what you need?00:18
roymYes!00:18
roymso you're suggesting storing the rendered content (after controlling the update order in a custom viewletManager method)00:19
projekt01Yes00:19
projekt01You can do whatever you need to do in update and render of the viewlet manager00:20
*** dunny has joined #zope3-dev00:20
projekt01and return usefull data in the render method of this "single" viewlet manager.00:20
roymThe pattern here seems to be that if you need multiple updates, then the viewlets need to belong in the same viewletManager.00:21
projekt01Yes, absolutly00:21
projekt01But thi doesn't mean that the result get place in TAL at once in one place.00:21
roymI get it.00:22
projekt01The provider is only a accessor to concent/logic for your use case.00:22
projekt01I don't recommend that for every use case, but I can't think of a nother solution for this right now.00:22
roymSo step 1 would be a define (that does updates/renders) and step2 would be selective extraction of rendered content.00:23
projekt01Yes, perhaps you will return a dict or tuple in the render method and selective place the result in TAL.00:24
roymThanks - I have been struggling with this for a couple of days, and this does help!00:24
projekt01cool,00:24
roymbye (I mean this :).00:26
*** gumpa has left #zope3-dev00:27
*** pcardune has quit IRC00:35
*** pcardune has joined #zope3-dev00:35
*** dunny has quit IRC00:39
*** zbir` has joined #zope3-dev00:40
*** dunny has joined #zope3-dev00:40
*** dunny has quit IRC00:54
*** pcardune has quit IRC01:00
*** dunny has joined #zope3-dev01:04
*** benji has quit IRC01:04
*** pcardune has joined #zope3-dev01:05
*** zbir` has quit IRC01:14
*** ignas_ has joined #zope3-dev01:24
*** SteveA has joined #zope3-dev01:26
*** projekt01 has left #zope3-dev01:42
*** ignas_ has quit IRC02:28
*** tarek has quit IRC02:32
*** zbir` has joined #zope3-dev03:04
*** romanofski has quit IRC03:10
*** zbir` has quit IRC03:21
*** yota has quit IRC03:41
*** kamalgill is now known as kamalnearby03:48
*** RaFromBRC has quit IRC05:39
*** roym has quit IRC05:47
*** natea has joined #zope3-dev05:57
*** stub has joined #zope3-dev06:31
*** sm has quit IRC06:44
*** kamalnearby has left #zope3-dev07:08
*** lunatik has joined #zope3-dev07:56
*** lunatik has quit IRC08:13
*** rockyburt has quit IRC08:22
*** d2m has quit IRC09:05
*** tarek has joined #zope3-dev09:24
*** dobee has joined #zope3-dev09:29
*** d2m has joined #zope3-dev09:38
*** Theuni has joined #zope3-dev09:41
*** SteveA has quit IRC09:52
*** sashav has joined #zope3-dev09:53
*** sashav has quit IRC09:58
*** romanofski has joined #zope3-dev11:13
romanofskimoin11:15
*** romanofski is now known as rom|aw11:28
*** sashav has joined #zope3-dev11:43
*** dobee has quit IRC11:56
*** Theuni has quit IRC12:32
*** dobee has joined #zope3-dev12:32
*** rom|aw is now known as romanofski12:40
*** sashav has quit IRC12:42
*** rockyburt has joined #zope3-dev12:55
*** sashav has joined #zope3-dev13:41
*** dunny has quit IRC13:46
*** sashav has quit IRC13:48
*** sashav has joined #zope3-dev14:23
*** sashav has quit IRC14:58
*** sashav has joined #zope3-dev15:05
*** sashav has quit IRC15:11
*** zbir` has joined #zope3-dev15:44
*** stub has quit IRC15:49
*** rockyburt has quit IRC15:55
*** rockyburt has joined #zope3-dev15:58
*** rockyburt has joined #zope3-dev16:03
*** dobee has quit IRC16:55
*** sashav has joined #zope3-dev17:23
*** zbir` is now known as zbir17:28
*** sashav has quit IRC17:34
*** rockyburt has quit IRC17:41
*** rockyburt has joined #zope3-dev17:58
*** dobee has joined #zope3-dev18:12
*** romanofski has quit IRC18:25
*** rockyburt has quit IRC18:37
*** yota has joined #zope3-dev19:10
*** jinty has joined #zope3-dev19:36
*** rockyburt has joined #zope3-dev20:14
*** lunatik has joined #zope3-dev21:24
*** lunatik has quit IRC21:39
*** dunny has joined #zope3-dev22:52
*** lunatik has joined #zope3-dev23:32
*** hazmat has quit IRC23:53
*** lunatik has quit IRC23:59

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