Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-09 Thread Stephan Richter
On Friday 08 February 2008, Hermann Himmelbauer wrote: > Right, that seems to be a perfect solution. Btw., it seems that there are > quite some generic widget/field-patterns that a lot of people are needing - > such as the PasswordConfirmationWidget. Or, in my case I need a > special "Email" field,

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-08 Thread Stephan Richter
On Friday 08 February 2008, Hermann Himmelbauer wrote: > What's your opinion on this, Stephan? One important design goal for z3c.form is not to be JS dependent. This is what we developed z3c.formjs for. Also, remember that a widget is something different in z3c.form. Taking the E-mail widget e

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-08 Thread Hermann Himmelbauer
Am Freitag, 8. Februar 2008 09:33 schrieb Christophe Combelles: > Hermann Himmelbauer a écrit : > > Am Freitag, 8. Februar 2008 00:48 schrieb Stephan Richter: > > Right, that seems to be a perfect solution. Btw., it seems that there are > > quite some generic widget/field-patterns that a lot of peo

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-08 Thread Christophe Combelles
Hermann Himmelbauer a écrit : Am Freitag, 8. Februar 2008 00:48 schrieb Stephan Richter: On Thursday 07 February 2008, Christophe Combelles wrote: Maybe the best way to have a password validation would be to let the PasswordWidget display two password fields and check itself the values are the

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Hermann Himmelbauer
Am Freitag, 8. Februar 2008 00:48 schrieb Stephan Richter: > On Thursday 07 February 2008, Christophe Combelles wrote: > > Maybe the best way to have a password validation would be to let the > > PasswordWidget display two password fields and check itself the values > > are the same? > > Bingo. :-)

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Hermann Himmelbauer
Am Freitag, 8. Februar 2008 01:33 schrieb Christophe Combelles: > Stephan Richter a écrit : > > On Thursday 07 February 2008, Christophe Combelles wrote: > >> Maybe the best way to have a password validation would be to let the > >> PasswordWidget display two password fields and check itself the va

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Christophe Combelles
Stephan Richter a écrit : On Thursday 07 February 2008, Christophe Combelles wrote: Maybe the best way to have a password validation would be to let the PasswordWidget display two password fields and check itself the values are the same? Bingo. :-) I Would implement a PasswordConfirmationWidge

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Stephan Richter
On Thursday 07 February 2008, Christophe Combelles wrote: > Maybe the best way to have a password validation would be to let the > PasswordWidget display two password fields and check itself the values are > the same? Bingo. :-) I Would implement a PasswordConfirmationWidget. Then you have a spec

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Rudá Porto Filgueiras
On Feb 7, 2008 4:12 PM, Christophe Combelles <[EMAIL PROTECTED]> wrote: > Maybe the best way to have a password validation would be to let the > PasswordWidget display two password fields and check itself the values are > the same? Maybe PasswordCheckWidget derived from PasswordWidget with this v

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Christophe Combelles
Maybe the best way to have a password validation would be to let the PasswordWidget display two password fields and check itself the values are the same? Christophe Combelles a écrit : Hermann Himmelbauer a écrit : Hi, I'm creating a simple user-administration, Hi, I'm currently doing exact

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Christophe Combelles
Hermann Himmelbauer a écrit : Hi, I'm creating a simple user-administration, Hi, I'm currently doing exactly the same thing :) (user management with z3c.form, and the class for my users derives from zope.app.authentication.principalfolder.InternalPrincipal ) which requires the user to type

[Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Hermann Himmelbauer
Hi, I'm creating a simple user-administration, which requires the user to type in the password and a password confirmation. For that, I have an interface which contains the attributes "password" and "password_confirm". Of course, only the password is stored as an object attribute. When I now us