cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph <pjos...@gmail.com>
Subject form validation bug re. the aggregate field?
Date Tue, 06 Jan 2009 19:24:50 GMT
Hi,

(Using Cocoon 2.1.7)

I have a form with an aggregate field whose "required" property is set 
to "false" like so:

<fd:aggregatefield id="myAggregate" required="false">

I also have a save button that is set to validate the other fields whose 
required property is "true" like so:
   <fd:submit id="save" command="save" validate="true"/>

The net result is that I still have to put something into the aggregate 
field before it will save--else it simply flashes the form on the screen 
without saving anything and without entering the flow script.

Once I set the save command to NOT validate, then I don't have to fill 
in the aggregate field.

Is there some bug where the validate= "true" does not play with the 
aggregate field, always expecting it to be set to some value?

thx
Paul





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


Mime
View raw message