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

Matthew Bruzek updated PB-62:
-----------------------------

    Description: 
I found a bug in the PortletViewHandlerImpl.createView() and restoreView() 
methods. The createView() method creates a UIViewRoot.  UIViewRoot is not a 
NamingContainer and does not make unique client ids for the portal environment. 
 

The PortletViewHandlerImpl is ONLY used in the portal environment and should 
create PortletUIViewRoot objects instead of a UIViewRoot objects.  

The Portals Bridges bug PB-35 ( http://issues.apache.org/jira/browse/PB-35 ) 
addressed a namespacing problem with the jsf portals bridge.  Multiple classes 
were changed to create a PortletUIViewRoot to fix the namespacing problem.  The 
PortletViewHandlerImpl class must have been missed when converting the bridge 
to use PortletUIViewRoot.

I have included a code example on how to fix this problem.  Please see the 
latest attached file.
 

  was:
I found a bug in the PortletViewHandlerImpl.createView() method. The 
createView() method creates a UIViewRoot.  UIViewRoot is not a NamingContainer 
and does not make unique client ids for the portal environment.  

The PortletViewHandlerImpl is ONLY used in the portal environment and should 
create PortletUIViewRoot objects instead of a UIViewRoot objects.  

The Portals Bridges bug PB-35 ( http://issues.apache.org/jira/browse/PB-35 ) 
addressed a namespacing problem with the jsf portals bridge.  Multiple classes 
were changed to create a PortletUIViewRoot to fix the namespacing problem.  The 
PortletViewHandlerImpl class must have missed when converting the bridge to use 
PortletUIViewRoot.

I have included a code example on how to fix this problem.  Please see the 
attached file.
 


> PortletViewHandler should create a PortletUIViewRoot
> ----------------------------------------------------
>
>                 Key: PB-62
>                 URL: https://issues.apache.org/jira/browse/PB-62
>             Project: Portals Bridges
>          Issue Type: Bug
>          Components: jsf
>         Environment: Sun JSF Reference Implementation version 1.2 
> (jsf-impl.jar)
> Websphere portlet container version 6.1.0
> Apache MyFaces JSF portal bridge version 1.0.1 (portals-bridges-jsf-1.0.jar)
>            Reporter: Matthew Bruzek
>             Fix For: 1.0.1
>
>         Attachments: PortletViewHandlerImpl.java, PortletViewHandlerImpl.java
>
>
> I found a bug in the PortletViewHandlerImpl.createView() and restoreView() 
> methods. The createView() method creates a UIViewRoot.  UIViewRoot is not a 
> NamingContainer and does not make unique client ids for the portal 
> environment.  
> The PortletViewHandlerImpl is ONLY used in the portal environment and should 
> create PortletUIViewRoot objects instead of a UIViewRoot objects.  
> The Portals Bridges bug PB-35 ( http://issues.apache.org/jira/browse/PB-35 ) 
> addressed a namespacing problem with the jsf portals bridge.  Multiple 
> classes were changed to create a PortletUIViewRoot to fix the namespacing 
> problem.  The PortletViewHandlerImpl class must have been missed when 
> converting the bridge to use PortletUIViewRoot.
> I have included a code example on how to fix this problem.  Please see the 
> latest attached file.
>  

-- 
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