[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1486) patch jsf portlet bridge

Prabhat Jha (JIRA) jira-events at lists.jboss.org
Wed Jun 13 10:06:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1486?page=comments#action_12365226 ] 
            
Prabhat Jha commented on JBPORTAL-1486:
---------------------------------------

Patch includes:

jsf-portlet/src/java/com/sun/faces/portlet/ViewHandlerImpl.java

public String getActionURL(FacesContext context, String viewId) {
        Object r = context.getExternalContext().getResponse();
        if (!(r instanceof RenderResponse)) {
            logger.info("PS_CSFP0064");
            throw new IllegalStateException("Must be a RenderResponse");
        }
        RenderResponse response = (RenderResponse) r;
        PortletURL actionURL = response.createActionURL();
        actionURL.setParameter(VIEW_ID_PARAMETER, viewId);

// Patch starts here
   // A unique value is needed while saving values in the session.
        // As the render response namespace is unique, it is used.
        actionURL.setParameter(NAME_SPACE_PARAMETER, response.getNamespace());
//End patch

        if(logger.isLoggable(Level.FINER)){
            logger.log(Level.FINER, "PS_CSFP0065", actionURL.toString());
        }
        return (actionURL.toString());
    }

> patch jsf portlet bridge
> ------------------------
>
>                 Key: JBPORTAL-1486
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1486
>             Project: JBoss Portal
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.6 Final
>            Reporter: Prabhat Jha
>         Assigned To: Prabhat Jha
>             Fix For: 2.6 Final
>
>
> We need to patch jsf-portlet bridge binaries so that portal 2.6 can be used with jboss4.2

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list