This interface must be implemented by an action class that wants to
use DialogAction as utility dispatcher.
| Method Summary | |
org.apache.struts.action.ActionForward |
getDialogView(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns an ActionForward instance, pointing to a View
for current dialog state, usually a forward to a JSP page. |
| Methods inherited from interface net.jspcontrols.dialogs.actions.ISelectAction |
cancelled, unspecified |
| Method Detail |
public org.apache.struts.action.ActionForward getDialogView(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
ActionForward instance, pointing to a View
for current dialog state, usually a forward to a JSP page.
If you want to use the default implementation, define the View under "DIALOG-VIEW" name in <forward> element of your action mapping.
To use different mapping name, define the view in <forward> element of your action mapping, and override this method to return ActionForward object for your mapping name.
mapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The HTTP response we are creating
java.lang.Exception - if an exception occurs