IRC log of #zope3-dev for Tuesday, 2009-11-17

*** hathawsh is now known as hath|away00:00
*** dunny_ has joined #zope3-dev00:01
*** dunny has quit IRC00:09
*** dunny_ is now known as dunny00:09
*** aaronv has joined #zope3-dev00:16
*** hath|away is now known as hathawsh00:20
*** sawdog has quit IRC00:21
*** alga has joined #zope3-dev00:26
*** romanofski has joined #zope3-dev00:28
*** drudi has joined #zope3-dev00:36
*** allisterb_ has joined #zope3-dev00:38
*** Guest79619 has quit IRC00:51
*** allisterb has quit IRC00:55
*** lurkymclurklet-1 has joined #zope3-dev00:57
*** lurkymclurklet-1 has quit IRC00:57
*** kapil__ has quit IRC01:03
*** gary_poster has quit IRC01:04
*** mcdonc has quit IRC01:04
*** mcdonc has joined #zope3-dev01:08
*** J1m has quit IRC01:10
*** lurkymclurkleton has quit IRC01:13
*** allisterb has joined #zope3-dev01:22
*** menesis has quit IRC01:29
*** allisterb_ has quit IRC01:32
*** webmaven has quit IRC01:54
*** davisagli has quit IRC02:06
*** hathawsh is now known as hath|away02:11
*** pcardune has quit IRC02:31
*** pcardune has joined #zope3-dev02:31
*** drudi has quit IRC02:44
*** matthal has quit IRC03:20
*** kapil__ has joined #zope3-dev03:36
*** pcardune has quit IRC03:59
*** jhauser_ has joined #zope3-dev04:25
*** jhauser has quit IRC04:25
*** jhauser_ is now known as jhauser04:26
*** benji has joined #zope3-dev04:33
*** dunny has quit IRC04:47
*** redir has quit IRC04:50
*** davisagli has joined #zope3-dev04:54
*** aaronv has quit IRC05:00
*** hath|away is now known as hathawsh05:21
*** alecm has quit IRC05:22
*** alecm_ has joined #zope3-dev05:23
*** alecm_ is now known as alecm05:23
*** pcardune has joined #zope3-dev05:26
*** alecm has quit IRC05:27
*** kapil__ has quit IRC05:28
*** davisagli has quit IRC05:39
*** stub has joined #zope3-dev05:42
*** benji has quit IRC05:52
*** redir has joined #zope3-dev05:55
*** gary_poster has joined #zope3-dev06:17
*** davisagli has joined #zope3-dev06:27
*** gary_poster has quit IRC06:35
*** allisterb_ has joined #zope3-dev06:39
*** redir has quit IRC06:41
*** allisterb has quit IRC06:43
*** jfkw has quit IRC06:58
*** hathawsh is now known as hath|away07:07
*** dunny has joined #zope3-dev07:09
*** davisagli has quit IRC07:24
*** afd____ has joined #zope3-dev07:27
*** alecm has joined #zope3-dev07:40
*** davisagli has joined #zope3-dev07:42
*** pcardune has quit IRC07:43
*** alecm has quit IRC07:54
*** hath|away is now known as hathawsh07:59
*** kursor has joined #zope3-dev08:02
*** jukart has joined #zope3-dev08:28
*** __mac__ has joined #zope3-dev09:16
*** sweh has joined #zope3-dev09:19
*** Theuni2 has quit IRC09:27
*** Theuni1 has joined #zope3-dev09:28
*** sm has quit IRC09:32
*** tisto has joined #zope3-dev09:33
*** stub1 has joined #zope3-dev09:34
*** stub has quit IRC09:34
*** stub1 is now known as stub09:34
*** afd___ has joined #zope3-dev09:46
*** afd__ has joined #zope3-dev09:54
*** afd_ has joined #zope3-dev09:55
*** afd_____ has joined #zope3-dev09:57
*** afd____ has quit IRC09:57
*** davisagli has quit IRC09:59
*** sweh has quit IRC10:00
*** jhauser has quit IRC10:00
*** sweh has joined #zope3-dev10:03
*** afd____ has joined #zope3-dev10:03
*** jpcw has quit IRC10:05
*** jhauser has joined #zope3-dev10:06
*** jhauser has quit IRC10:06
*** jhauser has joined #zope3-dev10:06
*** jhauser has quit IRC10:08
*** afd___ has quit IRC10:11
*** afd__ has quit IRC10:13
*** afd_ has quit IRC10:13
*** afd___ has joined #zope3-dev10:17
*** jpcw has joined #zope3-dev10:19
*** junkafarian has quit IRC10:23
*** junkafarian has joined #zope3-dev10:24
*** afd_____ has quit IRC10:24
*** afd__ has joined #zope3-dev10:27
*** allisterb_ has quit IRC10:28
*** afd_ has joined #zope3-dev10:33
*** afd_____ has joined #zope3-dev10:34
*** afd____ has quit IRC10:36
*** afd_ has quit IRC10:43
*** afd___ has quit IRC10:45
*** afd__ has quit IRC10:51
*** markusleist has joined #zope3-dev10:51
*** afd_____ has quit IRC10:53
*** afd_____ has joined #zope3-dev10:53
*** mkerrin has joined #zope3-dev11:10
*** El_Rolando has joined #zope3-dev11:21
*** jukart has quit IRC11:33
*** kursor has quit IRC11:33
*** kobold has quit IRC11:33
*** djinni has quit IRC11:33
*** kaeru has quit IRC11:33
*** vaab has quit IRC11:33
*** kobold has joined #zope3-dev11:35
*** kursor has joined #zope3-dev11:39
*** djinni has joined #zope3-dev11:40
*** jukart has joined #zope3-dev11:41
*** kaeru has joined #zope3-dev11:41
*** ignas has joined #zope3-dev11:42
*** vaab has joined #zope3-dev11:42
*** afd_____ has quit IRC11:56
*** afd_____ has joined #zope3-dev11:57
*** ignas has quit IRC12:08
*** junkafarian_ has joined #zope3-dev12:10
*** junkafarian has quit IRC12:15
*** junkafarian_ is now known as junkafarian12:15
*** MJ has joined #zope3-dev12:32
*** romanofski has quit IRC12:50
*** menesis has joined #zope3-dev13:06
*** aaronv has joined #zope3-dev13:08
*** afd____ has joined #zope3-dev13:14
*** mgedmin has joined #zope3-dev13:21
*** afd_____ has quit IRC13:22
*** mcdonc has quit IRC13:23
*** alga has quit IRC13:23
*** hathawsh is now known as hath|away13:27
*** jhauser has joined #zope3-dev13:38
*** alga has joined #zope3-dev13:44
*** afd____ has quit IRC13:52
*** afd____ has joined #zope3-dev13:52
*** afd____ has quit IRC13:53
*** afd____ has joined #zope3-dev13:54
*** fcorrea has joined #zope3-dev14:11
*** drudi has joined #zope3-dev14:14
*** stub has quit IRC14:16
*** markusleist has quit IRC14:28
*** goschtl has joined #zope3-dev14:41
*** gary_poster has joined #zope3-dev14:53
*** ignas has joined #zope3-dev14:55
*** afd___ has joined #zope3-dev14:56
*** afd___ has quit IRC15:03
*** afd____ has quit IRC15:04
*** benji has joined #zope3-dev15:09
*** ignas has quit IRC15:10
*** jfkw has joined #zope3-dev15:12
*** agroszer has joined #zope3-dev15:27
*** dunny has quit IRC15:33
*** yvl has joined #zope3-dev15:34
*** jpcw has quit IRC15:41
*** ignas has joined #zope3-dev15:51
*** J1m has joined #zope3-dev15:59
*** lurkymclurkleton has joined #zope3-dev16:02
*** lurkymclurkleton has quit IRC16:02
*** lurkymclurkleton has joined #zope3-dev16:03
*** Theuni1 has quit IRC16:06
*** jpcw has joined #zope3-dev16:12
*** mcdonc has joined #zope3-dev16:13
*** afd___ has joined #zope3-dev16:19
*** Theuni1 has joined #zope3-dev16:20
*** afd__ has joined #zope3-dev16:20
*** kapil__ has joined #zope3-dev16:24
*** yotaff has joined #zope3-dev16:35
*** afd___ has quit IRC16:40
*** kapil__ has quit IRC16:43
*** kapil__ has joined #zope3-dev16:50
*** Theuni1 has quit IRC16:54
*** kapil__ has quit IRC16:58
*** kapil__ has joined #zope3-dev16:59
*** sm has joined #zope3-dev17:00
*** kapil__ has quit IRC17:03
*** jbglenn has joined #zope3-dev17:05
*** goschtl has quit IRC17:06
*** goschtl has joined #zope3-dev17:08
*** tisto has joined #zope3-dev17:12
*** sm has quit IRC17:12
*** goschtl has quit IRC17:14
*** afd_ has joined #zope3-dev17:14
*** goschtl has joined #zope3-dev17:14
*** afd_ has quit IRC17:15
*** afd_ has joined #zope3-dev17:15
*** __mac__ has quit IRC17:16
*** afd_ has quit IRC17:16
*** afd_ has joined #zope3-dev17:17
*** jhauser has quit IRC17:17
*** afd_____ has joined #zope3-dev17:18
*** __mac__ has joined #zope3-dev17:19
*** afd_____ has quit IRC17:19
*** afd_____ has joined #zope3-dev17:19
*** afd__ has quit IRC17:20
*** allisterb has joined #zope3-dev17:20
*** afd____ has joined #zope3-dev17:21
*** kapil__ has joined #zope3-dev17:22
*** afd___ has joined #zope3-dev17:23
*** afd_ has quit IRC17:24
*** redir has joined #zope3-dev17:27
*** afd____ has quit IRC17:33
*** afd_____ has quit IRC17:33
*** kapil__ has quit IRC17:41
*** sweh has quit IRC17:49
*** Aiste has joined #zope3-dev18:00
*** jukart has quit IRC18:04
*** jbglenn has quit IRC18:05
*** alecm has joined #zope3-dev18:06
*** yvl has quit IRC18:09
*** allisterb has quit IRC18:09
*** projekt01 has joined #zope3-dev18:09
*** mcdonc has quit IRC18:10
*** pyqwer has joined #zope3-dev18:11
*** mcdonc has joined #zope3-dev18:14
*** mcdonc has quit IRC18:14
*** mcdonc has joined #zope3-dev18:14
*** goschtl has quit IRC18:35
*** nathany has joined #zope3-dev18:47
*** tisto_ has joined #zope3-dev18:49
*** MJ has quit IRC18:54
*** mintsauce has joined #zope3-dev18:56
*** __mac__ has quit IRC18:58
*** Theuni1 has joined #zope3-dev18:58
*** tisto_ has quit IRC18:59
*** Theuni1 has quit IRC18:59
*** alga has quit IRC19:00
mintsauceVia zcml name=, or similar, is there a way to specify a class/template to be called if no other valid template was found?19:01
mintsauceSomething like: name="*"19:01
*** tisto_ has joined #zope3-dev19:02
*** Theuni1 has joined #zope3-dev19:02
mgedminno19:03
*** tisto has quit IRC19:05
mintsauceI think I'm approaching this the wrong way...... I have a messages folder, Defined in for="odb.interfaces.MessageContainer" and name="index.html" etc... In the site this resolves as foo.com/messages/19:05
mintsauceI want to display specific messages via foo.com/messages/somerandomid19:06
mintsauceHow do I handle those id's via the container19:09
mintsauceWhen i don't know them beforehand19:09
mintsaucefoo.com/messages?id=somerandomid is an option, but i like to keep my sites clear of obvious querystrings19:10
*** Theuni1 has quit IRC19:12
*** projekt01 has quit IRC19:16
mgedminmintsauce, what is your message container?19:26
mgedmindoes it implement IContainer?19:26
mgedmintypical solution would be that your MessageContainer has a __getitem__ that returns messages by some kind of id, and then you have an index.html view for IMessage19:26
mintsaucemgedmin: BTreeContainer - It does implement IContainer.19:28
mintsauceI'm not really familiar with __getitem__19:29
mgedminwhen you write someobject[foo], python translates that to someobject.__getitem__(foo)19:30
mintsauceThis is for a live site too, so I'm guessing adding an IMessage definition would mean updating user records via generations?19:30
mgedminit's how you define custom array-like or dict-like objects19:30
mgedminyou already have BTreeContainer, so you don't need to worry about __getitem__19:30
*** sm has joined #zope3-dev19:30
mintsauceOh - hah, simple when you put it like that :)19:30
mgedminwhat are the objects stored in your btreecontainer?19:30
mgedmindo they provide some kind of interface?19:31
mgedminif not, you can always define views on classes rather than on interfaces19:31
mintsaucedicts i think19:31
*** El_Rolando has quit IRC19:32
mgedminoh, that can be interesting19:32
mintsauceHang on, no, that's wrong I think, let me check properly.19:32
mintsauceI was right, sorry, PersistentDict objects19:34
mintsauceThe messages themselves don't provide any interface, only the message folder19:35
mgedminokay19:36
mgedminlook into IBrowserPublisher adapters19:36
mgedminyou may need to write one19:36
mintsauceWill do, thanks19:36
mgedminor you could make your container view implements(IBrowserPublisher) and define the two methods in it directly19:36
mgedminthis might help you: http://mg.pov.lt/blog/zope3-custom-traversal.html19:37
*** davisagli has joined #zope3-dev19:37
mgedminit's not exactly what you want19:37
mgedminor maybe it is, I dunno19:38
mintsauceReading it now :)19:38
mintsauceLooks to be exactly what I need, will give it a go, thanks.19:40
*** agroszer_ has joined #zope3-dev19:43
*** agroszer has quit IRC19:43
*** ignas has quit IRC19:48
*** tarek has quit IRC19:54
*** allisterb has joined #zope3-dev19:54
*** afd__ has joined #zope3-dev20:00
*** Theuni1 has joined #zope3-dev20:04
*** tarek has joined #zope3-dev20:07
*** afd_ has joined #zope3-dev20:08
*** jukart has joined #zope3-dev20:10
*** afd_____ has joined #zope3-dev20:14
mintsaucemgedmin: Great stuff, got the example working in my site, thanks again.20:15
*** __mac__ has joined #zope3-dev20:16
*** afd___ has quit IRC20:17
*** tisto_ has quit IRC20:20
*** pcardune has joined #zope3-dev20:22
*** mkerrin has left #zope3-dev20:24
*** tarek_ has joined #zope3-dev20:26
*** tarek has quit IRC20:26
*** jukart has quit IRC20:28
*** junkafarian has quit IRC20:29
*** afd__ has quit IRC20:30
*** __mac__ has quit IRC20:32
*** redir has quit IRC20:32
*** afd_ has quit IRC20:32
*** __mac__ has joined #zope3-dev20:33
*** tarek_ has quit IRC20:34
*** tarek has joined #zope3-dev20:43
*** markusleist has joined #zope3-dev20:54
*** jpcw has quit IRC20:54
*** redir has joined #zope3-dev20:55
*** jhauser has joined #zope3-dev21:17
*** mintsauce has quit IRC21:18
*** tarek has quit IRC21:18
*** drudi has quit IRC21:19
*** sm has quit IRC21:20
*** mgedmin has quit IRC21:20
*** hath|away is now known as hathawsh21:27
*** jhauser has quit IRC21:29
*** jhauser has joined #zope3-dev21:31
*** dunny has joined #zope3-dev21:32
*** Aiste has quit IRC21:33
*** drudi has joined #zope3-dev21:34
*** Theuni1 has quit IRC21:37
*** Theuni1 has joined #zope3-dev21:37
*** Theuni1 has quit IRC21:37
*** Theuni2 has joined #zope3-dev21:37
*** matthal has joined #zope3-dev21:41
*** Theuni2 has quit IRC21:42
*** Theuni1 has joined #zope3-dev21:42
*** J1m_ has joined #zope3-dev21:52
*** jhauser has quit IRC21:53
*** J1m has quit IRC21:59
*** kapil__ has joined #zope3-dev22:05
*** mintsauce has joined #zope3-dev22:06
*** pcardune has quit IRC22:08
*** agroszer_ has quit IRC22:10
*** agroszer__ has joined #zope3-dev22:10
*** tarek has joined #zope3-dev22:12
*** aaronv has quit IRC22:13
*** mintsauce has quit IRC22:14
*** kursor has quit IRC22:16
*** yotaff has quit IRC22:18
*** agroszer__ has quit IRC22:20
*** MJ has joined #zope3-dev22:22
*** Theuni1 has quit IRC22:30
*** Theuni2 has joined #zope3-dev22:30
*** dunny has quit IRC22:31
*** Theuni2 has quit IRC22:42
*** zagy has quit IRC22:58
*** menesis has quit IRC23:00
*** mintsauce has joined #zope3-dev23:04
mintsauceUsing mgedmin's custom traversal from earlier (http://mg.pov.lt/blog/zope3-custom-traversal.html) - how would I return 'mycalendar' via a ViewPageTemplateFile ?23:06
*** tarek has quit IRC23:08
*** zagy has joined #zope3-dev23:09
*** __mac__ has quit IRC23:09
*** pcardune has joined #zope3-dev23:12
*** afd_____ has quit IRC23:17
*** MJ has quit IRC23:29
*** aaronv has joined #zope3-dev23:42
*** drudi has quit IRC23:43
*** fcorrea has quit IRC23:44
*** hathawsh is now known as hath|away23:50
*** tarek has joined #zope3-dev23:50
mintsauceMore detail: http://stackoverflow.com/questions/1752090/custom-traversal-and-page-templates23:51
*** hath|away is now known as hathawsh23:54
*** sm has joined #zope3-dev23:55
*** gary_poster has quit IRC23:55
*** alga has joined #zope3-dev23:56
*** romanofski has joined #zope3-dev23:57

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