Hi,
I have installed the cocoon-2.01 release (migration from 2-1dev) and i'm
suprized to see that the form validator nullable tag does not work with a
string attribute.
Even if i put a nullable="yes", the field MUST be filled otherwise the
ValidatorAction failed !!
Anybody has an idea ?
Do i upgrade the jar file ?
Any information ?
Sincerly Patrick
The descriptor file :
<parameters-descriptor>
<parameter name="maison1" type="string" nullable="yes"/>
<constraint-set name="myset">
<validate name="maison1"/>
</constraint-set>
</parameters-descriptor>
PARAM: 'maison1' VALUES: '[]'
[1]/AbstractValidatorAction: VALIDATOR: validating parameter: maison1
[1]/AbstractValidatorAction: VALIDATOR: validating string parameter maison1
(encoded in a string: true)
[1]/AbstractValidatorAction: VALIDATOR: string parameter maison1 is null
[1]/FormValidatorAction: FORMVALIDATOR: validation failed for parameter
maison1
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>