Class CheckboxInterceptor

java.lang.Object
org.apache.struts2.interceptor.AbstractInterceptor
org.apache.struts2.interceptor.CheckboxInterceptor
All Implemented Interfaces:
Serializable, ConditionalInterceptor, Interceptor

public class CheckboxInterceptor extends AbstractInterceptor

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'.

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