*** hathawsh is now known as hath|away | 00:00 | |
*** dunny_ has joined #zope3-dev | 00:01 | |
*** dunny has quit IRC | 00:09 | |
*** dunny_ is now known as dunny | 00:09 | |
*** aaronv has joined #zope3-dev | 00:16 | |
*** hath|away is now known as hathawsh | 00:20 | |
*** sawdog has quit IRC | 00:21 | |
*** alga has joined #zope3-dev | 00:26 | |
*** romanofski has joined #zope3-dev | 00:28 | |
*** drudi has joined #zope3-dev | 00:36 | |
*** allisterb_ has joined #zope3-dev | 00:38 | |
*** Guest79619 has quit IRC | 00:51 | |
*** allisterb has quit IRC | 00:55 | |
*** lurkymclurklet-1 has joined #zope3-dev | 00:57 | |
*** lurkymclurklet-1 has quit IRC | 00:57 | |
*** kapil__ has quit IRC | 01:03 | |
*** gary_poster has quit IRC | 01:04 | |
*** mcdonc has quit IRC | 01:04 | |
*** mcdonc has joined #zope3-dev | 01:08 | |
*** J1m has quit IRC | 01:10 | |
*** lurkymclurkleton has quit IRC | 01:13 | |
*** allisterb has joined #zope3-dev | 01:22 | |
*** menesis has quit IRC | 01:29 | |
*** allisterb_ has quit IRC | 01:32 | |
*** webmaven has quit IRC | 01:54 | |
*** davisagli has quit IRC | 02:06 | |
*** hathawsh is now known as hath|away | 02:11 | |
*** pcardune has quit IRC | 02:31 | |
*** pcardune has joined #zope3-dev | 02:31 | |
*** drudi has quit IRC | 02:44 | |
*** matthal has quit IRC | 03:20 | |
*** kapil__ has joined #zope3-dev | 03:36 | |
*** pcardune has quit IRC | 03:59 | |
*** jhauser_ has joined #zope3-dev | 04:25 | |
*** jhauser has quit IRC | 04:25 | |
*** jhauser_ is now known as jhauser | 04:26 | |
*** benji has joined #zope3-dev | 04:33 | |
*** dunny has quit IRC | 04:47 | |
*** redir has quit IRC | 04:50 | |
*** davisagli has joined #zope3-dev | 04:54 | |
*** aaronv has quit IRC | 05:00 | |
*** hath|away is now known as hathawsh | 05:21 | |
*** alecm has quit IRC | 05:22 | |
*** alecm_ has joined #zope3-dev | 05:23 | |
*** alecm_ is now known as alecm | 05:23 | |
*** pcardune has joined #zope3-dev | 05:26 | |
*** alecm has quit IRC | 05:27 | |
*** kapil__ has quit IRC | 05:28 | |
*** davisagli has quit IRC | 05:39 | |
*** stub has joined #zope3-dev | 05:42 | |
*** benji has quit IRC | 05:52 | |
*** redir has joined #zope3-dev | 05:55 | |
*** gary_poster has joined #zope3-dev | 06:17 | |
*** davisagli has joined #zope3-dev | 06:27 | |
*** gary_poster has quit IRC | 06:35 | |
*** allisterb_ has joined #zope3-dev | 06:39 | |
*** redir has quit IRC | 06:41 | |
*** allisterb has quit IRC | 06:43 | |
*** jfkw has quit IRC | 06:58 | |
*** hathawsh is now known as hath|away | 07:07 | |
*** dunny has joined #zope3-dev | 07:09 | |
*** davisagli has quit IRC | 07:24 | |
*** afd____ has joined #zope3-dev | 07:27 | |
*** alecm has joined #zope3-dev | 07:40 | |
*** davisagli has joined #zope3-dev | 07:42 | |
*** pcardune has quit IRC | 07:43 | |
*** alecm has quit IRC | 07:54 | |
*** hath|away is now known as hathawsh | 07:59 | |
*** kursor has joined #zope3-dev | 08:02 | |
*** jukart has joined #zope3-dev | 08:28 | |
*** __mac__ has joined #zope3-dev | 09:16 | |
*** sweh has joined #zope3-dev | 09:19 | |
*** Theuni2 has quit IRC | 09:27 | |
*** Theuni1 has joined #zope3-dev | 09:28 | |
*** sm has quit IRC | 09:32 | |
*** tisto has joined #zope3-dev | 09:33 | |
*** stub1 has joined #zope3-dev | 09:34 | |
*** stub has quit IRC | 09:34 | |
*** stub1 is now known as stub | 09:34 | |
*** afd___ has joined #zope3-dev | 09:46 | |
*** afd__ has joined #zope3-dev | 09:54 | |
*** afd_ has joined #zope3-dev | 09:55 | |
*** afd_____ has joined #zope3-dev | 09:57 | |
*** afd____ has quit IRC | 09:57 | |
*** davisagli has quit IRC | 09:59 | |
*** sweh has quit IRC | 10:00 | |
*** jhauser has quit IRC | 10:00 | |
*** sweh has joined #zope3-dev | 10:03 | |
*** afd____ has joined #zope3-dev | 10:03 | |
*** jpcw has quit IRC | 10:05 | |
*** jhauser has joined #zope3-dev | 10:06 | |
*** jhauser has quit IRC | 10:06 | |
*** jhauser has joined #zope3-dev | 10:06 | |
*** jhauser has quit IRC | 10:08 | |
*** afd___ has quit IRC | 10:11 | |
*** afd__ has quit IRC | 10:13 | |
*** afd_ has quit IRC | 10:13 | |
*** afd___ has joined #zope3-dev | 10:17 | |
*** jpcw has joined #zope3-dev | 10:19 | |
*** junkafarian has quit IRC | 10:23 | |
*** junkafarian has joined #zope3-dev | 10:24 | |
*** afd_____ has quit IRC | 10:24 | |
*** afd__ has joined #zope3-dev | 10:27 | |
*** allisterb_ has quit IRC | 10:28 | |
*** afd_ has joined #zope3-dev | 10:33 | |
*** afd_____ has joined #zope3-dev | 10:34 | |
*** afd____ has quit IRC | 10:36 | |
*** afd_ has quit IRC | 10:43 | |
*** afd___ has quit IRC | 10:45 | |
*** afd__ has quit IRC | 10:51 | |
*** markusleist has joined #zope3-dev | 10:51 | |
*** afd_____ has quit IRC | 10:53 | |
*** afd_____ has joined #zope3-dev | 10:53 | |
*** mkerrin has joined #zope3-dev | 11:10 | |
*** El_Rolando has joined #zope3-dev | 11:21 | |
*** jukart has quit IRC | 11:33 | |
*** kursor has quit IRC | 11:33 | |
*** kobold has quit IRC | 11:33 | |
*** djinni has quit IRC | 11:33 | |
*** kaeru has quit IRC | 11:33 | |
*** vaab has quit IRC | 11:33 | |
*** kobold has joined #zope3-dev | 11:35 | |
*** kursor has joined #zope3-dev | 11:39 | |
*** djinni has joined #zope3-dev | 11:40 | |
*** jukart has joined #zope3-dev | 11:41 | |
*** kaeru has joined #zope3-dev | 11:41 | |
*** ignas has joined #zope3-dev | 11:42 | |
*** vaab has joined #zope3-dev | 11:42 | |
*** afd_____ has quit IRC | 11:56 | |
*** afd_____ has joined #zope3-dev | 11:57 | |
*** ignas has quit IRC | 12:08 | |
*** junkafarian_ has joined #zope3-dev | 12:10 | |
*** junkafarian has quit IRC | 12:15 | |
*** junkafarian_ is now known as junkafarian | 12:15 | |
*** MJ has joined #zope3-dev | 12:32 | |
*** romanofski has quit IRC | 12:50 | |
*** menesis has joined #zope3-dev | 13:06 | |
*** aaronv has joined #zope3-dev | 13:08 | |
*** afd____ has joined #zope3-dev | 13:14 | |
*** mgedmin has joined #zope3-dev | 13:21 | |
*** afd_____ has quit IRC | 13:22 | |
*** mcdonc has quit IRC | 13:23 | |
*** alga has quit IRC | 13:23 | |
*** hathawsh is now known as hath|away | 13:27 | |
*** jhauser has joined #zope3-dev | 13:38 | |
*** alga has joined #zope3-dev | 13:44 | |
*** afd____ has quit IRC | 13:52 | |
*** afd____ has joined #zope3-dev | 13:52 | |
*** afd____ has quit IRC | 13:53 | |
*** afd____ has joined #zope3-dev | 13:54 | |
*** fcorrea has joined #zope3-dev | 14:11 | |
*** drudi has joined #zope3-dev | 14:14 | |
*** stub has quit IRC | 14:16 | |
*** markusleist has quit IRC | 14:28 | |
*** goschtl has joined #zope3-dev | 14:41 | |
*** gary_poster has joined #zope3-dev | 14:53 | |
*** ignas has joined #zope3-dev | 14:55 | |
*** afd___ has joined #zope3-dev | 14:56 | |
*** afd___ has quit IRC | 15:03 | |
*** afd____ has quit IRC | 15:04 | |
*** benji has joined #zope3-dev | 15:09 | |
*** ignas has quit IRC | 15:10 | |
*** jfkw has joined #zope3-dev | 15:12 | |
*** agroszer has joined #zope3-dev | 15:27 | |
*** dunny has quit IRC | 15:33 | |
*** yvl has joined #zope3-dev | 15:34 | |
*** jpcw has quit IRC | 15:41 | |
*** ignas has joined #zope3-dev | 15:51 | |
*** J1m has joined #zope3-dev | 15:59 | |
*** lurkymclurkleton has joined #zope3-dev | 16:02 | |
*** lurkymclurkleton has quit IRC | 16:02 | |
*** lurkymclurkleton has joined #zope3-dev | 16:03 | |
*** Theuni1 has quit IRC | 16:06 | |
*** jpcw has joined #zope3-dev | 16:12 | |
*** mcdonc has joined #zope3-dev | 16:13 | |
*** afd___ has joined #zope3-dev | 16:19 | |
*** Theuni1 has joined #zope3-dev | 16:20 | |
*** afd__ has joined #zope3-dev | 16:20 | |
*** kapil__ has joined #zope3-dev | 16:24 | |
*** yotaff has joined #zope3-dev | 16:35 | |
*** afd___ has quit IRC | 16:40 | |
*** kapil__ has quit IRC | 16:43 | |
*** kapil__ has joined #zope3-dev | 16:50 | |
*** Theuni1 has quit IRC | 16:54 | |
*** kapil__ has quit IRC | 16:58 | |
*** kapil__ has joined #zope3-dev | 16:59 | |
*** sm has joined #zope3-dev | 17:00 | |
*** kapil__ has quit IRC | 17:03 | |
*** jbglenn has joined #zope3-dev | 17:05 | |
*** goschtl has quit IRC | 17:06 | |
*** goschtl has joined #zope3-dev | 17:08 | |
*** tisto has joined #zope3-dev | 17:12 | |
*** sm has quit IRC | 17:12 | |
*** goschtl has quit IRC | 17:14 | |
*** afd_ has joined #zope3-dev | 17:14 | |
*** goschtl has joined #zope3-dev | 17:14 | |
*** afd_ has quit IRC | 17:15 | |
*** afd_ has joined #zope3-dev | 17:15 | |
*** __mac__ has quit IRC | 17:16 | |
*** afd_ has quit IRC | 17:16 | |
*** afd_ has joined #zope3-dev | 17:17 | |
*** jhauser has quit IRC | 17:17 | |
*** afd_____ has joined #zope3-dev | 17:18 | |
*** __mac__ has joined #zope3-dev | 17:19 | |
*** afd_____ has quit IRC | 17:19 | |
*** afd_____ has joined #zope3-dev | 17:19 | |
*** afd__ has quit IRC | 17:20 | |
*** allisterb has joined #zope3-dev | 17:20 | |
*** afd____ has joined #zope3-dev | 17:21 | |
*** kapil__ has joined #zope3-dev | 17:22 | |
*** afd___ has joined #zope3-dev | 17:23 | |
*** afd_ has quit IRC | 17:24 | |
*** redir has joined #zope3-dev | 17:27 | |
*** afd____ has quit IRC | 17:33 | |
*** afd_____ has quit IRC | 17:33 | |
*** kapil__ has quit IRC | 17:41 | |
*** sweh has quit IRC | 17:49 | |
*** Aiste has joined #zope3-dev | 18:00 | |
*** jukart has quit IRC | 18:04 | |
*** jbglenn has quit IRC | 18:05 | |
*** alecm has joined #zope3-dev | 18:06 | |
*** yvl has quit IRC | 18:09 | |
*** allisterb has quit IRC | 18:09 | |
*** projekt01 has joined #zope3-dev | 18:09 | |
*** mcdonc has quit IRC | 18:10 | |
*** pyqwer has joined #zope3-dev | 18:11 | |
*** mcdonc has joined #zope3-dev | 18:14 | |
*** mcdonc has quit IRC | 18:14 | |
*** mcdonc has joined #zope3-dev | 18:14 | |
*** goschtl has quit IRC | 18:35 | |
*** nathany has joined #zope3-dev | 18:47 | |
*** tisto_ has joined #zope3-dev | 18:49 | |
*** MJ has quit IRC | 18:54 | |
*** mintsauce has joined #zope3-dev | 18:56 | |
*** __mac__ has quit IRC | 18:58 | |
*** Theuni1 has joined #zope3-dev | 18:58 | |
*** tisto_ has quit IRC | 18:59 | |
*** Theuni1 has quit IRC | 18:59 | |
*** alga has quit IRC | 19:00 | |
mintsauce | Via 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 |
---|---|---|
mintsauce | Something like: name="*" | 19:01 |
*** tisto_ has joined #zope3-dev | 19:02 | |
*** Theuni1 has joined #zope3-dev | 19:02 | |
mgedmin | no | 19:03 |
*** tisto has quit IRC | 19:05 | |
mintsauce | I 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 |
mintsauce | I want to display specific messages via foo.com/messages/somerandomid | 19:06 |
mintsauce | How do I handle those id's via the container | 19:09 |
mintsauce | When i don't know them beforehand | 19:09 |
mintsauce | foo.com/messages?id=somerandomid is an option, but i like to keep my sites clear of obvious querystrings | 19:10 |
*** Theuni1 has quit IRC | 19:12 | |
*** projekt01 has quit IRC | 19:16 | |
mgedmin | mintsauce, what is your message container? | 19:26 |
mgedmin | does it implement IContainer? | 19:26 |
mgedmin | typical 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 IMessage | 19:26 |
mintsauce | mgedmin: BTreeContainer - It does implement IContainer. | 19:28 |
mintsauce | I'm not really familiar with __getitem__ | 19:29 |
mgedmin | when you write someobject[foo], python translates that to someobject.__getitem__(foo) | 19:30 |
mintsauce | This is for a live site too, so I'm guessing adding an IMessage definition would mean updating user records via generations? | 19:30 |
mgedmin | it's how you define custom array-like or dict-like objects | 19:30 |
mgedmin | you already have BTreeContainer, so you don't need to worry about __getitem__ | 19:30 |
*** sm has joined #zope3-dev | 19:30 | |
mintsauce | Oh - hah, simple when you put it like that :) | 19:30 |
mgedmin | what are the objects stored in your btreecontainer? | 19:30 |
mgedmin | do they provide some kind of interface? | 19:31 |
mgedmin | if not, you can always define views on classes rather than on interfaces | 19:31 |
mintsauce | dicts i think | 19:31 |
*** El_Rolando has quit IRC | 19:32 | |
mgedmin | oh, that can be interesting | 19:32 |
mintsauce | Hang on, no, that's wrong I think, let me check properly. | 19:32 |
mintsauce | I was right, sorry, PersistentDict objects | 19:34 |
mintsauce | The messages themselves don't provide any interface, only the message folder | 19:35 |
mgedmin | okay | 19:36 |
mgedmin | look into IBrowserPublisher adapters | 19:36 |
mgedmin | you may need to write one | 19:36 |
mintsauce | Will do, thanks | 19:36 |
mgedmin | or you could make your container view implements(IBrowserPublisher) and define the two methods in it directly | 19:36 |
mgedmin | this might help you: http://mg.pov.lt/blog/zope3-custom-traversal.html | 19:37 |
*** davisagli has joined #zope3-dev | 19:37 | |
mgedmin | it's not exactly what you want | 19:37 |
mgedmin | or maybe it is, I dunno | 19:38 |
mintsauce | Reading it now :) | 19:38 |
mintsauce | Looks to be exactly what I need, will give it a go, thanks. | 19:40 |
*** agroszer_ has joined #zope3-dev | 19:43 | |
*** agroszer has quit IRC | 19:43 | |
*** ignas has quit IRC | 19:48 | |
*** tarek has quit IRC | 19:54 | |
*** allisterb has joined #zope3-dev | 19:54 | |
*** afd__ has joined #zope3-dev | 20:00 | |
*** Theuni1 has joined #zope3-dev | 20:04 | |
*** tarek has joined #zope3-dev | 20:07 | |
*** afd_ has joined #zope3-dev | 20:08 | |
*** jukart has joined #zope3-dev | 20:10 | |
*** afd_____ has joined #zope3-dev | 20:14 | |
mintsauce | mgedmin: Great stuff, got the example working in my site, thanks again. | 20:15 |
*** __mac__ has joined #zope3-dev | 20:16 | |
*** afd___ has quit IRC | 20:17 | |
*** tisto_ has quit IRC | 20:20 | |
*** pcardune has joined #zope3-dev | 20:22 | |
*** mkerrin has left #zope3-dev | 20:24 | |
*** tarek_ has joined #zope3-dev | 20:26 | |
*** tarek has quit IRC | 20:26 | |
*** jukart has quit IRC | 20:28 | |
*** junkafarian has quit IRC | 20:29 | |
*** afd__ has quit IRC | 20:30 | |
*** __mac__ has quit IRC | 20:32 | |
*** redir has quit IRC | 20:32 | |
*** afd_ has quit IRC | 20:32 | |
*** __mac__ has joined #zope3-dev | 20:33 | |
*** tarek_ has quit IRC | 20:34 | |
*** tarek has joined #zope3-dev | 20:43 | |
*** markusleist has joined #zope3-dev | 20:54 | |
*** jpcw has quit IRC | 20:54 | |
*** redir has joined #zope3-dev | 20:55 | |
*** jhauser has joined #zope3-dev | 21:17 | |
*** mintsauce has quit IRC | 21:18 | |
*** tarek has quit IRC | 21:18 | |
*** drudi has quit IRC | 21:19 | |
*** sm has quit IRC | 21:20 | |
*** mgedmin has quit IRC | 21:20 | |
*** hath|away is now known as hathawsh | 21:27 | |
*** jhauser has quit IRC | 21:29 | |
*** jhauser has joined #zope3-dev | 21:31 | |
*** dunny has joined #zope3-dev | 21:32 | |
*** Aiste has quit IRC | 21:33 | |
*** drudi has joined #zope3-dev | 21:34 | |
*** Theuni1 has quit IRC | 21:37 | |
*** Theuni1 has joined #zope3-dev | 21:37 | |
*** Theuni1 has quit IRC | 21:37 | |
*** Theuni2 has joined #zope3-dev | 21:37 | |
*** matthal has joined #zope3-dev | 21:41 | |
*** Theuni2 has quit IRC | 21:42 | |
*** Theuni1 has joined #zope3-dev | 21:42 | |
*** J1m_ has joined #zope3-dev | 21:52 | |
*** jhauser has quit IRC | 21:53 | |
*** J1m has quit IRC | 21:59 | |
*** kapil__ has joined #zope3-dev | 22:05 | |
*** mintsauce has joined #zope3-dev | 22:06 | |
*** pcardune has quit IRC | 22:08 | |
*** agroszer_ has quit IRC | 22:10 | |
*** agroszer__ has joined #zope3-dev | 22:10 | |
*** tarek has joined #zope3-dev | 22:12 | |
*** aaronv has quit IRC | 22:13 | |
*** mintsauce has quit IRC | 22:14 | |
*** kursor has quit IRC | 22:16 | |
*** yotaff has quit IRC | 22:18 | |
*** agroszer__ has quit IRC | 22:20 | |
*** MJ has joined #zope3-dev | 22:22 | |
*** Theuni1 has quit IRC | 22:30 | |
*** Theuni2 has joined #zope3-dev | 22:30 | |
*** dunny has quit IRC | 22:31 | |
*** Theuni2 has quit IRC | 22:42 | |
*** zagy has quit IRC | 22:58 | |
*** menesis has quit IRC | 23:00 | |
*** mintsauce has joined #zope3-dev | 23:04 | |
mintsauce | Using 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 IRC | 23:08 | |
*** zagy has joined #zope3-dev | 23:09 | |
*** __mac__ has quit IRC | 23:09 | |
*** pcardune has joined #zope3-dev | 23:12 | |
*** afd_____ has quit IRC | 23:17 | |
*** MJ has quit IRC | 23:29 | |
*** aaronv has joined #zope3-dev | 23:42 | |
*** drudi has quit IRC | 23:43 | |
*** fcorrea has quit IRC | 23:44 | |
*** hathawsh is now known as hath|away | 23:50 | |
*** tarek has joined #zope3-dev | 23:50 | |
mintsauce | More detail: http://stackoverflow.com/questions/1752090/custom-traversal-and-page-templates | 23:51 |
*** hath|away is now known as hathawsh | 23:54 | |
*** sm has joined #zope3-dev | 23:55 | |
*** gary_poster has quit IRC | 23:55 | |
*** alga has joined #zope3-dev | 23:56 | |
*** romanofski has joined #zope3-dev | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!