| com.ivata.mask.web.struts.MaskAction com.ivata.mask.web.struts.InputMaskAction
InputMaskAction | public class InputMaskAction extends MaskAction (Code) | |
Add, amend or remove an existing value object in the list of value objects.
since: ivata masks 0.4 (2004-05-10) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.20 $ |
Method Summary | |
public String | execute(ActionMapping mappingParam, ActionForm formParam, HttpServletRequest requestParam, HttpServletResponse responseParam, HttpSession sessionParam, ClientSession clientSessionParam) Overridden to trap the Clear/New button. | public String | onConfirm(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession, String defaultForward)
Adds the value object to the list, or amends an existing value object. | public String | onDelete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession, String defaultForward)
Removes the value object from the list. |
execute | public String execute(ActionMapping mappingParam, ActionForm formParam, HttpServletRequest requestParam, HttpServletResponse responseParam, HttpSession sessionParam, ClientSession clientSessionParam) throws SystemException(Code) | | Overridden to trap the Clear/New button. If this is pressed, the forward
new is returned which you can then route to
NewAction via the Struts framework.
Parameters: mappingParam - Parameters: formParam - Parameters: requestParam - Parameters: responseParam - Parameters: sessionParam - Parameters: clientSessionParam - new if the new/clear button was pressed, otherwisethe same as the super constructor. throws: SystemException - |
onConfirm | public String onConfirm(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession, String defaultForward) throws SystemException(Code) | |
Adds the value object to the list, or amends an existing value object.
Parameters: mapping - Parameters: form - Parameters: request - Parameters: response - Parameters: session - Parameters: clientSession - Parameters: defaultForward - throws: SystemException - |
onDelete | public String onDelete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession, String defaultForward) throws SystemException(Code) | |
Removes the value object from the list.
Parameters: mapping - Parameters: form - Parameters: request - Parameters: response - Parameters: session - Parameters: clientSession - Parameters: defaultForward - throws: SystemException - Always returns defaultForward . |
Fields inherited from com.ivata.mask.web.struts.MaskAction | final public static String STOP_POPULATE_ATTRIBUTE(Code)(Java Doc)
|
Methods inherited from com.ivata.mask.web.struts.MaskAction | public void clear(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession) throws SystemException(Code)(Java Doc) public String execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession) throws SystemException(Code)(Java Doc) public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected MaskAuthenticator getAuthenticator()(Code)(Java Doc) final protected String getFromRequestOrForm(String name, HttpServletRequest request, ActionForm form) throws SystemException(Code)(Java Doc) final protected String getFromRequestOrForm(String name, HttpServletRequest request, ActionForm form, String defaultValue) throws SystemException(Code)(Java Doc) final protected String getInputMask(HttpServletRequest request, Object form) throws SystemException(Code)(Java Doc) final protected String getListMask(HttpServletRequest request, Object form) throws SystemException(Code)(Java Doc) protected MaskFactory getMaskFactory()(Code)(Java Doc) final protected boolean isCancelled(HttpServletRequest request)(Code)(Java Doc) public String onConfirm(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession, String defaultForward) throws SystemException(Code)(Java Doc) public String onDelete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession, String defaultForward) throws SystemException(Code)(Java Doc) public String onDeleteWarn(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, String defaultForward) throws SystemException(Code)(Java Doc) final public void setLogin(boolean loginParam)(Code)(Java Doc)
|
|
|