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
            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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to