[
https://issues.apache.org/jira/browse/MYFACES-3561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16887765#comment-16887765
]
Thomas Andraschko commented on MYFACES-3561:
--------------------------------------------
Tried to apply it to 3.x but unittests are failing. I will close it for now.
Feel reopen if you would like to work on it again.
> [perf] skip UniqueIdVendor.createUniqueId(FacesContext context, String seed)
> for facelets generated component ids
> -----------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-3561
> URL: https://issues.apache.org/jira/browse/MYFACES-3561
> Project: MyFaces Core
> Issue Type: Improvement
> Components: JSR-314
> Reporter: Leonardo Uribe
> Priority: Minor
> Fix For: 3.0.0-SNAPSHOT
>
> Attachments: MYFACES-3561-1.patch, MYFACES-3561-2.patch
>
>
> Component unique ids generated by facelets need always to pass as params
> through
> UniqueIdVendor.createUniqueId(FacesContext context, String seed)
> But most of the time, the only thing this call does is append the unique id
> prefix UIViewRoot.UNIQUE_ID_PREFIX or j_id to the seed. It has sense for
> programatically added component ids but is complete worthless for facelets
> added components, because in this case there is a global strategy to keep
> uniqueness of components without rely on UniqueIdVendor logic.
> The big question is if we can set it by default. There is nothing in the spec
> that forces us to do it......
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)