| com.ivata.mask.web.struts.MaskTilesRequestProcessor
All known Subclasses: com.ivata.mask.web.demo.struts.DemoRequestProcessor,
MaskTilesRequestProcessor | public class MaskTilesRequestProcessor extends TilesRequestProcessor (Code) | |
Extend from this class if you want to use Struts Tiles .
since: ivata masks 0.3 (2004-05-11) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.11 $ |
Method Summary | |
protected Action | createAction(String className, HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
Override this method to define how to create actions in your environment.
This lets you use ivata masks with a standard framework.
The default implementation looks for the action classes it knows about
and initializes them directly. | protected ActionForm | createActionForm(FormBeanConfig formBeanConfig, HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
Override this method to define how to create action forms in your
environment. | protected MaskRequestProcessorImplementation | getImplementation() Refer to
MaskRequestProcessor.getImplementation . | public void | init(ActionServlet servletParam, ModuleConfig moduleConfigParam) | protected Action | processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
Overridden to create actions, since our actions have custom constructor
parameters. | final protected ActionForm | processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
Overridden to create forms, since our forms have custom constructor
parameters. | protected void | processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping)
Overridden to populate forms, and convert the string values of value
object properties into the correct form for their class. | protected void | setImplementation(MaskRequestProcessorImplementation implementationParam) |
createAction | protected Action createAction(String className, HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws IOException(Code) | |
Override this method to define how to create actions in your environment.
This lets you use ivata masks with a standard framework.
The default implementation looks for the action classes it knows about
and initializes them directly. This is a simple starting point; in real
life it is better to use a standard framework such as picocontainer .
Parameters: className - Parameters: request - Parameters: response - Parameters: mapping - valid action for the path, or null if the actioncan and should be created using the default Strutsframework. throws: IOException - if the action cannot be created. |
processActionCreate | protected Action processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws IOException(Code) | |
Overridden to create actions, since our actions have custom constructor
parameters. Don't try to override this method: override
MaskTilesRequestProcessor.createAction createAction instead.
Parameters: request - request for which we are creating an action. Parameters: response - response we are sending. Parameters: mapping - Struts mapping. valid action for the path. throws: IOException - |
processActionForm | final protected ActionForm processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)(Code) | |
Overridden to create forms, since our forms have custom constructor
parameters. Don't try to override this method: override
MaskTilesRequestProcessor.createActionForm createActionForm instead.
Parameters: request - servlet request we are processing. Parameters: response - servlet response we are creating. Parameters: mapping - Struts mapping we are populating. |
processPopulate | protected void processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) throws ServletException(Code) | |
Overridden to populate forms, and convert the string values of value
object properties into the correct form for their class.
Parameters: request - Parameters: response - Parameters: form - Parameters: mapping - exception: ServletException - |
|
|