[ 
https://issues.apache.org/jira/browse/PB-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ate Douma resolved PB-60.
-------------------------

    Resolution: Won't Fix

How can you have not an action (Struts) url?
An action url should be invoked from a render page, so you should always (be 
able to) have an Struts target url then.
Actually, I think the defaultActionPage init parameter is even questionable 
itself...

If you can provide a valid use-case for these I will reconsider, but right now 
I don't see the point to change this. 

> Struts bridge: Will not invoke differ than view mode of portlet in action 
> phase, when ActionPage doesn't describe for portlet
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PB-60
>                 URL: https://issues.apache.org/jira/browse/PB-60
>             Project: Portals Bridges
>          Issue Type: Bug
>          Components: struts
>    Affects Versions: 1.0.2
>         Environment: tomcat 5.5.17, exo-portlet-container
>            Reporter: Alexey Zavizionov
>            Priority: Critical
>
> When I trigger help or edit mode it will not appear, instead that I 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;
>       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]

Reply via email to