> > My flow validator function begins with :
> > <code>
> > if (!form.getWidget().isValid()) {
> >      return false;
> > }
> > </code>
> > 
> > But even when the form seems to be valid, isValid() returns 
> false, and I can never run 
> > "business validation" code after the test...
> 
> Usually this is caused by the form template not including a 
> widget which is marked
> with 'required="true"'.  Because the widget is not in the 
> template, it is not returned
> in the form post, and thus is set to null during 
> readFromRequest() causing the form
> (at least the visible parts that were included in the 
> template) to look valid while
> there is actually still an invalid widget.


[EMAIL PROTECTED]&
I have this too! Most of my forms don't have "required=true" widget, due to
the nature of the data. How can this be solved?

Bye, Helma

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to