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'.
ConditionalInterceptor.LegacyAdapter| Constructor and Description |
|---|
CheckboxInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
intercept(ActionInvocation ai)
Override to handle interception
|
void |
setUncheckedValue(String uncheckedValue)
Overrides the default value for an unchecked checkbox
|
intercept, shouldIntercept, shouldInterceptdestroy, init, setDisabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptadaptdestroy, initpublic String intercept(ActionInvocation ai) throws Exception
AbstractInterceptorintercept in class AbstractInterceptorExceptionpublic void setUncheckedValue(String uncheckedValue)
uncheckedValue - The uncheckedValue to setCopyright © 2000–2025 Apache Software Foundation. All rights reserved.