myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Commented] (MYFACES-3894) Make the duplicate client id check optional in development mode
Date Tue, 20 May 2014 10:08:38 GMT


Leonardo Uribe commented on MYFACES-3894:

The problem here is it should not be duplicate ids in the component tree anytime. It has sense
to disable this but only on production environment as a performance flag, once the developer
knows that the app does not have duplicate id problems. 

> Make the duplicate client id check optional in development mode
> ---------------------------------------------------------------
>                 Key: MYFACES-3894
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Wish
>            Reporter: Adam Balazs
>            Priority: Minor
> Hi, 
> I just wanted to start using JRebel with JSF, and found out that there are some issues
with the JRebel - MyFaces - PrimeFaces combo.
> It seems that some of the PF components generates invalid component trees,  which cause
the MyFaces throwing DuplicateIdException in development mode. The strange thing is that we
are using these components in production for more than 2 years now, and never noticed any
issues with them, so I guess, the guys at PF worked this around very well.
> I've already reported this to them with my company's PRO account.
> As I browsed the code of PF I realized that fixing this behavior is not so easy and can
take more time, so I just wonder if - as a quick fix - you can make the duplicate id check
algorithm optional in development mode too.

This message was sent by Atlassian JIRA

View raw message