myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Freedman (JIRA)" <>
Subject [jira] Resolved: (PORTLETBRIDGE-142) Facelets 1.1.4 doesn't work with Bridge 1.0 PortletNamingContainerUIViewRoot
Date Wed, 26 May 2010 20:19:39 GMT


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

View raw message