Package org.apache.struts2.interceptor
Class MultiselectInterceptor
java.lang.Object
org.apache.struts2.interceptor.AbstractInterceptor
org.apache.struts2.interceptor.MultiselectInterceptor
- All Implemented Interfaces:
Serializable,ConditionalInterceptor,Interceptor
Just as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor. If
the "__multiselect_" request parameter is present and its visible counterpart is not, set a new request parameter to an
empty String.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionJust as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor.Methods inherited from class org.apache.struts2.interceptor.AbstractInterceptor
destroy, init, setDisabled, shouldIntercept
-
Constructor Details
-
MultiselectInterceptor
public MultiselectInterceptor()
-
-
Method Details
-
intercept
Just as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor. If the "__multiselect_" request parameter is present and its visible counterpart is not, set a new request parameter to an empty String.- Specified by:
interceptin interfaceInterceptor- Specified by:
interceptin classAbstractInterceptor- Parameters:
ai- ActionInvocation- Returns:
- the result of the action
- Throws:
Exception- if error- See Also:
-