Will not invoke differ than view mode of portlet in action phase, when
ActionPage don't describe for portlet
------------------------------------------------------------------------------------------------------------
Key: PB-60
URL: https://issues.apache.org/jira/browse/PB-60
Project: Portals Bridges
Issue Type: Bug
Environment: tomcat 5.5.17, exo-portlet-container
Reporter: Alexey Zavizionov
When I trigger help mode it will not appear, instead that seen view mode.
if (defaultActionPage == null)
defaultActionPage = defaultViewPage;
Need to change StrutsPortlet.processAction with:
public void processAction(ActionRequest request, ActionResponse response)
throws PortletException, IOException
{
String actionpage = null;
if (request.getPortletMode().equals(PortletMode.VIEW))
actionpage = defaultViewPage;
if (request.getPortletMode().equals(PortletMode.EDIT))
actionpage = defaultEditPage;
if (request.getPortletMode().equals(PortletMode.HELP))
actionpage = defaultHelpPage;
if (actionpage == null)
actionpage = defaultActionPage;
System.out.println(">>> EXOMAN StrutsPortlet.processAction actionpage = "
+ actionpage);
processRequest(request, response, actionpage,
StrutsPortlet.ACTION_REQUEST);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]