|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.interceptor.AbstractInterceptor
org.apache.struts2.interceptor.CheckboxInterceptor
public class CheckboxInterceptor
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'.
| Constructor Summary | |
|---|---|
CheckboxInterceptor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
intercept(ActionInvocation ai)
|
void |
setUncheckedValue(java.lang.String uncheckedValue)
Overrides the default value for an unchecked checkbox |
| Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor |
|---|
destroy, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckboxInterceptor()
| Method Detail |
|---|
public java.lang.String intercept(ActionInvocation ai)
throws java.lang.Exception
intercept in interface Interceptorintercept in class AbstractInterceptorjava.lang.Exceptionpublic void setUncheckedValue(java.lang.String uncheckedValue)
uncheckedValue - The uncheckedValue to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||