Re: [Zope3-dev] Zope3 forum
On Tuesday 16 August 2005 04:45, Arthur (ccube) wrote: Is there any CMFBoard like forum for Zope3? or anyone is developing it? No, I do not think so, but the messageboard package that is developed as part of my book has a couple of very cool features, so this might be a good starting point. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Zope3 forum
Tuesday, August 16, 2005, 12:27:09 PM, you wrote: Hallo, On Tuesday 16 August 2005 04:45, Arthur (ccube) wrote: Is there any CMFBoard like forum for Zope3? or anyone is developing it? I would be very interested in something like this too! I'm still looking for a good, threaded forum, which may keep with more then 25.000 messages. Bye Marcus -- And in the end it's not the years in your life that count. It's the life in your years. (Abraham Lincoln) PGP-Fingerprint: 4DD7 5D04 5706 362F 1237 85A8 CBF9 F6ED 0C54 74F2 Das LARP-Portal im Internet: LARP-Welt: http://www.larp-welt.de/ Mein Drachenseitchen: http://www.colorful-sky.de/ pgpyo4aaCXQOx.pgp Description: PGP signature ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] XML Schema support on Zope3
On 8/12/05, Julien Anguenot [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I started to add an XML Schema suppport on Zope3. It's within the z3ecm repository there : http://svn.nuxeo.org/trac/pub/browser/z3lab/zope/xmlschema/trunk/ You may check my related blog entry there : http://blogs.nuxeo.com/sections/blogs/julien_anguenot/2005_08_12_xml_schema_support_for Note it's using lxml as well (I love lxml :)) Having XForms support after this will be a lot easier ;) Comments / help are welcome. J. - -- Julien Anguenot | Nuxeo RD (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFC/OFIGhoG8MxZ/pIRAvY+AKCEcPJb7CrM73xdm5aUgrW2gEbexwCgiQwu m1edCBXaQIVKQt4lFjxRwe0= =S8XP -END PGP SIGNATURE- ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/alecmunro%40gmail.com If you will excuse the terminology, this is hot. :) I'm sure there are limitations, as Gary suggested, but simply having the schemas readily available in an XML format is great. On one hand, this gives me something Flash can use so it knows what to do with the data I pass it. That alone is very appealing. However we also have quite a bit of XML content that I want to import to Zope in the near future. If I'm able to use the existing schemas for that, that will be great. Thanks! Alec Munro ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: Get a template resource object from code.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan Carlsson wrote: No lock on the Zope3-users list I turn here. How do I get a page template resource object define in a named layer from Python code? Look at what the handler for the browser:resource directive does: zope.app.component.metaconfigure.resource Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAmCx+gerLs4ltQ4RArQsAJ9m+wLLLPCbtKVs69mCNQOqThUXmwCbBC/w K2U/5EIkHF+2FOM81mmHTTI= =RMAC -END PGP SIGNATURE- ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Re: Get a template resource object from code.
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan Carlsson wrote: No lock on the Zope3-users list I turn here. How do I get a page template resource object define in a named layer from Python code? Look at what the handler for the browser:resource directive does: zope.app.component.metaconfigure.resource Thanks Tres, Already done that. It registers the resource as an adapter on the global site manger. Problem is I can't get the adapter, but gets an error. The registration is somewhat strange in it self (adapts from layer interface to Interface interface???). I cut and paste my post from the Zope3-users list: Ok, so far I figured out the following: 1. Resources gets registered as adapters in the Global Site Manager. 2. The adapter is registerd to adapt from the current layer interface (defaults to IDefaultBrowserLayer) to the Interface interface (strange, why is that so I wounder?) 3. The layer interface I can look up byt calling: zapi.getUtility(ILayer, 'my_layer') Ok, fine. So from my View class I try the following: gsm=zapi.getGlobalSiteManager() layer = zapi.getUtility(ILayer, 'my_test') adapter=gsm.queryAdapter(layer, Interface, 'test_me.html') But this doesn't work, I get the following error: Error type: exceptions.KeyError Error object: weakref at 02545900; to 'Surrogate' at 0210CAF0 File C:\Python24\Lib\site-packages\zope\publisher\publish.py, line 138, in publish File C:\Python24\Lib\site-packages\zope\app\publication\zopepublication.py, line 164, in callObject File C:\Python24\Lib\site-packages\zope\publisher\publish.py, line 113, in mapply File C:\Python24\Lib\site-packages\zope\publisher\publish.py, line 119, in debug_call File C:\Zope\Zope31\lib\python\wfc\browser\metasite.py, line 44, in __call__ adapter=gsm.queryAdapter(layer, Interface, 'test_me.html') File C:\Python24\Lib\site-packages\zope\component\site.py, line 70, in queryAdapter Set all module' __file__ attribute to an absolute path File C:\Zope\Zope31\lib\python\zope\interface\adapter.py, line 414, in queryAdapter return self.adapter_hook(interface, object, name, default) File C:\Zope\Zope31\lib\python\zope\interface\adapter.py, line 404, in adapter_hook factory = self.lookup1(providedBy(object), interface, name) File C:\Zope\Zope31\lib\python\zope\interface\adapter.py, line 392, in lookup1 return self.lookup((required,), provided, name, default) File C:\Zope\Zope31\lib\python\zope\interface\adapter.py, line 327, in lookup byname = s.get(provided) File C:\Zope\Zope31\lib\python\zope\interface\adapter.py, line 227, in get self.clean() File C:\Zope\Zope31\lib\python\zope\interface\adapter.py, line 146, in clean base.unsubscribe(self) File C:\Zope\Zope31\lib\python\zope\interface\adapter.py, line 248, in unsubscribe del self.dependents[dependent] File C:\Python24\lib\weakref.py, line 216, in __delitem__ del self.data[ref(key)] Can somebody sched a light on this problem? Regards, Johan -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] strange assertion error
I'm developing a product with three Classes. The first two run well and passed the unittest. However, the third one is the same as the other 2 classes except I changed a Byte field to a TextLine. However, this field is not included in the tests at all. I cannot pass the test for the new Class and have AssertionError. I found a msg said that we should not run the test as root: http://www.mail-archive.com/zope3-users@zope.org/msg00398.html Is it true we shouldn't run tests as root? if so, why? Thanks Arthur ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] zope3
can anyone help me contact Philipp von Weitershausen since I wanna ask him to grant me a new zh_HK (chinese Hong Kong) translation for Zope3 thanks much Arthur ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] strange assertion error
[Arthur (ccube) [EMAIL PROTECTED]] ... Is it true we shouldn't run tests as root? if so, why? Because you should never run anything as root unless you have to. root has enormous privileges most things don't need, so running arbitrary programs as root opens massive security holes. One of Zope's zdaemon tests in particular doesn't get the restricted permissions it tests for if you run as root, so that test fails if you do run as root. ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] How to proceed for user registration in zope3 framework
Title: How to proceed for user registration in zope3 framework Hi, I am developing a site which needs a user registration feature. Does any body worked on this feature in zope3 (or) how can i proceed for this feature? Please help regarding this issue. Ant inputs this mail kindly appreciable. Regards, Nagendra Kumar ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com