You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-dev@portals.apache.org by "Alexey Zavizionov (JIRA)" <br...@portals.apache.org> on 2007/04/05 18:31:32 UTC

[jira] Updated: (PB-61) Struts bridge: setPortletMode and setWindowState to PortletURL in StrutsPortletURL.createPortletURL method

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

Alexey Zavizionov updated PB-61:
--------------------------------

    Environment: tomcat 5.5.17, exo-portlet-container

> Struts bridge: setPortletMode and setWindowState to PortletURL  in StrutsPortletURL.createPortletURL method
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: PB-61
>                 URL: https://issues.apache.org/jira/browse/PB-61
>             Project: Portals Bridges
>          Issue Type: Task
>          Components: struts
>    Affects Versions: 1.0.2-dev
>         Environment: tomcat 5.5.17, exo-portlet-container
>            Reporter: Alexey Zavizionov
>
>         RenderRequest renderRequest = (RenderRequest) request
>                 .getAttribute("javax.portlet.request");
>         
>         PortletURL portletURL;
>         
>         if (actionURL)
>             portletURL = renderResponse.createActionURL();
>         else
>             portletURL = renderResponse.createRenderURL();
>         
>         try {
>           portletURL.setPortletMode(renderRequest.getPortletMode());    
>           portletURL.setWindowState(renderRequest.getWindowState());    
>         } catch (Exception e) {
>           System.out.println("[ERROR] StrutsPortletURL - " + e.getCause());
>         }

-- 
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: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org