myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3066) CLONE - UIView.createUniqueId shouldn't call encodeNameSpace to build the id (1.2.x branch).
Date Mon, 28 Oct 2013 18:36:33 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13807077#comment-13807077
] 

Leonardo Uribe commented on MYFACES-3066:
-----------------------------------------

The issue you describe is not related to this one or to MyFaces. In theory, UIViewRoot id
should be prefixed in portlet environment, to make a difference between different windows.
It should be something related to richfaces, in my humble opinion.

> CLONE - UIView.createUniqueId shouldn't call encodeNameSpace to build the id (1.2.x branch).
> --------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3066
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3066
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 1.2.10, 2.0.4
>            Reporter: Michael Freedman
>            Assignee: Leonardo Uribe
>             Fix For: 1.2.11
>
>
> Submitting a new bug based on one I recently reopened as it pertains to 1.2 and 2.0 impls
as well:
> Referer bug: https://issues.apache.org/jira/browse/MYFACES-702
> Problem reported in the above bug is related to the component's id being prefixed with
the portletNamespace which is caused by calling encodeNamespace.  Why is this api called in
generating the component id.  encodeNamespace was added to external context by and large for
the portlet environment  to allow it to prefix client ids to be unique on the page they are
being incorporated into.  Is there a reason for needing this when generating the component
id?  FYI ... Mojarra doesn't make this call from createUniqureId.
> Hopefully, this is something that can be fixed by just removing the call ....



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message