• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF component id problem

 
sai midhila
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to avoid duplicate component id problem in JSF?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17646
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Define explicit id= attributes on your JSF page components and make sure that each one is unique.

No, I'm not being sarcastic or funny. JSF will generate ID's if you don't define them yourself, but it's a lot easier to debug JSF page errors if you know what the component ID is instead of having to try and guess what ID got generated.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic