• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

duplicate id's in a4j:support

 
maor mosh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have encountered a duplicate id error in a page I'm building. I have minimized the page to the following code:
I have two drop-down menus (t:selectOneMenu), a selection in the first automatically selects a value in the second.
Problem is, I get a duplicate id on "support1", which is obviously unique.
Any idea what could be the problem here?
 
maor mosh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found out what caused this:
The valueChangedListener I was using attempted to change the "id" attribute within the event received, and this caused another attribute in the event ("clientId") to be set to null.
 
maor mosh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found out what caused this:
The valueChangedListener I was using attempted to change the "id" attribute within the event received.
This caused another attribute in the event ("clientId") to be set to null.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic