| java.lang.Object org.apache.struts.action.Action org.apache.struts.tiles.actions.TilesAction
TilesAction | abstract public class TilesAction extends Action (Code) | | Base class for Tiles Actions.
This class has the same role as Struts Action. It provides a method execute(...)
called when action is invoked. The difference is, that the execute() method takes
an additional parameter : tile context.
This class extends Struts Action. Subclasses should override
execute(ComponentContext ...) method instead of Struts
execute(ActionMapping ...) method.
version: $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $ |
execute | public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Original Struts Action's method.
Retrieve current Tile context and call TilesAction execute method.
Do not overload this method!
Parameters: mapping - The ActionMapping used to select this instance. Parameters: form - The optional ActionForm bean for this request (if any). Parameters: request - The HTTP request we are processing. Parameters: response - The HTTP response we are creating. exception: Exception - if the application business logic throwsan exception since: Struts 1.1 |
execute | public ActionForward execute(ComponentContext context, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Process the specified HTTP request and create the corresponding HTTP
response (or forward to another web component that will create it),
with provision for handling exceptions thrown by the business logic.
Override this method to provide functionality.
Parameters: context - The current Tile context, containing Tile attributes. Parameters: mapping - The ActionMapping used to select this instance. Parameters: form - The optional ActionForm bean for this request (if any). Parameters: request - The HTTP request we are processing. Parameters: response - The HTTP response we are creating. exception: Exception - if the application business logic throwsan exception since: Struts 1.1 |
Methods inherited from org.apache.struts.action.Action | protected void addErrors(HttpServletRequest request, ActionMessages errors)(Code)(Java Doc) protected void addMessages(HttpServletRequest request, ActionMessages messages)(Code)(Java Doc) public ActionForward execute(ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response) throws Exception(Code)(Java Doc) public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected String generateToken(HttpServletRequest request)(Code)(Java Doc) protected ActionMessages getErrors(HttpServletRequest request)(Code)(Java Doc) protected Locale getLocale(HttpServletRequest request)(Code)(Java Doc) protected ActionMessages getMessages(HttpServletRequest request)(Code)(Java Doc) protected MessageResources getResources(HttpServletRequest request)(Code)(Java Doc) protected MessageResources getResources(HttpServletRequest request, String key)(Code)(Java Doc) public ActionServlet getServlet()(Code)(Java Doc) protected boolean isCancelled(HttpServletRequest request)(Code)(Java Doc) protected boolean isTokenValid(HttpServletRequest request)(Code)(Java Doc) protected boolean isTokenValid(HttpServletRequest request, boolean reset)(Code)(Java Doc) protected void resetToken(HttpServletRequest request)(Code)(Java Doc) protected void saveErrors(HttpServletRequest request, ActionMessages errors)(Code)(Java Doc) protected void saveErrors(HttpSession session, ActionMessages errors)(Code)(Java Doc) protected void saveMessages(HttpServletRequest request, ActionMessages messages)(Code)(Java Doc) protected void saveMessages(HttpSession session, ActionMessages messages)(Code)(Java Doc) protected void saveToken(HttpServletRequest request)(Code)(Java Doc) protected void setLocale(HttpServletRequest request, Locale locale)(Code)(Java Doc) public void setServlet(ActionServlet servlet)(Code)(Java Doc)
|
|
|