Re: Re: Re: Proposal: Forms and BoundForms

2006-09-18 Thread James Bennett
On 9/18/06, James Bennett <[EMAIL PROTECTED]> wrote: > greater-than sign (SHORTTAG NET, the particular flavor of SHORTTAG in > this example, dictates that a single forward slash constitutes the > closing of the element I mistyped that and sent too soon; the slash actually closes the tag, not th

Re: Re: Proposal: Forms and BoundForms

2006-09-18 Thread James Bennett
On 9/18/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > Of course, all this is based on my assumption that something like this: > > > > is invalid as HTML4, but I haven't verified that HTML4 can't have self > closing tags. It's valid, but it doesn't mean the same thing it does in XHTML; in HTM

Re: Re: Proposal: Forms and BoundForms

2006-09-15 Thread Scott Paul Robertson
On Fri, Sep 15, 2006 at 09:25:37PM -0500, James Bennett wrote: > > On 9/15/06, Scott Paul Robertson <[EMAIL PROTECTED]> wrote: > > Inter-field dependency. For example: > > Most of this looks like it can be much more flexibly handled by the > already-available validator syntax (which, I assume, wi

Re: Re: Proposal: Forms and BoundForms

2006-09-15 Thread James Bennett
On 9/15/06, Scott Paul Robertson <[EMAIL PROTECTED]> wrote: > Inter-field dependency. For example: Most of this looks like it can be much more flexibly handled by the already-available validator syntax (which, I assume, will be finishing its migration into the model system). -- "May the forces

Re: Re: Proposal: Forms and BoundForms

2006-09-13 Thread Joseph Kocherhans
On 9/13/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > > (I'm not an official "dev" so I hope it's not considered inappropriate > of me to provide my feedback.) It's not inappropriate at all. :) > Instead of the assumption that bind() validates, why not have an > is_valid() method that assumes bind

Re: Re: Proposal: Forms and BoundForms

2006-09-13 Thread Joseph Kocherhans
On 9/13/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > Joseph Kocherhans wrote: > > Assumptions: form.bind(data) does *not* return a BoundForm. bind does > > the validation and probably populates form.errors or .errors() or > > whatever. bind returns True or False depending on whether validation