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

Leonardo Uribe commented on MYFACES-3418:
-----------------------------------------

Attached final patch. Changed param name to 
org.apache.myfaces.CHECK_ID_PRODUCTION_MODE with this description:

    /**
     * Define how duplicate ids are checked when ProjectStage is Production, by 
default (auto) it only check ids of
     * components that does not encapsulate markup (like facelets UILeaf).
     *  
     * <ul>
     * <li>true: check all ids, including ids for components that are transient 
and encapsulate markup.</li>
     * <li>auto: (default) check ids of components that does not encapsulate 
markup (like facelets UILeaf). 
     * Note ids of UILeaf instances are generated by facelets vdl, start with 
"j_id", are never rendered 
     * into the response and UILeaf instances are never used as a target for 
listeners, so in practice 
     * there is no need to check such ids. This reduce the overhead associated 
with generate client ids.</li>
     * <li>false: do not do any check when ProjectStage is Production</li>
     * </ul>
     * <p> According to specification, identifiers must be unique within the 
scope of the nearest ancestor to 
     * the component that is a naming container.</p>
     */

                
> [perf] do not check for duplicate ids when saving view on production stage
> --------------------------------------------------------------------------
>
>                 Key: MYFACES-3418
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3418
>             Project: MyFaces Core
>          Issue Type: New Feature
>         Environment: myfaces trunk
>            Reporter: Martin Kočí
>            Assignee: Martin Kočí
>            Priority: Minor
>         Attachments: MYFACES-3418-alternative-1.patch, 
> MYFACES-3418-final-1.patch, MYFACES-3418.patch
>
>
> see discussion here: 
> http://www.mail-archive.com/dev@myfaces.apache.org/msg52995.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to