jp.terasoluna.fw.web.struts.reset
Interface Resetter
- All Known Implementing Classes:
- ResetterImpl
public interface Resetter
Interface that initializes the field of action form.
If reset method is executed by using DynaValidatorActionFormEx
and ValidatorActionFormEx
,implementation class instance of this interface which is stored in the servlet context with the name as "RESETTER", is fetched and
reset(FormEx, ActionMapping, HttpServletRequest)
methods are executed.
This interface should be executed as per the requirements of application.
In TERASOLUNA framework, the default implementation class of this interface which is called as ResetterImpl
is provided. In case of a typical initialization process, ResetterImpl can be used.
- See Also:
ResetterImpl
Field Summary |
static java.lang.String |
RESETTER_KEY
Key at the time of storing the instance of this class in the
servlet context. |
Method Summary |
void |
reset(FormEx form,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Initializes the property value of action form. |
RESETTER_KEY
static final java.lang.String RESETTER_KEY
- Key at the time of storing the instance of this class in the
servlet context.
- See Also:
- Constant Field Values
reset
void reset(FormEx form,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Initializes the property value of action form.
- Parameters:
form
- Action form instancemapping
- Action mapping instancerequest
- Request information