[ 
http://issues.apache.org/jira/browse/MYFACES-1154?page=comments#action_12439935 
] 
            
Scott O'Bryan commented on MYFACES-1154:
----------------------------------------

JSR-168 says it can be either prepended OR appended in the spec (see API spec 
for RenderResponse.getNamespace().  I generally find perpending to be 
preferable but either should be fine for the spec purposes.

That being said, does anyone know why myfaces wraps elements that don't start 
with _ID? My personal preference would be to prepend the namespace and fix the 
issue of why these elements are getting wrapped.  I mean this seems kinda wrong 
to me that the base implementation would muck with the output.

Scott

> PortletExternalContextImpl#encodeNamespace postfixes the namespace instead of 
> prefixes it
> -----------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1154
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1154
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: Portlet_Support
>    Affects Versions: 1.1.2-SNAPSHOT
>            Reporter: Dave Brondsema
>         Assigned To: Stan Silvert
>            Priority: Trivial
>
> PortletExternalContextImpl#encodeNamespace appends the namespace, whereas the 
> specification requires that it prepend it

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to