|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 | |
|---|---|
void |
destroy()
|
void |
init()
|
java.lang.String |
intercept(ActionInvocation ai)
|
void |
setUncheckedValue(java.lang.String uncheckedValue)
Overrides the default value for an unchecked checkbox |
| 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 void destroy()
destroy in interface Interceptorpublic void init()
init in interface Interceptor
public java.lang.String intercept(ActionInvocation ai)
throws java.lang.Exception
intercept in interface Interceptorjava.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 | |||||||||