I have a checkbox in jsp:

<s:checkbox name="user.contactConfidential" fieldValue="Y" />,
after html rendering it is shown as <input type="checkbox"
name="user.contactConfidential" value="Y"
id="user.contactConfidential"/>, that is good.

But once a user selects the checkbox and submits the form,
user.contactConfidential is set to true. However, on the database side
the value should be stored as 'Y' or 'N'.  Is there anyway that I can
get  user.contactConfidential="Y" when submits form instead of
true/false?

Thanks

Harden

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

Reply via email to