*** J1m_ has quit IRC | 00:03 | |
*** timte has quit IRC | 00:04 | |
*** olavgg has joined #zope3-dev | 00:07 | |
*** menesis has quit IRC | 00:10 | |
*** menesis has joined #zope3-dev | 00:12 | |
*** cshenton has quit IRC | 00:19 | |
*** menesis has quit IRC | 00:35 | |
*** davisagli_ is now known as davisagli | 00:42 | |
*** malthe|away is now known as malthe | 00:43 | |
*** markusleist has quit IRC | 00:45 | |
*** lucielejard has quit IRC | 00:50 | |
*** malthe is now known as malthe|Zzz | 00:52 | |
*** andycat has quit IRC | 01:13 | |
*** regebro has quit IRC | 01:16 | |
*** jamur2 has quit IRC | 01:16 | |
*** dbfrombrc has joined #zope3-dev | 01:19 | |
*** quodt has quit IRC | 01:21 | |
*** nyo has quit IRC | 01:42 | |
*** kaeru has joined #zope3-dev | 01:59 | |
*** lurkymclurkleton has quit IRC | 02:07 | |
*** dbfrombrc has quit IRC | 02:21 | |
*** rmarianski has quit IRC | 02:36 | |
*** stub has quit IRC | 02:53 | |
*** ktwilight has quit IRC | 02:53 | |
*** lisppaste6 has quit IRC | 02:53 | |
*** sunoano has quit IRC | 02:53 | |
*** Aiste has quit IRC | 02:53 | |
*** redir has quit IRC | 02:53 | |
*** Theuni has quit IRC | 02:53 | |
*** JaRoel|4D has quit IRC | 02:53 | |
*** kaeru has quit IRC | 02:53 | |
*** alecm has quit IRC | 02:53 | |
*** danfairs has quit IRC | 02:53 | |
*** whit has quit IRC | 02:53 | |
*** rocky has quit IRC | 02:53 | |
*** Vejeta has quit IRC | 02:53 | |
*** ARiKA has quit IRC | 02:53 | |
*** multani has quit IRC | 02:53 | |
*** reco has quit IRC | 02:53 | |
*** ccomb has quit IRC | 02:53 | |
*** tarek has quit IRC | 02:53 | |
*** thetet has quit IRC | 02:53 | |
*** pelle_ has quit IRC | 02:53 | |
*** iham|away has quit IRC | 02:53 | |
*** sm has quit IRC | 02:53 | |
*** runyaga has quit IRC | 02:53 | |
*** kiorky has quit IRC | 02:53 | |
*** fairwinds has quit IRC | 02:53 | |
*** kobold has quit IRC | 02:53 | |
*** chaoflow has quit IRC | 02:53 | |
*** malthe|Zzz has quit IRC | 02:53 | |
*** SteveA has quit IRC | 02:53 | |
*** Vq^ has quit IRC | 02:53 | |
*** greenman has quit IRC | 02:53 | |
*** dunny has quit IRC | 02:53 | |
*** aaronv has quit IRC | 02:53 | |
*** bigkevmcd has quit IRC | 02:53 | |
*** andres has quit IRC | 02:53 | |
*** VladDrac has quit IRC | 02:53 | |
*** BjornT has quit IRC | 02:53 | |
*** srichter has quit IRC | 02:53 | |
*** romanofski has quit IRC | 02:53 | |
*** mcdonc has quit IRC | 02:53 | |
*** olavgg has quit IRC | 02:53 | |
*** davisagli has quit IRC | 02:53 | |
*** wgrant has quit IRC | 02:53 | |
*** Jell-O-Fishi has quit IRC | 02:53 | |
*** benji has quit IRC | 02:53 | |
*** tomislav- has quit IRC | 02:53 | |
*** aclark has quit IRC | 02:53 | |
*** redir has joined #zope3-dev | 02:54 | |
*** Aiste has joined #zope3-dev | 02:54 | |
*** sunoano has joined #zope3-dev | 02:54 | |
*** lisppaste6 has joined #zope3-dev | 02:54 | |
*** ktwilight has joined #zope3-dev | 02:54 | |
*** stub has joined #zope3-dev | 02:54 | |
*** Vejeta has joined #zope3-dev | 02:54 | |
*** multani has joined #zope3-dev | 02:54 | |
*** ARiKA has joined #zope3-dev | 02:54 | |
*** rocky has joined #zope3-dev | 02:54 | |
*** whit has joined #zope3-dev | 02:54 | |
*** danfairs has joined #zope3-dev | 02:54 | |
*** alecm has joined #zope3-dev | 02:54 | |
*** kaeru has joined #zope3-dev | 02:54 | |
*** wgrant has joined #zope3-dev | 02:54 | |
*** davisagli has joined #zope3-dev | 02:54 | |
*** olavgg has joined #zope3-dev | 02:54 | |
*** ccomb has joined #zope3-dev | 02:54 | |
*** reco has joined #zope3-dev | 02:54 | |
*** thetet has joined #zope3-dev | 02:54 | |
*** tarek has joined #zope3-dev | 02:54 | |
*** srichter has joined #zope3-dev | 02:54 | |
*** BjornT has joined #zope3-dev | 02:54 | |
*** romanofski has joined #zope3-dev | 02:54 | |
*** mcdonc has joined #zope3-dev | 02:54 | |
*** irc.freenode.net sets mode: +o srichter | 02:54 | |
*** greenman has joined #zope3-dev | 02:54 | |
*** pelle_ has joined #zope3-dev | 02:54 | |
*** dunny has joined #zope3-dev | 02:54 | |
*** aaronv has joined #zope3-dev | 02:54 | |
*** iham|away has joined #zope3-dev | 02:54 | |
*** sm has joined #zope3-dev | 02:54 | |
*** fairwinds has joined #zope3-dev | 02:54 | |
*** bigkevmcd has joined #zope3-dev | 02:54 | |
*** runyaga has joined #zope3-dev | 02:54 | |
*** malthe|Zzz has joined #zope3-dev | 02:54 | |
*** kiorky has joined #zope3-dev | 02:54 | |
*** VladDrac has joined #zope3-dev | 02:54 | |
*** andres has joined #zope3-dev | 02:54 | |
*** SteveA has joined #zope3-dev | 02:54 | |
*** chaoflow has joined #zope3-dev | 02:54 | |
*** kobold has joined #zope3-dev | 02:54 | |
*** Vq^ has joined #zope3-dev | 02:54 | |
*** benji has joined #zope3-dev | 02:54 | |
*** tomislav- has joined #zope3-dev | 02:55 | |
*** aclark has joined #zope3-dev | 02:55 | |
*** benji is now known as Guest53247 | 02:56 | |
*** JaRoel|4D has joined #zope3-dev | 02:57 | |
*** Theuni has joined #zope3-dev | 02:59 | |
*** Jell-O-Fishi has joined #zope3-dev | 03:09 | |
*** andycat has joined #zope3-dev | 03:15 | |
*** aaronv has quit IRC | 03:40 | |
*** pcardune has joined #zope3-dev | 04:00 | |
*** thetet has left #zope3-dev | 04:11 | |
*** pcardune has quit IRC | 04:34 | |
*** davisagli has left #zope3-dev | 04:52 | |
*** baijum has joined #zope3-dev | 05:15 | |
*** baijum has quit IRC | 05:36 | |
*** pcardune has joined #zope3-dev | 05:43 | |
*** davisagli has joined #zope3-dev | 05:50 | |
*** alecm has quit IRC | 06:16 | |
*** davisagli has quit IRC | 06:22 | |
*** davisagli has joined #zope3-dev | 06:24 | |
*** rmarianski has joined #zope3-dev | 06:33 | |
*** binseer has joined #zope3-dev | 06:39 | |
*** vimes656 has joined #zope3-dev | 07:01 | |
*** pcardune has quit IRC | 07:02 | |
*** greenman has quit IRC | 07:21 | |
*** baijum has joined #zope3-dev | 07:24 | |
*** jayaraj has joined #zope3-dev | 07:57 | |
*** rmarianski has quit IRC | 08:01 | |
*** __mac__ has joined #zope3-dev | 08:02 | |
*** basti__ has joined #zope3-dev | 08:18 | |
*** agroszer has joined #zope3-dev | 08:21 | |
*** kaeru has quit IRC | 08:21 | |
*** thekryz has joined #zope3-dev | 08:24 | |
*** jpcw has joined #zope3-dev | 08:28 | |
*** jukart has joined #zope3-dev | 08:44 | |
*** kaeru has joined #zope3-dev | 08:45 | |
*** thekryz has left #zope3-dev | 08:53 | |
*** JaRoel|4D has quit IRC | 08:55 | |
*** agroszer_ has joined #zope3-dev | 08:59 | |
*** fairwinds has quit IRC | 09:04 | |
*** zagy has joined #zope3-dev | 09:06 | |
*** Theuni has quit IRC | 09:12 | |
*** agroszer has quit IRC | 09:16 | |
*** vimes656 has quit IRC | 09:19 | |
*** Theuni has joined #zope3-dev | 09:35 | |
*** afd_ has joined #zope3-dev | 09:41 | |
*** quodt has joined #zope3-dev | 09:49 | |
*** tarek has quit IRC | 09:52 | |
*** __mac__ has quit IRC | 09:53 | |
*** greenman has joined #zope3-dev | 09:55 | |
*** J1m has joined #zope3-dev | 09:55 | |
*** vimes656 has joined #zope3-dev | 09:56 | |
*** quodt_ has joined #zope3-dev | 09:57 | |
*** quodt has quit IRC | 09:57 | |
*** tarek has joined #zope3-dev | 09:57 | |
*** quodt has joined #zope3-dev | 09:57 | |
*** sm has quit IRC | 10:03 | |
*** tarek has quit IRC | 10:07 | |
*** sm has joined #zope3-dev | 10:08 | |
*** markusleist has joined #zope3-dev | 10:09 | |
*** sm has quit IRC | 10:09 | |
*** davisagli has left #zope3-dev | 10:12 | |
*** JaRoel|4D has joined #zope3-dev | 10:13 | |
*** quodt_ has quit IRC | 10:13 | |
*** mkerrin has joined #zope3-dev | 10:13 | |
*** toutpt has joined #zope3-dev | 10:24 | |
*** iham|away has quit IRC | 10:33 | |
*** markusleist has quit IRC | 10:37 | |
*** danfairs has quit IRC | 10:38 | |
*** MJ has joined #zope3-dev | 10:39 | |
*** __mac__ has joined #zope3-dev | 10:39 | |
*** stub has quit IRC | 10:44 | |
*** afd__ has joined #zope3-dev | 10:44 | |
*** stub has joined #zope3-dev | 10:44 | |
*** harobed has joined #zope3-dev | 10:45 | |
*** agroszer_ is now known as agroszer | 10:45 | |
*** pyqwer has joined #zope3-dev | 10:48 | |
*** jhauser has joined #zope3-dev | 10:52 | |
*** junkafarian has joined #zope3-dev | 10:56 | |
*** sm has joined #zope3-dev | 10:57 | |
*** afd_ has quit IRC | 10:59 | |
*** sm has quit IRC | 11:01 | |
*** nyo has joined #zope3-dev | 11:05 | |
*** menesis has joined #zope3-dev | 11:05 | |
*** JaRoel|4_ has joined #zope3-dev | 11:05 | |
*** stub has quit IRC | 11:10 | |
*** Jell-O-Fishi has quit IRC | 11:10 | |
*** pyqwer has quit IRC | 11:10 | |
*** jpcw has quit IRC | 11:10 | |
*** ktwilight has quit IRC | 11:10 | |
*** nyo has quit IRC | 11:10 | |
*** basti__ has quit IRC | 11:10 | |
*** baijum has quit IRC | 11:10 | |
*** Aiste has quit IRC | 11:10 | |
*** redir has quit IRC | 11:10 | |
*** sunoano has quit IRC | 11:10 | |
*** lisppaste6 has quit IRC | 11:10 | |
*** Theuni has quit IRC | 11:10 | |
*** jayaraj has quit IRC | 11:10 | |
*** aclark has quit IRC | 11:10 | |
*** olavgg has quit IRC | 11:10 | |
*** wgrant has quit IRC | 11:10 | |
*** toutpt has quit IRC | 11:10 | |
*** BjornT has quit IRC | 11:10 | |
*** mcdonc has quit IRC | 11:10 | |
*** srichter has quit IRC | 11:10 | |
*** romanofski has quit IRC | 11:10 | |
*** JaRoel|4_ has quit IRC | 11:10 | |
*** jhauser has quit IRC | 11:10 | |
*** JaRoel|4D has quit IRC | 11:10 | |
*** vimes656 has quit IRC | 11:10 | |
*** kaeru has quit IRC | 11:10 | |
*** ARiKA has quit IRC | 11:10 | |
*** multani has quit IRC | 11:10 | |
*** whit has quit IRC | 11:10 | |
*** rocky has quit IRC | 11:10 | |
*** Vejeta has quit IRC | 11:10 | |
*** zagy has quit IRC | 11:11 | |
*** ccomb has quit IRC | 11:11 | |
*** reco has quit IRC | 11:11 | |
*** greenman has quit IRC | 11:11 | |
*** jukart has quit IRC | 11:11 | |
*** J1m has quit IRC | 11:11 | |
*** binseer has quit IRC | 11:11 | |
*** harobed has quit IRC | 11:11 | |
*** __mac__ has quit IRC | 11:11 | |
*** tomislav- has quit IRC | 11:11 | |
*** pelle_ has quit IRC | 11:11 | |
*** runyaga has quit IRC | 11:11 | |
*** kiorky has quit IRC | 11:11 | |
*** junkafarian has quit IRC | 11:11 | |
*** afd__ has quit IRC | 11:11 | |
*** kobold has quit IRC | 11:11 | |
*** malthe|Zzz has quit IRC | 11:11 | |
*** SteveA has quit IRC | 11:11 | |
*** Vq^ has quit IRC | 11:11 | |
*** chaoflow has quit IRC | 11:11 | |
*** mkerrin has quit IRC | 11:11 | |
*** quodt has quit IRC | 11:11 | |
*** andycat has quit IRC | 11:11 | |
*** bigkevmcd has quit IRC | 11:11 | |
*** dunny has quit IRC | 11:11 | |
*** menesis has quit IRC | 11:11 | |
*** andres has quit IRC | 11:11 | |
*** VladDrac has quit IRC | 11:11 | |
*** srichter has joined #zope3-dev | 11:11 | |
*** danfairs has joined #zope3-dev | 11:11 | |
*** JaRoel|4_ has joined #zope3-dev | 11:11 | |
*** menesis has joined #zope3-dev | 11:11 | |
*** nyo has joined #zope3-dev | 11:11 | |
*** junkafarian has joined #zope3-dev | 11:11 | |
*** jhauser has joined #zope3-dev | 11:11 | |
*** pyqwer has joined #zope3-dev | 11:11 | |
*** harobed has joined #zope3-dev | 11:11 | |
*** stub has joined #zope3-dev | 11:11 | |
*** afd__ has joined #zope3-dev | 11:11 | |
*** __mac__ has joined #zope3-dev | 11:11 | |
*** toutpt has joined #zope3-dev | 11:11 | |
*** mkerrin has joined #zope3-dev | 11:11 | |
*** JaRoel|4D has joined #zope3-dev | 11:11 | |
*** quodt has joined #zope3-dev | 11:11 | |
*** vimes656 has joined #zope3-dev | 11:11 | |
*** J1m has joined #zope3-dev | 11:11 | |
*** greenman has joined #zope3-dev | 11:11 | |
*** Theuni has joined #zope3-dev | 11:11 | |
*** zagy has joined #zope3-dev | 11:11 | |
*** kaeru has joined #zope3-dev | 11:11 | |
*** jukart has joined #zope3-dev | 11:11 | |
*** jpcw has joined #zope3-dev | 11:11 | |
*** basti__ has joined #zope3-dev | 11:11 | |
*** jayaraj has joined #zope3-dev | 11:11 | |
*** baijum has joined #zope3-dev | 11:11 | |
*** binseer has joined #zope3-dev | 11:11 | |
*** andycat has joined #zope3-dev | 11:11 | |
*** Jell-O-Fishi has joined #zope3-dev | 11:11 | |
*** aclark has joined #zope3-dev | 11:11 | |
*** tomislav- has joined #zope3-dev | 11:11 | |
*** Vq^ has joined #zope3-dev | 11:11 | |
*** kobold has joined #zope3-dev | 11:11 | |
*** chaoflow has joined #zope3-dev | 11:11 | |
*** SteveA has joined #zope3-dev | 11:11 | |
*** andres has joined #zope3-dev | 11:11 | |
*** VladDrac has joined #zope3-dev | 11:11 | |
*** kiorky has joined #zope3-dev | 11:11 | |
*** malthe|Zzz has joined #zope3-dev | 11:11 | |
*** runyaga has joined #zope3-dev | 11:11 | |
*** bigkevmcd has joined #zope3-dev | 11:11 | |
*** dunny has joined #zope3-dev | 11:11 | |
*** pelle_ has joined #zope3-dev | 11:11 | |
*** mcdonc has joined #zope3-dev | 11:11 | |
*** romanofski has joined #zope3-dev | 11:11 | |
*** BjornT has joined #zope3-dev | 11:11 | |
*** redir has joined #zope3-dev | 11:11 | |
*** Aiste has joined #zope3-dev | 11:11 | |
*** sunoano has joined #zope3-dev | 11:11 | |
*** irc.freenode.net sets mode: +o srichter | 11:11 | |
*** lisppaste6 has joined #zope3-dev | 11:11 | |
*** ktwilight has joined #zope3-dev | 11:11 | |
*** Vejeta has joined #zope3-dev | 11:11 | |
*** multani has joined #zope3-dev | 11:11 | |
*** ARiKA has joined #zope3-dev | 11:11 | |
*** rocky has joined #zope3-dev | 11:11 | |
*** whit has joined #zope3-dev | 11:11 | |
*** wgrant has joined #zope3-dev | 11:11 | |
*** olavgg has joined #zope3-dev | 11:11 | |
*** ccomb has joined #zope3-dev | 11:11 | |
*** reco has joined #zope3-dev | 11:11 | |
*** iham has joined #zope3-dev | 11:13 | |
*** JaRoel|4D has quit IRC | 11:20 | |
*** J1m has quit IRC | 11:20 | |
*** thekryz has joined #zope3-dev | 11:21 | |
*** MJ has quit IRC | 11:23 | |
*** goschtl has joined #zope3-dev | 11:26 | |
*** gc_basti has joined #zope3-dev | 11:30 | |
*** basti__ has quit IRC | 11:30 | |
*** MJ has joined #zope3-dev | 11:30 | |
*** malthe|Zzz is now known as malthe | 11:33 | |
*** menesis has quit IRC | 11:33 | |
*** alga has joined #zope3-dev | 11:36 | |
*** thekryz has left #zope3-dev | 11:38 | |
*** jhauser has quit IRC | 11:41 | |
*** jhauser has joined #zope3-dev | 11:46 | |
*** junkafarian has quit IRC | 11:46 | |
*** reco has quit IRC | 11:52 | |
*** junkafarian has joined #zope3-dev | 11:58 | |
*** agroszer has quit IRC | 11:58 | |
*** menesis has joined #zope3-dev | 12:02 | |
*** regebro has joined #zope3-dev | 12:20 | |
*** menesis has quit IRC | 12:34 | |
*** dunny has quit IRC | 12:38 | |
*** yvl has joined #zope3-dev | 12:42 | |
*** MrTopf has joined #zope3-dev | 12:42 | |
*** hipertracker has joined #zope3-dev | 12:48 | |
*** menesis has joined #zope3-dev | 12:49 | |
*** goschtl_ has joined #zope3-dev | 12:55 | |
*** goschtl has quit IRC | 12:59 | |
*** ignas has joined #zope3-dev | 12:59 | |
*** ignas has quit IRC | 13:04 | |
*** thetet has joined #zope3-dev | 13:15 | |
*** HamerToe has joined #zope3-dev | 13:16 | |
*** HamerToe is now known as HammerToe | 13:16 | |
HammerToe | hi all :) | 13:16 |
---|---|---|
*** HammerToe is now known as HammerToe_ | 13:17 | |
*** agroszer has joined #zope3-dev | 13:17 | |
HammerToe_ | Anyone know how in a simple python demo (ie not running under zope itself) I get getSiteManager to load in a zcml file? | 13:17 |
HammerToe_ | getGlobalSiteManager even :) | 13:17 |
*** __mac__ has quit IRC | 13:18 | |
HammerToe_ | I can manually call gsm.registerAdapter(foo) but I now want to do that in zcml. In zope it automagially loads in the zcml config for me, but I need to know how to manually do it when using zope.component outside of zope | 13:18 |
goschtl_ | HammerToe_: maybe this helps you: http://mail.zope.org/pipermail/grok-dev/2008-December/006742.html | 13:20 |
HammerToe_ | goschtl_, thanks, that gets me part way, but then I get ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/zope', u'adapter') | 13:22 |
goschtl_ | HammerToe_: i think you have to load the configure for zope.component | 13:24 |
HammerToe_ | hrmm... trying to work out how to do that | 13:27 |
bigkevmcd | HammerToe_: we use zope.app.appsetup | 13:29 |
bigkevmcd | but, it's a server app | 13:29 |
bigkevmcd | the config function in there takes a file | 13:30 |
HammerToe_ | ok.. I'm just trying to do this on a simple demo python app... | 13:31 |
HammerToe_ | ie. imagine Hello World written with adapters, and using ZCML to configure them | 13:31 |
HammerToe_ | I have it all working, apart from the ZCML bit... ie I have to register my adapters in python code | 13:32 |
*** HammerToe_ has quit IRC | 13:33 | |
*** menesis has quit IRC | 13:34 | |
*** toutpt_ has joined #zope3-dev | 13:39 | |
*** toutpt has quit IRC | 13:39 | |
*** malthe is now known as malthe|away | 13:48 | |
*** stub has quit IRC | 13:53 | |
*** __mac__ has joined #zope3-dev | 13:55 | |
*** aaronv has joined #zope3-dev | 13:58 | |
*** sunew has joined #zope3-dev | 13:59 | |
*** aaronv has quit IRC | 14:06 | |
*** andycat has quit IRC | 14:08 | |
*** greenman has quit IRC | 14:19 | |
*** menesis has joined #zope3-dev | 14:25 | |
*** ignas has joined #zope3-dev | 14:31 | |
*** gc_basti has quit IRC | 14:32 | |
*** basti__ has joined #zope3-dev | 14:37 | |
*** sunew_ has joined #zope3-dev | 14:40 | |
*** sunew has quit IRC | 14:43 | |
*** JaRoel|4_ has quit IRC | 15:05 | |
*** fairwinds has joined #zope3-dev | 15:11 | |
*** JaRoel|4D has joined #zope3-dev | 15:15 | |
*** projekt01 has joined #zope3-dev | 15:22 | |
*** alga has quit IRC | 15:26 | |
*** pelle__ has joined #zope3-dev | 15:31 | |
*** baijum has quit IRC | 15:31 | |
*** pelle_ has quit IRC | 15:34 | |
*** mgedmin has joined #zope3-dev | 15:37 | |
*** danfairs has quit IRC | 15:41 | |
*** danfairs has joined #zope3-dev | 15:41 | |
*** alga has joined #zope3-dev | 15:46 | |
pyqwer | Hi! I have a vocabulary, in which I need a reference to the current context. However, the context is set to "None". Any clue why and what I can do against it? | 15:47 |
pyqwer | (in z3c.form) | 15:48 |
*** benji has joined #zope3-dev | 15:48 | |
goschtl_ | pyqwer: do you use zope.schema.vocabulary | 15:50 |
pyqwer | Yes | 15:50 |
goschtl_ | pyqwer: you should try instead http://pypi.python.org/pypi/zc.sourcefactory/0.4.0. I think this works with contextual vocabs.. | 15:51 |
pyqwer | goschtl_: And would that also work with z3c.form? | 15:52 |
goschtl_ | I´m not 100 % sure but i think this will work | 15:52 |
pyqwer | goschtl_: Ok, I'll try, thanks! | 15:52 |
__mac__ | pyqwer: only the trunk-version of z3c.form works with sources | 15:53 |
pyqwer | __mac__: Ah, good to know - and also with zc.sourcefactory? (Or is this the only source-package available?) | 15:54 |
__mac__ | pyqwer: also with zc.sourcefactory | 15:54 |
pyqwer | Great, thanks! | 15:54 |
__mac__ | z3c.form 1.9 only supports vocabularies | 15:55 |
*** sunew__ has joined #zope3-dev | 15:55 | |
*** sunew_ has quit IRC | 15:55 | |
pyqwer | Anyway, interesting that vocabularies don't provide the context... | 15:55 |
nyo | pyqwer: zope.schema.vocabulary does uses context and the IVocabularyFactory even requires context to be specified IIRC | 15:56 |
nyo | pyqwer: pyqwer did you called field.bind(context) for the field that uses the vocabulary? | 15:57 |
pyqwer | nyo: Hmmm, don't know - this should probably be done in the z3c.form package? | 15:57 |
pyqwer | But, well, maybe the field has no assigned interface, so maybe that's the problem. | 15:58 |
nyo | pyqwer: yeh, it should be) | 15:58 |
nyo | pyqwer: hm, that may be true | 15:58 |
pyqwer | But I could then try to manually bind it, with fields['myfield'].bind(view.context), e.g. in the update() function? | 15:59 |
nyo | pyqwer: no, the 'fields' attribute of the form stores the "form fields" | 15:59 |
*** stub has joined #zope3-dev | 15:59 | |
nyo | pyqwer: but for that you could get the schema field as fields['myfield'].field | 15:59 |
nyo | pyqwer: however that's strange, because "select" widget uses z3c.form's terms and ChoiceTerms binds a field on init | 16:00 |
*** lurkymclurkleton has joined #zope3-dev | 16:01 | |
*** jamur2 has joined #zope3-dev | 16:01 | |
*** lurkymclurkleton has quit IRC | 16:01 | |
*** lurkymclurkleton has joined #zope3-dev | 16:02 | |
*** cshenton has joined #zope3-dev | 16:06 | |
pyqwer | nyo: Interesting - I now put the bind() routine at the beginning of my update() method. And the vocabulary is now called for two times (interesting, why). The first time with the context, and then a second time without again. | 16:07 |
pyqwer | And this second call happens somewhere in the view's super(MyView, self).update() method. | 16:07 |
*** J1m has joined #zope3-dev | 16:08 | |
*** kaeru has quit IRC | 16:10 | |
*** binseer has quit IRC | 16:13 | |
pyqwer | nyo: I think I found out why - the context is set to None during the z3c.form's bind() operation, thus it's None. And I assume the context may be None due to "ignoreContext=True". | 16:15 |
nyo | pyqwer: ah, the ignoreContext is True | 16:20 |
nyo | pyqwer: why should it bind to context then) | 16:20 |
pyqwer | nyo: Hmmm, that's complicated to say - The context for my form is different from view.context, but in the vocabulary, I need view.context. | 16:27 |
nyo | pyqwer: i thought that's getContent method is for | 16:28 |
nyo | ah | 16:28 |
nyo | what "view" in view.context" means? | 16:28 |
pyqwer | nyo: I mean, "self.context" in my view class. | 16:31 |
pyqwer | Yes, getContent is for getting the "form context". | 16:31 |
*** malthe|away is now known as malthe | 16:31 | |
pyqwer | In my design, I use the ZODB (and thus the context) as a container for so-called "applets", little objects that have views. | 16:32 |
pyqwer | And these views load the actual content (via SQLAlchemy), which is then the "form-context". | 16:34 |
nyo | pyqwer: hm.. so getContent should work for that. or i just don't understand something:) | 16:35 |
*** quodt has quit IRC | 16:35 | |
nyo | pyqwer: ah, I re-read chat history:), you need "applet" as your vocabulary context | 16:36 |
pyqwer | nyo: Hmmm, no, getContent() returns the database-object, while the vocabulary needs the "applet context", which is "self.context" in my view. | 16:36 |
nyo | pyqwer: hmm, then one thing you could do is subclass SelectWidget and override the updateTerms method | 16:38 |
nyo | pyqwer: or design a vocabulary to make it work with your sqlalchemy-objects | 16:38 |
pyqwer | nyo: Ah, that would be an idea, yes. | 16:38 |
nyo | pyqwer: or just provide an alternative ITerms adapter for your field | 16:39 |
nyo | pyqwer: (so you won't need to subclass a widget) | 16:39 |
pyqwer | nyo: That could also work. | 16:39 |
pyqwer | nyo: Thanks for the hints, that's pointing me into a new direction! | 16:40 |
nyo | pyqwer: np) | 16:41 |
nyo | pyqwer: see z3c.form.widget.SequenceWidget and its updateTerms method | 16:41 |
*** srichter has quit IRC | 16:47 | |
*** goschtl_ has quit IRC | 16:50 | |
*** basti__ has quit IRC | 16:54 | |
*** lurkymclurkleton has quit IRC | 16:54 | |
*** lurkymclurkleton has joined #zope3-dev | 16:55 | |
*** lurkymclurkleton has quit IRC | 16:55 | |
*** lurkymclurkleton has joined #zope3-dev | 16:55 | |
*** menesis1 has joined #zope3-dev | 17:00 | |
*** menesis has quit IRC | 17:00 | |
*** menesis1 is now known as menesis | 17:00 | |
*** jukart has quit IRC | 17:04 | |
*** srichter has joined #zope3-dev | 17:05 | |
*** __mac__ has quit IRC | 17:05 | |
*** ChanServ sets mode: +o srichter | 17:05 | |
*** cshenton_ has joined #zope3-dev | 17:09 | |
*** hexsprite has joined #zope3-dev | 17:11 | |
*** menesis has quit IRC | 17:17 | |
*** malthe is now known as malthe|away | 17:21 | |
*** rocky has quit IRC | 17:23 | |
*** cshenton has quit IRC | 17:25 | |
*** lucielejard has joined #zope3-dev | 17:31 | |
*** srichter has quit IRC | 17:35 | |
*** srichter has joined #zope3-dev | 17:35 | |
*** reco has joined #zope3-dev | 17:35 | |
*** iham is now known as iham|away | 17:36 | |
*** stub has quit IRC | 17:37 | |
*** strichter has joined #zope3-dev | 17:46 | |
*** iham|away has quit IRC | 17:46 | |
*** srichter has quit IRC | 17:46 | |
*** menesis has joined #zope3-dev | 17:49 | |
*** sunew has joined #zope3-dev | 17:54 | |
*** jayaraj has quit IRC | 17:57 | |
*** agroszer_ has joined #zope3-dev | 18:01 | |
*** rmarianski has joined #zope3-dev | 18:03 | |
*** sunew__ has quit IRC | 18:10 | |
*** bigkevmcd has quit IRC | 18:13 | |
*** sunew has quit IRC | 18:13 | |
*** bigkevmcd has joined #zope3-dev | 18:13 | |
*** sunew has joined #zope3-dev | 18:13 | |
*** zagy has quit IRC | 18:14 | |
*** agroszer has quit IRC | 18:19 | |
*** agroszer_ is now known as agroszer | 18:20 | |
*** sm has joined #zope3-dev | 18:23 | |
*** rocky has joined #zope3-dev | 18:23 | |
*** davisagli has joined #zope3-dev | 18:31 | |
*** nyo has quit IRC | 18:38 | |
*** sunew has quit IRC | 18:41 | |
*** menesis has quit IRC | 18:49 | |
*** olavgg has quit IRC | 18:50 | |
*** olavgg has joined #zope3-dev | 18:50 | |
*** menesis has joined #zope3-dev | 18:51 | |
*** whit has quit IRC | 18:55 | |
*** menesis has quit IRC | 18:57 | |
*** toutpt_ has quit IRC | 18:59 | |
*** whit has joined #zope3-dev | 18:59 | |
*** menesis has joined #zope3-dev | 19:00 | |
*** yvl has quit IRC | 19:01 | |
*** JaRoel|4D has quit IRC | 19:05 | |
*** adrienbodiot has joined #zope3-dev | 19:05 | |
*** adrienbodiot has left #zope3-dev | 19:05 | |
*** alga has quit IRC | 19:19 | |
*** pyqwer has quit IRC | 19:19 | |
*** jukart has joined #zope3-dev | 19:20 | |
*** menesis has quit IRC | 19:29 | |
*** vimes656 has quit IRC | 19:31 | |
*** menesis has joined #zope3-dev | 19:31 | |
*** ktwilight_ has joined #zope3-dev | 19:32 | |
*** nyo has joined #zope3-dev | 19:33 | |
*** afd__ has quit IRC | 19:37 | |
*** hazmat has joined #zope3-dev | 19:40 | |
*** ChanServ sets mode: +o hazmat | 19:40 | |
*** danfairs has quit IRC | 19:42 | |
*** ktwilight has quit IRC | 19:45 | |
*** projekt01 has quit IRC | 19:45 | |
*** mkerrin has quit IRC | 19:48 | |
*** menesis has quit IRC | 19:50 | |
*** menesis has joined #zope3-dev | 19:51 | |
junkafarian | how can i get the full request url? eg http://hostname/foo/bar.html | 19:53 |
junkafarian | do i have to compile it from the various request variables or is there a simpler way? | 19:54 |
*** _srichter has joined #zope3-dev | 19:56 | |
agroszer | what does str(request.URL) return? | 19:57 |
junkafarian | agroszer: that looks good thanks :) | 19:59 |
agroszer | I think query string won't be there though | 19:59 |
junkafarian | thats fine, not processing that | 20:01 |
*** JaRoel|4D has joined #zope3-dev | 20:02 | |
*** _srichter is now known as srichter | 20:03 | |
*** ChanServ sets mode: +o srichter | 20:03 | |
*** iham has joined #zope3-dev | 20:03 | |
*** jukart has quit IRC | 20:04 | |
*** hipertracker has quit IRC | 20:05 | |
*** ignas has quit IRC | 20:07 | |
*** tomus has joined #zope3-dev | 20:07 | |
*** Theuni has quit IRC | 20:14 | |
*** mgedmin has quit IRC | 20:15 | |
*** menesis has quit IRC | 20:19 | |
*** strichter has quit IRC | 20:19 | |
*** timte has joined #zope3-dev | 20:20 | |
*** nathany has joined #zope3-dev | 20:22 | |
*** aaronv has joined #zope3-dev | 20:23 | |
*** jukart has joined #zope3-dev | 20:28 | |
*** tomus has quit IRC | 20:33 | |
*** MJ has quit IRC | 20:34 | |
*** vimes656 has joined #zope3-dev | 20:37 | |
*** projekt01 has joined #zope3-dev | 20:43 | |
*** harobed has quit IRC | 20:43 | |
*** cshenton has joined #zope3-dev | 20:49 | |
*** projekt01 has quit IRC | 20:53 | |
*** thetet has left #zope3-dev | 20:56 | |
*** MrTopf has quit IRC | 20:56 | |
*** jukart has quit IRC | 21:02 | |
*** pcardune has joined #zope3-dev | 21:03 | |
*** cshenton_ has quit IRC | 21:05 | |
*** jhauser has quit IRC | 21:18 | |
*** alecm has joined #zope3-dev | 21:37 | |
*** J1m has quit IRC | 21:56 | |
*** J1m has joined #zope3-dev | 21:59 | |
*** iham is now known as iham|away | 22:11 | |
*** thetet has joined #zope3-dev | 22:32 | |
*** J1m has quit IRC | 22:48 | |
*** toutpt has joined #zope3-dev | 22:50 | |
*** tarek has joined #zope3-dev | 22:52 | |
*** __mac__ has joined #zope3-dev | 22:53 | |
*** J1m has joined #zope3-dev | 22:54 | |
*** __mac__ has quit IRC | 22:56 | |
*** hazmat has quit IRC | 23:01 | |
*** junkafarian has quit IRC | 23:13 | |
*** lurkymclurkleton has quit IRC | 23:14 | |
*** lurkymclurkleton has joined #zope3-dev | 23:15 | |
*** lurkymclurkleton has quit IRC | 23:15 | |
*** lurkymclurkleton has joined #zope3-dev | 23:15 | |
*** markusleist has joined #zope3-dev | 23:17 | |
*** dunny has joined #zope3-dev | 23:32 | |
*** agroszer has quit IRC | 23:33 | |
*** greenman has joined #zope3-dev | 23:34 | |
*** vimes656 has quit IRC | 23:35 | |
*** malthe|away is now known as malthe | 23:39 | |
*** toutpt has quit IRC | 23:56 | |
*** benji has quit IRC | 23:57 | |
*** pelle__ has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!