You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Freedman (JIRA)" <de...@myfaces.apache.org> on 2010/05/26 22:17:42 UTC
[jira] Created: (PORTLETBRIDGE-142) Facelets 1.1.4 doesn't work
with Bridge 1.0 PortletNamingContainerUIViewRoot
Facelets 1.1.4 doesn't work with Bridge 1.0 PortletNamingContainerUIViewRoot
----------------------------------------------------------------------------
Key: PORTLETBRIDGE-142
URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-142
Project: MyFaces Portlet Bridge
Issue Type: Bug
Components: Impl
Affects Versions: 1.0.0-beta
Reporter: Michael Freedman
Assignee: Michael Freedman
Problem is when using Facelets with Portlet 1.0 Bridge the UIViewRoot id never gets set (usually done by the jsp view tag). When this is later restored/set an IllegalArgument exception is thrown because the PortletNamingContainerUIViewRoot transforms the null into an empty string -- and as this restore is occuring in an action -- it can't namespace this -- so what ultimately tries to get set is "" -- which is an invalid value and hence the exception. Fix is to use createUnique Id instead of "". Also changed the code around a little to put a static prefix at the front of the namespace which we use to determine whether the id has already been namespaced or not (so we don't do it multiple times). Used to set a UIViewRoot attribute but this isn't always restored by the time the the code is called to use it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PORTLETBRIDGE-142) Facelets 1.1.4 doesn't work
with Bridge 1.0 PortletNamingContainerUIViewRoot
Posted by "Michael Freedman (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/PORTLETBRIDGE-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Freedman resolved PORTLETBRIDGE-142.
--------------------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Fix was as mentioned in the description.
> Facelets 1.1.4 doesn't work with Bridge 1.0 PortletNamingContainerUIViewRoot
> ----------------------------------------------------------------------------
>
> Key: PORTLETBRIDGE-142
> URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-142
> Project: MyFaces Portlet Bridge
> Issue Type: Bug
> Components: Impl
> Affects Versions: 1.0.0-beta
> Reporter: Michael Freedman
> Assignee: Michael Freedman
> Fix For: 1.0.0
>
>
> Problem is when using Facelets with Portlet 1.0 Bridge the UIViewRoot id never gets set (usually done by the jsp view tag). When this is later restored/set an IllegalArgument exception is thrown because the PortletNamingContainerUIViewRoot transforms the null into an empty string -- and as this restore is occuring in an action -- it can't namespace this -- so what ultimately tries to get set is "" -- which is an invalid value and hence the exception. Fix is to use createUnique Id instead of "". Also changed the code around a little to put a static prefix at the front of the namespace which we use to determine whether the id has already been namespaced or not (so we don't do it multiple times). Used to set a UIViewRoot attribute but this isn't always restored by the time the the code is called to use it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.