From: "aris" <[EMAIL PROTECTED]>
> When I submit the form, after the validation process I have value="0" (the
> field is an Integer) but I haven't set validation rules on this field :|

Use String (and occasionally Boolean) for form fields and things will work
the way you need them to.

> In my opinion the validator plugin uses a default value read somewhere to
> fill the value of the hidden field (but I didn't set anything !?!)

More likely you're seeing the result of the conversion from String to
Integer when Struts populates your ActionForm from the request.  The best
way to see what's actually happening is to run the whole thing in a
debugger-- an hour with JSwat will teach you more than an entire day
studying the documentation.

-- 
Wendy Smoak



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

Reply via email to