org.apache.struts2.interceptor
类 MultiselectInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
org.apache.struts2.interceptor.MultiselectInterceptor
- 所有已实现的接口:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
public class MultiselectInterceptor
- extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
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 Sting.
- 另请参见:
- 序列化表格
方法摘要 |
String |
intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation)
Just as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor. |
从类 com.opensymphony.xwork2.interceptor.AbstractInterceptor 继承的方法 |
destroy, init |
MultiselectInterceptor
public MultiselectInterceptor()
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation)
throws Exception
- 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 Sting.
- 指定者:
- 接口
com.opensymphony.xwork2.interceptor.Interceptor
中的 intercept
- 指定者:
- 类
com.opensymphony.xwork2.interceptor.AbstractInterceptor
中的 intercept
- 参数:
actionInvocation
- ActionInvocation
- 返回:
- the result of the action
- 抛出:
Exception
- if error- 另请参见:
Interceptor.intercept(com.opensymphony.xwork2.ActionInvocation)