Gabor Bartha wrote:

> Hi,
>
> I've got a page with <input> parameters, I want to post it via 
> formvalidator.
> I've got the descriptor.xml, with the required parameters. eg:
>
> <?xml version="1.0"?>
> <root>
>   <parameter name="persons" type="long" min="2" default="9" 
> nullable="yes"/>
>
>   <constraint-set name="car-reservation">
>       <validate name="persons"/>
>    </constraint-set>
> </root>
>
> If I don't give value to the persons <input> parameter (at the site 
> into the textbox) the formvalidator drop the default page back, not 
> the next page.
>
> I don't understand Why? - I defined it with nullable=yes.
>
> So - I mean - if I define a parameter at the descriptor.xml I need to 
> post it with an exact value?


Do you have latest Cocoon release?

Vadim


> Thanks,
> Gabor





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to