Apache Struts 2 Documentation > Home > Guides > Core Developers Guide > Interceptors > Checkbox Interceptor
Added by Ted Husted, last edited by Ted Husted on Sep 11, 2006  (view change)
Content pulled from external source. Click here to refresh.

Looks for a hidden identification field that specifies the original value of the checkbox. If the checkbox isn't submitted, insert it into the parameters as if it was with the value of 'false'.

Parameters

Content pulled from external source. Click here to refresh.

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

Extending the Interceptor

Content pulled from external source. Click here to refresh.