[Zope3-Users] Some SOAP-Zope questions!

2007-08-02 Thread Christian Klinger
Hi, i experiment with SOAP support for Zope. I ´ve found the package http://svn.zope.org/soap/trunk/. After testing and exploring this package a got some questions about it. General Questions: - I see no changes since 1 year. Does someone use this package? - Are there any other SOAP-Zope

[Zope3-Users] Howto add roles to my principal

2007-08-08 Thread Christian Klinger
Hi, i try to fetch users from an rdbms to authenticate them in zope3. I have created a custom AuthenticatorPlugin which reads the user from an sqltable and return the PrincipalInfo when username password is valid. This works so far. Now the Problem: I have role information in my rdbms table

[Zope3-Users] Re: Howto add roles to my principal

2007-08-08 Thread Christian Klinger
Christian Klinger schrieb: Hi, i try to fetch users from an rdbms to authenticate them in zope3. I have created a custom AuthenticatorPlugin which reads the user from an sqltable and return the PrincipalInfo when username password is valid. This works so far. Now the Problem: I have role

[Zope3-Users] Re: How to assign a role or permission to users programatically?

2007-09-04 Thread Christian Klinger
Hi Yuan, iirc you can subscribe to the zope.app.authentication.interfaces.IAuthenticatedPrincipalCreated event. In your event you can do something like this: def authenticated_principal_created(event): principal = event.principal principal.groups.append('zope.Manager') hth

[Zope3-Users] Re: Confirming member generated objects?

2007-09-04 Thread Christian Klinger
Hi Maken, maybe the hurry.workflow fits in your usecase. See the documentation here http://codespeak.net/svn/z3/hurry.workflow/trunk/src/hurry/workflow/workflow.txt Christian Hi! In many applications members can add content but with the restriction that it needs to be confirmed by a

[Zope3-Users] Choice Field with MultiCheckBoxWidget?

2007-10-02 Thread Christian Klinger
Hi, i try to have a form with an ChoiceField rendered as a MultiCheckBoxWidget. interfaces.py - berechtigung = schema.Choice(title=_(u'Berechtigung'), description=_(u'Berechtiung'),

[Zope3-Users] Re: Getting started with a zope 3 install as eggs

2007-10-31 Thread Christian Klinger
Jesper, do you know zopeproject http://cheeseshop.python.org/pypi/zopeproject/0.4.1 with the help of zopeproject you will get a buildout where you can specifiy further dependencies in your application. HTH Christian Good afternoon list, I currently have a Zope 3.3.1 installation (tarball)

[Zope3-Users] i18n question

2007-11-12 Thread Christian Klinger
Hi, what is the recommended way in translating an already existing msgid. For example: there a some translations in zope/app/locales/de/LC_MESSAGES/zope.po. But i don´t like the german translations. Should i write my new translations in this file? Or is it possible to do this in my own

[Zope3-Users] Re: mysql connection

2007-11-14 Thread Christian Klinger
Hi Roman, it depends on what you are trying to do: When you want a zope database adapter for mysql: look here http://svn.zope.org/mysqldbda/ If you want ORM than try zalchemy. http://pypi.python.org/pypi/z3c.zalchemy/0.2.1 If you need a kind of SQL-Expression than take a look at

[Zope3-Users] Re: mysql connection

2007-11-14 Thread Christian Klinger
Roman Budzianowski schrieb: On Nov 14, 2007, at 12:01 AM, Christian Klinger wrote: Hi Roman, it depends on what you are trying to do: When you want a zope database adapter for mysql: look here http://svn.zope.org/mysqldbda/ Yes. Maybe it's a question about zopeproject. I added mysqldbda

[Zope3-Users] Five Formlib and validator

2007-11-21 Thread Christian Klinger
Hi, i try to make a formlib action with an validator. My environment is Zope 2.10.4 Five 1.4.4 plone.app.form branch 2.5 This is my method: def validate_change_passwd(self, action, data): errors = self.validate(action, data) # test password from

[Zope3-Users] Re: XML schema definitions,zope.schema and z3c.form

2008-05-06 Thread Christian Klinger
Hi Nylan, we are working during the grokkerdam sprint on the same topic. We used userschema, and ore.alchemist as exampels. I think userschema has some xml thing. Hope this helps, Christian http://agendaless.com/Members/tseaver/software/userschema http://pypi.python.org/simple/ore.alchemist/

[Zope3-Users] Re: XML schema definitions,zope.schema and z3c.form

2008-05-16 Thread Christian Klinger
Martin Aspeli schrieb: Christian Klinger wrote: Hi Nylan, we are working during the grokkerdam sprint on the same topic. Interesting! Can you give us some more information? Martin Hi Martin, we are working on a automatic form generation out of sqlalchemy. We used userschema

Re: [Zope3-Users] Automatic schema field sanitation?

2008-12-02 Thread Christian Klinger
Hi Dennis, i think you can try to add a new Field and a corresponding Widget for your needs. I think this could be a good starting poing. http://wiki.zope.org/zope3/fieldsandwidgets.html If you have further questions - please ask. Hope this helps. - Christian Hi, I would like to define

[Zope3-Users] Testbrowser returns escaped html

2009-03-31 Thread Christian Klinger
Hello everybody, i run into a problem by testing a megrok.addon. I setup serveral tests in this package in try to test these with zope.testbrowser. Unfortunatly i don´t get *real* html back. This means i got always escaped html instead of unsecaped html in browser contents. This is a error from

Re: [Zope3-Users] Testbrowser returns escaped html

2009-04-01 Thread Christian Klinger
Hi, Sorry for the noise, i made a stupid typo. Thanks, Christian. Hello everybody, i run into a problem by testing a megrok.addon. I setup serveral tests in this package in try to test these with zope.testbrowser. Unfortunatly i don´t get *real* html back. This means i got always