myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (Commented) (JIRA)" <>
Subject [jira] [Commented] (MYFACES-3418) [perf] do not check for duplicate ids when saving view on production stage
Date Thu, 12 Jan 2012 01:45:40 GMT


Leonardo Uribe commented on MYFACES-3418:

I did another alternative for this one. The idea is do not take into account ids from components
descending UILeaf (html markup) in production by default and do not use the parameter. Maybe
we can combine both strategies, allowing org.apache.myfaces.CHECK_ID_IN_PRODUCTION with these

true : Check all client ids, including UILeaf components
auto : Check only client ids of components that does not extends from UILeaf.
false : Do not check for duplicate ids in production.

I think the advantage of the "auto" mode is that improve performance and reduce memory usage,
and catch all duplicate id relevant cases (remember that facelets generates ids always starting
with j_id_ , which is a reserved prefix for generated ids).

If no objections I'll combine both patches and commit the resulting code soon.
> [perf] do not check for duplicate ids when saving view on production stage
> --------------------------------------------------------------------------
>                 Key: MYFACES-3418
>                 URL:
>             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.patch
> see discussion here:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message