*** Theuni1 has quit IRC | 00:01 | |
*** quodt has joined #zope3-dev | 00:04 | |
*** hexsprite_ has quit IRC | 00:08 | |
*** redir has quit IRC | 00:21 | |
*** redir has joined #zope3-dev | 00:21 | |
*** redir has quit IRC | 00:23 | |
*** quodt has quit IRC | 00:30 | |
*** dunny has quit IRC | 00:34 | |
*** timte has quit IRC | 00:38 | |
*** malthe is now known as malthe|away | 00:38 | |
*** alga has quit IRC | 00:46 | |
*** J1m has quit IRC | 00:59 | |
*** vimes656 has quit IRC | 01:00 | |
*** alga has joined #zope3-dev | 01:01 | |
*** vimes656 has joined #zope3-dev | 01:01 | |
*** hazmat has joined #zope3-dev | 01:01 | |
*** ChanServ sets mode: +o hazmat | 01:01 | |
*** srichter has quit IRC | 01:06 | |
*** jamur2 has joined #zope3-dev | 01:08 | |
*** dobee has quit IRC | 01:09 | |
*** lurkymclurkleton has quit IRC | 01:10 | |
*** dobee has joined #zope3-dev | 01:11 | |
*** vimes656 has quit IRC | 01:14 | |
*** vimes656 has joined #zope3-dev | 01:14 | |
*** flox has left #zope3-dev | 01:20 | |
*** philiKON_ has joined #zope3-dev | 01:20 | |
*** philiKON has quit IRC | 01:21 | |
*** jamur2 has quit IRC | 01:25 | |
*** harobed has quit IRC | 01:33 | |
*** whit is now known as whit|out | 01:33 | |
*** flox has joined #zope3-dev | 01:37 | |
*** aaronv has joined #zope3-dev | 01:38 | |
*** lucielejard has quit IRC | 01:38 | |
*** flox has quit IRC | 01:42 | |
*** dobee has quit IRC | 01:48 | |
*** redir has joined #zope3-dev | 02:05 | |
*** jpcw has quit IRC | 02:12 | |
*** aaronv has quit IRC | 02:18 | |
*** reco has quit IRC | 02:24 | |
*** nathany has quit IRC | 02:28 | |
*** sunew has quit IRC | 02:33 | |
*** malthe|away is now known as malthe | 02:37 | |
*** norro_ has joined #zope3-dev | 02:40 | |
*** kaeru has quit IRC | 02:45 | |
*** aaronv has joined #zope3-dev | 02:47 | |
*** norro has quit IRC | 02:56 | |
*** philiKON_ has quit IRC | 02:57 | |
*** srichter has joined #zope3-dev | 03:05 | |
*** rmarianski has quit IRC | 03:16 | |
*** lucielejard has joined #zope3-dev | 03:24 | |
*** reco has joined #zope3-dev | 03:26 | |
*** Vq^ has quit IRC | 03:30 | |
*** norro_ has quit IRC | 03:35 | |
*** kaeru has joined #zope3-dev | 03:52 | |
*** kaeru has quit IRC | 04:07 | |
*** kaeru has joined #zope3-dev | 04:07 | |
*** ktwilight_ has joined #zope3-dev | 04:13 | |
*** povbot has joined #zope3-dev | 04:23 | |
*** ktwilight has quit IRC | 04:26 | |
*** reco has quit IRC | 04:35 | |
*** vimes656 has quit IRC | 04:36 | |
*** alga has quit IRC | 04:41 | |
*** vimes656 has joined #zope3-dev | 04:41 | |
*** MiUlEr has joined #zope3-dev | 04:54 | |
*** MiUlEr has left #zope3-dev | 04:55 | |
*** yota has quit IRC | 05:01 | |
*** lucielejard has quit IRC | 05:01 | |
*** whit has joined #zope3-dev | 05:09 | |
*** dunny has joined #zope3-dev | 05:13 | |
*** aaronv has quit IRC | 05:26 | |
*** mgedmin has quit IRC | 05:34 | |
*** stub has joined #zope3-dev | 05:35 | |
*** alecm has quit IRC | 06:02 | |
*** binseer has joined #zope3-dev | 07:07 | |
*** whit has quit IRC | 07:46 | |
*** basti__ has joined #zope3-dev | 07:48 | |
*** malthe_ has joined #zope3-dev | 07:56 | |
*** malthe_ is now known as malthe|Zzz | 07:58 | |
*** fairwinds has quit IRC | 08:02 | |
*** malthe has quit IRC | 08:11 | |
*** jukart has joined #zope3-dev | 08:20 | |
*** redir has quit IRC | 08:22 | |
*** Theuni1 has joined #zope3-dev | 08:22 | |
*** quodt has joined #zope3-dev | 08:26 | |
*** jayaraj has joined #zope3-dev | 08:30 | |
*** jhauser has joined #zope3-dev | 08:34 | |
*** yvl has joined #zope3-dev | 08:41 | |
*** stub has quit IRC | 08:43 | |
*** stub has joined #zope3-dev | 08:46 | |
*** basti__ has quit IRC | 08:49 | |
*** basti__ has joined #zope3-dev | 08:49 | |
*** pyqwer has joined #zope3-dev | 08:49 | |
*** brandon_rhodes has quit IRC | 08:50 | |
*** Theuni2 has joined #zope3-dev | 08:54 | |
*** Theuni1 has quit IRC | 08:55 | |
*** dbfrombrc has joined #zope3-dev | 08:59 | |
*** __mac__ has joined #zope3-dev | 09:02 | |
*** philiKON has joined #zope3-dev | 09:11 | |
*** fRiSi has joined #zope3-dev | 09:24 | |
*** dobee has joined #zope3-dev | 09:26 | |
*** markusleist has quit IRC | 09:40 | |
*** zagy has joined #zope3-dev | 09:41 | |
*** mustap has joined #zope3-dev | 09:43 | |
*** zagy_ has joined #zope3-dev | 09:50 | |
*** zagy has quit IRC | 09:50 | |
*** alga has joined #zope3-dev | 09:52 | |
*** kursor has joined #zope3-dev | 09:59 | |
*** markusleist has joined #zope3-dev | 10:02 | |
*** philiKON has quit IRC | 10:05 | |
*** goschtl has joined #zope3-dev | 10:09 | |
*** kursor has quit IRC | 10:11 | |
*** nyo has joined #zope3-dev | 10:11 | |
*** mustap has left #zope3-dev | 10:13 | |
*** mustap has joined #zope3-dev | 10:16 | |
*** dbfrombrc has quit IRC | 10:20 | |
*** mustap has quit IRC | 10:24 | |
*** mustap has joined #zope3-dev | 10:26 | |
*** goschtl_ has joined #zope3-dev | 10:33 | |
*** goschtl has quit IRC | 10:42 | |
*** goschtl has joined #zope3-dev | 10:44 | |
*** mkerrin has joined #zope3-dev | 10:50 | |
*** goschtl_ has quit IRC | 10:52 | |
*** Theuni2 has quit IRC | 10:52 | |
*** goschtl_ has joined #zope3-dev | 10:57 | |
*** philiKON has joined #zope3-dev | 10:57 | |
*** goschtl__ has joined #zope3-dev | 11:04 | |
*** goschtl_ has quit IRC | 11:06 | |
*** yangkun has joined #zope3-dev | 11:06 | |
*** goschtl has quit IRC | 11:09 | |
*** agroszer has joined #zope3-dev | 11:10 | |
*** mkerrin has quit IRC | 11:13 | |
*** goschtl has joined #zope3-dev | 11:15 | |
*** mkerrin has joined #zope3-dev | 11:17 | |
*** yangkun has left #zope3-dev | 11:18 | |
*** MrTopf has joined #zope3-dev | 11:18 | |
*** mintsauce has joined #zope3-dev | 11:18 | |
*** projekt01 has joined #zope3-dev | 11:21 | |
*** goschtl__ has quit IRC | 11:24 | |
*** mustap has quit IRC | 11:26 | |
*** goschtl_ has joined #zope3-dev | 11:26 | |
*** mustap has joined #zope3-dev | 11:28 | |
*** mustap has quit IRC | 11:28 | |
*** mintsauce has quit IRC | 11:29 | |
*** goschtl has quit IRC | 11:35 | |
*** goschtl has joined #zope3-dev | 11:36 | |
*** mintsauce has joined #zope3-dev | 11:38 | |
*** goschtl__ has joined #zope3-dev | 11:41 | |
*** goschtl_ has quit IRC | 11:41 | |
*** sunew has joined #zope3-dev | 11:42 | |
*** goschtl_ has joined #zope3-dev | 11:45 | |
*** jpcw has joined #zope3-dev | 11:49 | |
*** romanofski has quit IRC | 11:51 | |
*** goschtl has quit IRC | 11:57 | |
*** goschtl has joined #zope3-dev | 11:58 | |
*** goschtl__ has quit IRC | 12:00 | |
*** mustap has joined #zope3-dev | 12:03 | |
*** jukart has quit IRC | 12:04 | |
*** goschtl_ has quit IRC | 12:06 | |
*** mustap has quit IRC | 12:07 | |
*** kursor has joined #zope3-dev | 12:12 | |
*** goschtl_ has joined #zope3-dev | 12:13 | |
*** goschtl__ has joined #zope3-dev | 12:19 | |
*** kursor has quit IRC | 12:19 | |
*** kursor has joined #zope3-dev | 12:20 | |
*** goschtl has quit IRC | 12:22 | |
*** toutpt has joined #zope3-dev | 12:22 | |
*** goschtl has joined #zope3-dev | 12:23 | |
*** goschtl_ has quit IRC | 12:34 | |
*** goschtl_ has joined #zope3-dev | 12:34 | |
*** goschtl__ has quit IRC | 12:38 | |
*** goschtl__ has joined #zope3-dev | 12:42 | |
*** goschtl has quit IRC | 12:43 | |
*** goschtl has joined #zope3-dev | 12:47 | |
*** goschtl_ has quit IRC | 12:57 | |
*** goschtl_ has joined #zope3-dev | 12:58 | |
*** aaronv has joined #zope3-dev | 13:00 | |
*** goschtl__ has quit IRC | 13:04 | |
*** kursor_ has joined #zope3-dev | 13:05 | |
*** sm has quit IRC | 13:05 | |
*** kursor has quit IRC | 13:06 | |
*** dunny has quit IRC | 13:06 | |
*** goschtl has quit IRC | 13:09 | |
*** baijum has joined #zope3-dev | 13:15 | |
*** afd_ has joined #zope3-dev | 13:24 | |
*** jpcw has quit IRC | 13:30 | |
*** MJ|nickcollision has joined #zope3-dev | 13:33 | |
*** MJ|nickcollision is now known as MJ | 13:33 | |
*** kursor_ has quit IRC | 13:36 | |
*** regebro has joined #zope3-dev | 13:57 | |
*** kaeru has quit IRC | 14:00 | |
mintsauce | Created a custom folder, but getting the following error when adding via ZMI add menu: | 14:08 |
---|---|---|
mintsauce | ForbiddenAttribute: ('__len__', <mysite.folder.TestFolder object at 0x23a85b0>) | 14:08 |
*** mustap has joined #zope3-dev | 14:10 | |
afd_ | mintsauce: you're missing the <class> declaration, with permissions, for your TestFolder | 14:15 |
lisppaste6 | mintsaice pasted "Folder permissions" at http://paste.lisp.org/display/68623 | 14:24 |
mintsauce | That? | 14:24 |
mintsauce | (ignore the mysite typo) | 14:25 |
afd_ | no | 14:27 |
afd_ | <class class=".yourapp.Folder"><require permission="zope.View" interface="yourinterface" /></class> | 14:28 |
*** aaronv has quit IRC | 14:28 | |
*** Theuni1 has joined #zope3-dev | 14:29 | |
*** harobed has joined #zope3-dev | 14:29 | |
mintsauce | ahhhh .... so i am, thanks afd_ ! | 14:29 |
mintsauce | afd_: how could you tell all that from that error? | 14:32 |
afd_ | http://www.benjiyork.com/quick_start/ < chapter Configuring the view | 14:33 |
*** kursor has joined #zope3-dev | 14:33 | |
afd_ | basically, it's a common error | 14:35 |
*** redir has joined #zope3-dev | 14:39 | |
*** brandon_rhodes has joined #zope3-dev | 14:39 | |
*** antiretorte has joined #zope3-dev | 14:44 | |
*** antiretorte has quit IRC | 14:46 | |
*** alga has quit IRC | 14:50 | |
*** alga has joined #zope3-dev | 14:51 | |
*** ignas has joined #zope3-dev | 14:53 | |
*** harobed_ has joined #zope3-dev | 14:53 | |
*** harobed has quit IRC | 14:54 | |
*** mustap has left #zope3-dev | 15:00 | |
*** kursor has quit IRC | 15:10 | |
*** J1m has joined #zope3-dev | 15:20 | |
*** fairwinds has joined #zope3-dev | 15:24 | |
*** kursor has joined #zope3-dev | 15:36 | |
*** sp0cksbeard has joined #zope3-dev | 15:39 | |
*** sp0cksbeard has left #zope3-dev | 15:39 | |
*** benji has joined #zope3-dev | 15:40 | |
*** redir has quit IRC | 15:41 | |
*** rocky has quit IRC | 15:54 | |
*** J1m has quit IRC | 15:54 | |
*** J1m has joined #zope3-dev | 15:57 | |
*** kursor has joined #zope3-dev | 15:57 | |
*** jamur2 has joined #zope3-dev | 15:59 | |
*** lurkymclurkleton has joined #zope3-dev | 15:59 | |
*** rocky has joined #zope3-dev | 16:04 | |
*** aaronv has joined #zope3-dev | 16:06 | |
*** rcrafton has joined #zope3-dev | 16:14 | |
*** kursor has quit IRC | 16:22 | |
*** rcrafton_ has quit IRC | 16:22 | |
*** mustap has joined #zope3-dev | 16:28 | |
*** mustap has left #zope3-dev | 16:28 | |
*** lucielejard has joined #zope3-dev | 16:34 | |
*** ccomb_ has joined #zope3-dev | 16:35 | |
*** malthe|Zzz is now known as malthe | 16:46 | |
*** whit has joined #zope3-dev | 16:51 | |
*** alga has quit IRC | 16:52 | |
*** baijum has quit IRC | 16:53 | |
*** __mac__ has quit IRC | 16:54 | |
*** baijum has joined #zope3-dev | 16:55 | |
*** goschtl has joined #zope3-dev | 17:03 | |
*** vimes656 has joined #zope3-dev | 17:06 | |
*** goschtl__ has joined #zope3-dev | 17:09 | |
*** goschtl_ has quit IRC | 17:10 | |
*** jukart has joined #zope3-dev | 17:13 | |
*** binseer has quit IRC | 17:17 | |
*** goschtl_ has joined #zope3-dev | 17:21 | |
*** goschtl has quit IRC | 17:27 | |
*** kursor has joined #zope3-dev | 17:28 | |
*** vimes656_ has joined #zope3-dev | 17:28 | |
*** basti__ has quit IRC | 17:29 | |
*** goschtl__ has quit IRC | 17:30 | |
*** zagy_ has quit IRC | 17:30 | |
*** jayaraj has quit IRC | 17:30 | |
*** goschtl has joined #zope3-dev | 17:33 | |
*** goschtl_ has quit IRC | 17:38 | |
*** projekt01 has quit IRC | 17:45 | |
*** goschtl_ has joined #zope3-dev | 17:45 | |
*** vimes656 has quit IRC | 17:46 | |
*** goschtl__ has joined #zope3-dev | 17:49 | |
*** goschtl has quit IRC | 17:54 | |
*** zagy has joined #zope3-dev | 17:58 | |
*** srichter has quit IRC | 18:02 | |
*** goschtl_ has quit IRC | 18:03 | |
*** rmarianski has joined #zope3-dev | 18:04 | |
*** rcrafton has quit IRC | 18:06 | |
*** goschtl_ has joined #zope3-dev | 18:06 | |
*** goschtl__ has quit IRC | 18:12 | |
*** norro has joined #zope3-dev | 18:15 | |
*** goschtl has joined #zope3-dev | 18:17 | |
*** nyo has quit IRC | 18:19 | |
*** mintsauce has quit IRC | 18:23 | |
*** goschtl_ has quit IRC | 18:24 | |
*** baijum has quit IRC | 18:25 | |
*** nathany has joined #zope3-dev | 18:25 | |
*** srichter has joined #zope3-dev | 18:29 | |
*** hazmat has quit IRC | 18:31 | |
*** jukart has quit IRC | 18:32 | |
*** Aiste has quit IRC | 18:36 | |
*** goschtl has quit IRC | 18:43 | |
*** ignas has quit IRC | 18:45 | |
*** kursor_ has joined #zope3-dev | 18:46 | |
*** kursor has quit IRC | 18:47 | |
*** kursor_ has quit IRC | 18:50 | |
*** vimes656_ has quit IRC | 18:55 | |
*** vimes656 has joined #zope3-dev | 19:01 | |
*** srichter has quit IRC | 19:04 | |
*** srichter has joined #zope3-dev | 19:04 | |
*** J1m has quit IRC | 19:05 | |
*** MiUlEr has joined #zope3-dev | 19:06 | |
*** MiUlEr has left #zope3-dev | 19:06 | |
*** hazmat has joined #zope3-dev | 19:07 | |
*** ChanServ sets mode: +o hazmat | 19:07 | |
*** dobee has quit IRC | 19:07 | |
*** sunew has quit IRC | 19:11 | |
*** pyqwer has quit IRC | 19:11 | |
*** toutpt has quit IRC | 19:13 | |
*** quodt has quit IRC | 19:25 | |
*** stub has quit IRC | 19:28 | |
*** MJ is now known as MJ|dinner | 19:31 | |
*** Count-Duckula has joined #zope3-dev | 19:36 | |
*** srichter has quit IRC | 19:36 | |
Count-Duckula | I'm using formlibs, and I've generated a form based on an Interface, and I can create instances of the class which implements the interface. But how do I attach the generated formlib fields to the instance, so the values are shown? Do I really have to write and zcml adapter for every form? | 19:36 |
afd_ | Count-Duckula: just "display" the form with the appropriate object as object | 19:38 |
afd_ | as context | 19:38 |
Count-Duckula | afd_: not sure what you mean. | 19:39 |
Count-Duckula | aI see | 19:39 |
Count-Duckula | afd_: My object is not zodb resident.......it memory resident, created from an SQL query. | 19:40 |
Count-Duckula | afd_: Can't make that my context. | 19:40 |
afd_ | Count-Duckula: why not? I think the only requirement (but I might be wrong, I haven't actually done something like this so far), is that the object implement ILocation | 19:41 |
*** sm has joined #zope3-dev | 19:42 | |
afd_ | or maybe you can write an adapter that ties the form fields interface to an interface implemented by your transient object | 19:42 |
Count-Duckula | afd_: I think I know how to do it the adapter way, but writing an adapter for every form seems a bit of an odd way of doing things. | 19:44 |
afd_ | Count-Duckula: I would try first this variant: make the transient object implement the form fields interface, then try to render the form as such. If you get errors about not being able to compute urls or locations, make your object implement ILocation (even if you lie about it - or use a location proxy) | 19:47 |
Count-Duckula | afd_: The transient object does implement the formfield interface, or rather the one I specified in l | 19:48 |
afd_ | ok | 19:48 |
Count-Duckula | form.FormFields | 19:48 |
Count-Duckula | But how do I get the formfield to point to that instance? | 19:48 |
*** srichter has joined #zope3-dev | 19:49 | |
afd_ | class MyForm(PageForm): form_fields = Fields(IMySchema) | 19:49 |
afd_ | only this is needed | 19:49 |
afd_ | then you can register the form as a view for your transient object | 19:51 |
afd_ | and call it with getMultiAdapter((trans_obj, request), name="myform")() | 19:51 |
afd_ | the result can be inserted further into your pages | 19:52 |
afd_ | or, if you implement a location proxy for your transient object, you can publish it directly through the web and apply the views directly | 19:53 |
Count-Duckula | afd_: I see now, yes.....thankyou! | 19:54 |
*** mkerrin has quit IRC | 20:02 | |
*** fRiSi has quit IRC | 20:07 | |
*** dobee has joined #zope3-dev | 20:11 | |
*** mkerrin has joined #zope3-dev | 20:11 | |
*** J1m has joined #zope3-dev | 20:13 | |
*** ccomb_ has left #zope3-dev | 20:13 | |
*** Count-Duckula has left #zope3-dev | 20:16 | |
*** replicant has joined #zope3-dev | 20:16 | |
*** hazmat has quit IRC | 20:20 | |
*** alecm has joined #zope3-dev | 20:20 | |
*** harobed_ has quit IRC | 20:34 | |
*** yota has joined #zope3-dev | 20:37 | |
*** replicant has quit IRC | 20:43 | |
*** quodt has joined #zope3-dev | 20:45 | |
*** timte has joined #zope3-dev | 20:47 | |
*** mkerrin has quit IRC | 20:48 | |
*** MrTopf has quit IRC | 20:54 | |
*** nyo has joined #zope3-dev | 20:56 | |
*** harobed_ has joined #zope3-dev | 21:04 | |
*** dbfrombrc has joined #zope3-dev | 21:06 | |
*** redir has joined #zope3-dev | 21:07 | |
*** fairwinds has quit IRC | 21:07 | |
*** fairwinds has joined #zope3-dev | 21:07 | |
*** fairwinds has left #zope3-dev | 21:08 | |
*** fairwinds has joined #zope3-dev | 21:08 | |
*** nyo has quit IRC | 21:09 | |
*** nyo has joined #zope3-dev | 21:11 | |
*** Sidnei has joined #zope3-dev | 21:13 | |
*** hazmat has joined #zope3-dev | 21:13 | |
*** ChanServ sets mode: +o hazmat | 21:13 | |
*** redir_ has joined #zope3-dev | 21:14 | |
*** redir_ has quit IRC | 21:26 | |
*** redir_ has joined #zope3-dev | 21:29 | |
*** dobee has quit IRC | 21:30 | |
*** Vq^ has joined #zope3-dev | 21:40 | |
*** whit is now known as whit|lunch | 21:42 | |
*** whit|lunch has quit IRC | 21:50 | |
*** aaronv has quit IRC | 21:55 | |
*** Theuni1 has quit IRC | 21:56 | |
*** aaronv has joined #zope3-dev | 21:59 | |
*** dobee has joined #zope3-dev | 21:59 | |
*** dbfrombrc has quit IRC | 22:03 | |
*** whit has joined #zope3-dev | 22:04 | |
*** dbfrombrc has joined #zope3-dev | 22:04 | |
*** redir_ has quit IRC | 22:05 | |
*** dbfrombrc has quit IRC | 22:08 | |
*** dbfrombrc has joined #zope3-dev | 22:11 | |
*** jhauser has quit IRC | 22:14 | |
*** redir has quit IRC | 22:15 | |
*** aaronv has quit IRC | 22:17 | |
*** Theuni1 has joined #zope3-dev | 22:23 | |
*** reco has joined #zope3-dev | 22:24 | |
*** vimes656 has quit IRC | 22:27 | |
*** philiKON has quit IRC | 22:28 | |
*** vimes656 has joined #zope3-dev | 22:28 | |
*** Theuni1 has quit IRC | 22:29 | |
*** aclark has joined #zope3-dev | 22:29 | |
*** hexsprite_ has joined #zope3-dev | 22:30 | |
*** aclark has quit IRC | 22:40 | |
*** philiKON has joined #zope3-dev | 22:42 | |
*** aclark has joined #zope3-dev | 22:45 | |
*** aaronv has joined #zope3-dev | 22:48 | |
*** dunny has joined #zope3-dev | 22:53 | |
*** aclark has quit IRC | 22:59 | |
*** agroszer has quit IRC | 23:01 | |
*** nathany has quit IRC | 23:09 | |
*** Pan__ has joined #zope3-dev | 23:12 | |
*** Pan_ has quit IRC | 23:12 | |
*** yota has quit IRC | 23:18 | |
*** Pan_ has joined #zope3-dev | 23:23 | |
*** Pan__ has quit IRC | 23:23 | |
*** afd_ has quit IRC | 23:25 | |
*** redir has joined #zope3-dev | 23:49 | |
*** hexsprite__ has joined #zope3-dev | 23:52 | |
*** hexsprite_ has quit IRC | 23:53 | |
*** sunew has joined #zope3-dev | 23:54 | |
*** benji has quit IRC | 23:57 | |
*** whit has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!