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.