[
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() method. The
createView() method creates a UIViewRoot. UIViewRoot is not a NamingContainer
and does not make unique client ids for the portal environment. By definition
the PortletViewHandler is used in the portal environment. This method should
create a PortletUIViewRoot object instead of a UIViewRoot object.
This class must have missed when converting the bridge to use
PortletUIViewRoot for bug PB-35 ( http://issues.apache.org/jira/browse/PB-35 ).
I have included a code example on how to fix this problem. Please see the
attached file.
was:
I found a bug in the PortletViewHandler.createView() method. The createView()
method creates a UIViewRoot. UIViewRoot is not a NamingContainer and does not
make unique client ids for the portal environment. By definition the
PortletViewHandler is used in the portal environment. This method should
create a PortletUIViewRoot object instead of a UIViewRoot object.
This class must have missed when converting the bridge to use
PortletUIViewRoot for bug PB-35 ( http://issues.apache.org/jira/browse/PB-35 ).
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 (portals-bridges-jsf-1.0.jar)
> Reporter: Matthew Bruzek
> Fix For: 1.0.1
>
> Attachments: PortletViewHandlerImpl.java
>
>
> 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. By definition the PortletViewHandler is used in the portal
> environment. This method should create a PortletUIViewRoot object instead of
> a UIViewRoot object.
> This class must have missed when converting the bridge to use
> PortletUIViewRoot for bug PB-35 ( http://issues.apache.org/jira/browse/PB-35
> ).
> I have included a code example on how to fix this problem. Please see the
> 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]