IRC log of #zope3-dev for Thursday, 2008-10-16

*** Theuni1 has quit IRC00:01
*** quodt has joined #zope3-dev00:04
*** hexsprite_ has quit IRC00:08
*** redir has quit IRC00:21
*** redir has joined #zope3-dev00:21
*** redir has quit IRC00:23
*** quodt has quit IRC00:30
*** dunny has quit IRC00:34
*** timte has quit IRC00:38
*** malthe is now known as malthe|away00:38
*** alga has quit IRC00:46
*** J1m has quit IRC00:59
*** vimes656 has quit IRC01:00
*** alga has joined #zope3-dev01:01
*** vimes656 has joined #zope3-dev01:01
*** hazmat has joined #zope3-dev01:01
*** ChanServ sets mode: +o hazmat01:01
*** srichter has quit IRC01:06
*** jamur2 has joined #zope3-dev01:08
*** dobee has quit IRC01:09
*** lurkymclurkleton has quit IRC01:10
*** dobee has joined #zope3-dev01:11
*** vimes656 has quit IRC01:14
*** vimes656 has joined #zope3-dev01:14
*** flox has left #zope3-dev01:20
*** philiKON_ has joined #zope3-dev01:20
*** philiKON has quit IRC01:21
*** jamur2 has quit IRC01:25
*** harobed has quit IRC01:33
*** whit is now known as whit|out01:33
*** flox has joined #zope3-dev01:37
*** aaronv has joined #zope3-dev01:38
*** lucielejard has quit IRC01:38
*** flox has quit IRC01:42
*** dobee has quit IRC01:48
*** redir has joined #zope3-dev02:05
*** jpcw has quit IRC02:12
*** aaronv has quit IRC02:18
*** reco has quit IRC02:24
*** nathany has quit IRC02:28
*** sunew has quit IRC02:33
*** malthe|away is now known as malthe02:37
*** norro_ has joined #zope3-dev02:40
*** kaeru has quit IRC02:45
*** aaronv has joined #zope3-dev02:47
*** norro has quit IRC02:56
*** philiKON_ has quit IRC02:57
*** srichter has joined #zope3-dev03:05
*** rmarianski has quit IRC03:16
*** lucielejard has joined #zope3-dev03:24
*** reco has joined #zope3-dev03:26
*** Vq^ has quit IRC03:30
*** norro_ has quit IRC03:35
*** kaeru has joined #zope3-dev03:52
*** kaeru has quit IRC04:07
*** kaeru has joined #zope3-dev04:07
*** ktwilight_ has joined #zope3-dev04:13
*** povbot has joined #zope3-dev04:23
*** ktwilight has quit IRC04:26
*** reco has quit IRC04:35
*** vimes656 has quit IRC04:36
*** alga has quit IRC04:41
*** vimes656 has joined #zope3-dev04:41
*** MiUlEr has joined #zope3-dev04:54
*** MiUlEr has left #zope3-dev04:55
*** yota has quit IRC05:01
*** lucielejard has quit IRC05:01
*** whit has joined #zope3-dev05:09
*** dunny has joined #zope3-dev05:13
*** aaronv has quit IRC05:26
*** mgedmin has quit IRC05:34
*** stub has joined #zope3-dev05:35
*** alecm has quit IRC06:02
*** binseer has joined #zope3-dev07:07
*** whit has quit IRC07:46
*** basti__ has joined #zope3-dev07:48
*** malthe_ has joined #zope3-dev07:56
*** malthe_ is now known as malthe|Zzz07:58
*** fairwinds has quit IRC08:02
*** malthe has quit IRC08:11
*** jukart has joined #zope3-dev08:20
*** redir has quit IRC08:22
*** Theuni1 has joined #zope3-dev08:22
*** quodt has joined #zope3-dev08:26
*** jayaraj has joined #zope3-dev08:30
*** jhauser has joined #zope3-dev08:34
*** yvl has joined #zope3-dev08:41
*** stub has quit IRC08:43
*** stub has joined #zope3-dev08:46
*** basti__ has quit IRC08:49
*** basti__ has joined #zope3-dev08:49
*** pyqwer has joined #zope3-dev08:49
*** brandon_rhodes has quit IRC08:50
*** Theuni2 has joined #zope3-dev08:54
*** Theuni1 has quit IRC08:55
*** dbfrombrc has joined #zope3-dev08:59
*** __mac__ has joined #zope3-dev09:02
*** philiKON has joined #zope3-dev09:11
*** fRiSi has joined #zope3-dev09:24
*** dobee has joined #zope3-dev09:26
*** markusleist has quit IRC09:40
*** zagy has joined #zope3-dev09:41
*** mustap has joined #zope3-dev09:43
*** zagy_ has joined #zope3-dev09:50
*** zagy has quit IRC09:50
*** alga has joined #zope3-dev09:52
*** kursor has joined #zope3-dev09:59
*** markusleist has joined #zope3-dev10:02
*** philiKON has quit IRC10:05
*** goschtl has joined #zope3-dev10:09
*** kursor has quit IRC10:11
*** nyo has joined #zope3-dev10:11
*** mustap has left #zope3-dev10:13
*** mustap has joined #zope3-dev10:16
*** dbfrombrc has quit IRC10:20
*** mustap has quit IRC10:24
*** mustap has joined #zope3-dev10:26
*** goschtl_ has joined #zope3-dev10:33
*** goschtl has quit IRC10:42
*** goschtl has joined #zope3-dev10:44
*** mkerrin has joined #zope3-dev10:50
*** goschtl_ has quit IRC10:52
*** Theuni2 has quit IRC10:52
*** goschtl_ has joined #zope3-dev10:57
*** philiKON has joined #zope3-dev10:57
*** goschtl__ has joined #zope3-dev11:04
*** goschtl_ has quit IRC11:06
*** yangkun has joined #zope3-dev11:06
*** goschtl has quit IRC11:09
*** agroszer has joined #zope3-dev11:10
*** mkerrin has quit IRC11:13
*** goschtl has joined #zope3-dev11:15
*** mkerrin has joined #zope3-dev11:17
*** yangkun has left #zope3-dev11:18
*** MrTopf has joined #zope3-dev11:18
*** mintsauce has joined #zope3-dev11:18
*** projekt01 has joined #zope3-dev11:21
*** goschtl__ has quit IRC11:24
*** mustap has quit IRC11:26
*** goschtl_ has joined #zope3-dev11:26
*** mustap has joined #zope3-dev11:28
*** mustap has quit IRC11:28
*** mintsauce has quit IRC11:29
*** goschtl has quit IRC11:35
*** goschtl has joined #zope3-dev11:36
*** mintsauce has joined #zope3-dev11:38
*** goschtl__ has joined #zope3-dev11:41
*** goschtl_ has quit IRC11:41
*** sunew has joined #zope3-dev11:42
*** goschtl_ has joined #zope3-dev11:45
*** jpcw has joined #zope3-dev11:49
*** romanofski has quit IRC11:51
*** goschtl has quit IRC11:57
*** goschtl has joined #zope3-dev11:58
*** goschtl__ has quit IRC12:00
*** mustap has joined #zope3-dev12:03
*** jukart has quit IRC12:04
*** goschtl_ has quit IRC12:06
*** mustap has quit IRC12:07
*** kursor has joined #zope3-dev12:12
*** goschtl_ has joined #zope3-dev12:13
*** goschtl__ has joined #zope3-dev12:19
*** kursor has quit IRC12:19
*** kursor has joined #zope3-dev12:20
*** goschtl has quit IRC12:22
*** toutpt has joined #zope3-dev12:22
*** goschtl has joined #zope3-dev12:23
*** goschtl_ has quit IRC12:34
*** goschtl_ has joined #zope3-dev12:34
*** goschtl__ has quit IRC12:38
*** goschtl__ has joined #zope3-dev12:42
*** goschtl has quit IRC12:43
*** goschtl has joined #zope3-dev12:47
*** goschtl_ has quit IRC12:57
*** goschtl_ has joined #zope3-dev12:58
*** aaronv has joined #zope3-dev13:00
*** goschtl__ has quit IRC13:04
*** kursor_ has joined #zope3-dev13:05
*** sm has quit IRC13:05
*** kursor has quit IRC13:06
*** dunny has quit IRC13:06
*** goschtl has quit IRC13:09
*** baijum has joined #zope3-dev13:15
*** afd_ has joined #zope3-dev13:24
*** jpcw has quit IRC13:30
*** MJ|nickcollision has joined #zope3-dev13:33
*** MJ|nickcollision is now known as MJ13:33
*** kursor_ has quit IRC13:36
*** regebro has joined #zope3-dev13:57
*** kaeru has quit IRC14:00
mintsauceCreated a custom folder, but getting the following error when adding via ZMI add menu:14:08
mintsauceForbiddenAttribute: ('__len__', <mysite.folder.TestFolder object at 0x23a85b0>)14:08
*** mustap has joined #zope3-dev14:10
afd_mintsauce: you're missing the <class> declaration, with permissions, for your TestFolder14:15
lisppaste6mintsaice pasted "Folder permissions" at http://paste.lisp.org/display/6862314:24
mintsauceThat?14:24
mintsauce(ignore the mysite typo)14:25
afd_no14:27
afd_<class class=".yourapp.Folder"><require permission="zope.View" interface="yourinterface" /></class>14:28
*** aaronv has quit IRC14:28
*** Theuni1 has joined #zope3-dev14:29
*** harobed has joined #zope3-dev14:29
mintsauceahhhh .... so i am, thanks afd_ !14:29
mintsauceafd_: how could you tell all that from that error?14:32
afd_http://www.benjiyork.com/quick_start/ < chapter Configuring the view14:33
*** kursor has joined #zope3-dev14:33
afd_basically, it's a common error14:35
*** redir has joined #zope3-dev14:39
*** brandon_rhodes has joined #zope3-dev14:39
*** antiretorte has joined #zope3-dev14:44
*** antiretorte has quit IRC14:46
*** alga has quit IRC14:50
*** alga has joined #zope3-dev14:51
*** ignas has joined #zope3-dev14:53
*** harobed_ has joined #zope3-dev14:53
*** harobed has quit IRC14:54
*** mustap has left #zope3-dev15:00
*** kursor has quit IRC15:10
*** J1m has joined #zope3-dev15:20
*** fairwinds has joined #zope3-dev15:24
*** kursor has joined #zope3-dev15:36
*** sp0cksbeard has joined #zope3-dev15:39
*** sp0cksbeard has left #zope3-dev15:39
*** benji has joined #zope3-dev15:40
*** redir has quit IRC15:41
*** rocky has quit IRC15:54
*** J1m has quit IRC15:54
*** J1m has joined #zope3-dev15:57
*** kursor has joined #zope3-dev15:57
*** jamur2 has joined #zope3-dev15:59
*** lurkymclurkleton has joined #zope3-dev15:59
*** rocky has joined #zope3-dev16:04
*** aaronv has joined #zope3-dev16:06
*** rcrafton has joined #zope3-dev16:14
*** kursor has quit IRC16:22
*** rcrafton_ has quit IRC16:22
*** mustap has joined #zope3-dev16:28
*** mustap has left #zope3-dev16:28
*** lucielejard has joined #zope3-dev16:34
*** ccomb_ has joined #zope3-dev16:35
*** malthe|Zzz is now known as malthe16:46
*** whit has joined #zope3-dev16:51
*** alga has quit IRC16:52
*** baijum has quit IRC16:53
*** __mac__ has quit IRC16:54
*** baijum has joined #zope3-dev16:55
*** goschtl has joined #zope3-dev17:03
*** vimes656 has joined #zope3-dev17:06
*** goschtl__ has joined #zope3-dev17:09
*** goschtl_ has quit IRC17:10
*** jukart has joined #zope3-dev17:13
*** binseer has quit IRC17:17
*** goschtl_ has joined #zope3-dev17:21
*** goschtl has quit IRC17:27
*** kursor has joined #zope3-dev17:28
*** vimes656_ has joined #zope3-dev17:28
*** basti__ has quit IRC17:29
*** goschtl__ has quit IRC17:30
*** zagy_ has quit IRC17:30
*** jayaraj has quit IRC17:30
*** goschtl has joined #zope3-dev17:33
*** goschtl_ has quit IRC17:38
*** projekt01 has quit IRC17:45
*** goschtl_ has joined #zope3-dev17:45
*** vimes656 has quit IRC17:46
*** goschtl__ has joined #zope3-dev17:49
*** goschtl has quit IRC17:54
*** zagy has joined #zope3-dev17:58
*** srichter has quit IRC18:02
*** goschtl_ has quit IRC18:03
*** rmarianski has joined #zope3-dev18:04
*** rcrafton has quit IRC18:06
*** goschtl_ has joined #zope3-dev18:06
*** goschtl__ has quit IRC18:12
*** norro has joined #zope3-dev18:15
*** goschtl has joined #zope3-dev18:17
*** nyo has quit IRC18:19
*** mintsauce has quit IRC18:23
*** goschtl_ has quit IRC18:24
*** baijum has quit IRC18:25
*** nathany has joined #zope3-dev18:25
*** srichter has joined #zope3-dev18:29
*** hazmat has quit IRC18:31
*** jukart has quit IRC18:32
*** Aiste has quit IRC18:36
*** goschtl has quit IRC18:43
*** ignas has quit IRC18:45
*** kursor_ has joined #zope3-dev18:46
*** kursor has quit IRC18:47
*** kursor_ has quit IRC18:50
*** vimes656_ has quit IRC18:55
*** vimes656 has joined #zope3-dev19:01
*** srichter has quit IRC19:04
*** srichter has joined #zope3-dev19:04
*** J1m has quit IRC19:05
*** MiUlEr has joined #zope3-dev19:06
*** MiUlEr has left #zope3-dev19:06
*** hazmat has joined #zope3-dev19:07
*** ChanServ sets mode: +o hazmat19:07
*** dobee has quit IRC19:07
*** sunew has quit IRC19:11
*** pyqwer has quit IRC19:11
*** toutpt has quit IRC19:13
*** quodt has quit IRC19:25
*** stub has quit IRC19:28
*** MJ is now known as MJ|dinner19:31
*** Count-Duckula has joined #zope3-dev19:36
*** srichter has quit IRC19:36
Count-DuckulaI'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 object19:38
afd_as context19:38
Count-Duckulaafd_: not sure what you mean.19:39
Count-DuckulaaI see19:39
Count-Duckulaafd_: My object is not zodb resident.......it memory resident, created from an SQL query.19:40
Count-Duckulaafd_: 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 ILocation19:41
*** sm has joined #zope3-dev19:42
afd_or maybe you can write an adapter that ties the form fields interface to an interface implemented by your transient object19:42
Count-Duckulaafd_: 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-Duckulaafd_: The transient object does implement the formfield interface, or rather the one I specified in l19:48
afd_ok19:48
Count-Duckulaform.FormFields19:48
Count-DuckulaBut how do I get the formfield to point to that instance?19:48
*** srichter has joined #zope3-dev19:49
afd_class MyForm(PageForm): form_fields = Fields(IMySchema)19:49
afd_only this is needed19:49
afd_then you can register the form as a view for your transient object19:51
afd_and call it with getMultiAdapter((trans_obj, request), name="myform")()19:51
afd_the result can be inserted further into your pages19: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 directly19:53
Count-Duckulaafd_: I see now, yes.....thankyou!19:54
*** mkerrin has quit IRC20:02
*** fRiSi has quit IRC20:07
*** dobee has joined #zope3-dev20:11
*** mkerrin has joined #zope3-dev20:11
*** J1m has joined #zope3-dev20:13
*** ccomb_ has left #zope3-dev20:13
*** Count-Duckula has left #zope3-dev20:16
*** replicant has joined #zope3-dev20:16
*** hazmat has quit IRC20:20
*** alecm has joined #zope3-dev20:20
*** harobed_ has quit IRC20:34
*** yota has joined #zope3-dev20:37
*** replicant has quit IRC20:43
*** quodt has joined #zope3-dev20:45
*** timte has joined #zope3-dev20:47
*** mkerrin has quit IRC20:48
*** MrTopf has quit IRC20:54
*** nyo has joined #zope3-dev20:56
*** harobed_ has joined #zope3-dev21:04
*** dbfrombrc has joined #zope3-dev21:06
*** redir has joined #zope3-dev21:07
*** fairwinds has quit IRC21:07
*** fairwinds has joined #zope3-dev21:07
*** fairwinds has left #zope3-dev21:08
*** fairwinds has joined #zope3-dev21:08
*** nyo has quit IRC21:09
*** nyo has joined #zope3-dev21:11
*** Sidnei has joined #zope3-dev21:13
*** hazmat has joined #zope3-dev21:13
*** ChanServ sets mode: +o hazmat21:13
*** redir_ has joined #zope3-dev21:14
*** redir_ has quit IRC21:26
*** redir_ has joined #zope3-dev21:29
*** dobee has quit IRC21:30
*** Vq^ has joined #zope3-dev21:40
*** whit is now known as whit|lunch21:42
*** whit|lunch has quit IRC21:50
*** aaronv has quit IRC21:55
*** Theuni1 has quit IRC21:56
*** aaronv has joined #zope3-dev21:59
*** dobee has joined #zope3-dev21:59
*** dbfrombrc has quit IRC22:03
*** whit has joined #zope3-dev22:04
*** dbfrombrc has joined #zope3-dev22:04
*** redir_ has quit IRC22:05
*** dbfrombrc has quit IRC22:08
*** dbfrombrc has joined #zope3-dev22:11
*** jhauser has quit IRC22:14
*** redir has quit IRC22:15
*** aaronv has quit IRC22:17
*** Theuni1 has joined #zope3-dev22:23
*** reco has joined #zope3-dev22:24
*** vimes656 has quit IRC22:27
*** philiKON has quit IRC22:28
*** vimes656 has joined #zope3-dev22:28
*** Theuni1 has quit IRC22:29
*** aclark has joined #zope3-dev22:29
*** hexsprite_ has joined #zope3-dev22:30
*** aclark has quit IRC22:40
*** philiKON has joined #zope3-dev22:42
*** aclark has joined #zope3-dev22:45
*** aaronv has joined #zope3-dev22:48
*** dunny has joined #zope3-dev22:53
*** aclark has quit IRC22:59
*** agroszer has quit IRC23:01
*** nathany has quit IRC23:09
*** Pan__ has joined #zope3-dev23:12
*** Pan_ has quit IRC23:12
*** yota has quit IRC23:18
*** Pan_ has joined #zope3-dev23:23
*** Pan__ has quit IRC23:23
*** afd_ has quit IRC23:25
*** redir has joined #zope3-dev23:49
*** hexsprite__ has joined #zope3-dev23:52
*** hexsprite_ has quit IRC23:53
*** sunew has joined #zope3-dev23:54
*** benji has quit IRC23:57
*** whit has quit IRC23:59

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