The Struts 2 docs says the following about the Checkbox Interceptor:

setUncheckedValue - The default value of an unchecked box can be
overridden by setting the 'uncheckedValue' property.

Where in code can I call the  setUncheckedValue(String uncheckedValue) from?

The problem I am facing is the fieldValue (HTML value) if the check
box is an int.  My action has an int[] id.  I would like to set the
value of an array element to 0 when it is not checked.  I assumed
because the current interceptor inserts "false" for unchecked boxes
this would automatically get converted to an int because my action
uses an int array.  This does not occur.  Any advice would be
appreciated.

Thank you,

Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to