cancel
Showing results for 
Search instead for 
Did you mean: 

JSF component automatic id warning

vandana_pal
Champ in-the-making
Champ in-the-making
I am facing  below warning  constantly whenever browse.jsp page is rendered. Same kind of warning comes for dashboard,dialog,wizard.

INFO: WARNING: Component browse:_id0 just got an automatic id, because there was no id assigned yet. If this component was created dynamically (i.e. not by a JSP tag) you should assign it an explicit static id or assign it the id you get from the createUniqueId from the current UIViewRoot component right after creation!

Can someone please let me know what could be the reason for this warning.

Thanks.
1 REPLY 1

mitpatoliya
Star Collaborator
Star Collaborator
Have you created any custom jsp?
If yes then in those jsp you should give Id to all the components which are inside that jsp.
Also make sure they are unique.
This is because of complex lifecycle of JSF components.
Also make sure you have not changed anything in the OOTB jsp file.