Re: [Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-08 Thread Hermann Himmelbauer
Am Mittwoch, 8. August 2007 05:45 schrieb Stephan Richter: On Wednesday 01 August 2007 13:15, Hermann Himmelbauer wrote: In one of my forms, one field is defined like that: The entered value is not a valid integer literal. Interestingly, if I set 1,123 as value, zope outputs:

[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

Re: [Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-08 Thread Stephan Richter
On Wednesday 08 August 2007 05:26, Hermann Himmelbauer wrote: Now the same validation problems occur for this input field. Maybe the reason for this is my Zope3 version? I still use Zope-3.3.1. The z3c packages are all up to date, I use the latest SVN versions. Zope 3.3.1 is the problem. The

Re: [Zope3-Users] zc.buildout beginner's question

2007-08-08 Thread Andreas Reuleaux
Never mind: I put some Makefiles with recursive clean targets in mydemo. Also I have found z3.log in parts/instance. Thanks, Andreas ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] a question about zope.app.security.principallogging.PrincipalLogging

2007-08-08 Thread Shailesh Kumar
Hi, zope.app.security.principallogging.PrincipalLogging looks like: class PrincipalLogging(object): implements(ILoggingInfo) def __init__(self, principal): self.principal = principal def getLogMessage(self): return str(self.principal.id) It requires that

Re: [Zope3-Users] z3c.form: How to hide a button/define action without a button?

2007-08-08 Thread Stephan Richter
On Monday 06 August 2007 10:41, Hermann Himmelbauer wrote: Is there a way simple way to accomplish this? Perhaps via a hidden=True   attribute in the buttonAndHandler decorator method? I would override the ``updateActions()`` method in the form as follows: def updateActions(self):