Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with primefaces update  RSS feed

 
thiago vargas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,

This is one part of the page (p:layoutUnit)


As you can see, the ajax update have two IDs, take a look into "panelFiltro". Until now there was no problems.
But... If I change the actual primefaces-3.0.jar to primefaces-3.3.jar, I will have an error at "findClientIds" from the org.primefaces.util.ComponentUtils because that id "panelFiltro".
Could anyone help me run on primefaces3.3 and let me know the reason for that happens?
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In XML, "id" is a special attribute and can be placed on any type of element.

You will probably have fewer problems if you add id= to your tab and menu elements so that JSF won't auto-generate IDs that could conflict with later modifications to the page.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!