cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arsen A. Gutsal" <ar...@softsky.com.ua>
Subject Re: Validation problem on CForms fd:struct
Date Mon, 14 Mar 2005 20:19:24 GMT
I'm using 2.6.1.
Validation does not happen for widgets in current struct.
They displays, even [*] displays on each widget means that CForm
template generator correctly handles "required" attribute... But
validation does not works. Form just submits and flow exits.

On Mon, 2005-03-14 at 20:11 +0000, Tim Larson wrote:
> On Mon, Mar 14, 2005 at 09:57:49PM +0200, Arsen A. Gutsal wrote:
> > Hello.
> > I've the form, which hosts fd:union and few fd:struct which shows by
> > ft:case statement.
> > fd:struct hosts few fd:field widgets which has required="true" on them.
> > But form SUBMITS always when submit button is clicked. 
> > Without any validation.
> > Have another forms absolutelly similar but without fd:struct, fd:union.
> > Its works fine!
> > What I'm doing wrong? 
> 
> Validation should only happen for widgets in the current union case,
> not for widgets in other cases.  Is this different from what you are
> observing?  Which version of Cocoon are you running?
> 
> --Tim Larson
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message