permaculture playing cards*
The moose likes JSF and the fly likes duplicate id's in a4j:support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "duplicate id Watch "duplicate id New topic
Author

duplicate id's in a4j:support

maor mosh
Greenhorn

Joined: Dec 14, 2009
Posts: 3
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

Joined: Dec 14, 2009
Posts: 3
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

Joined: Dec 14, 2009
Posts: 3
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.
 
jQuery in Action, 2nd edition
 
subject: duplicate id's in a4j:support
 
Similar Threads
disabled issue for inputtext
JSF Error : cannot get value for expression
t:inputtext problem
need help on jsf error message
Problem with h:message and richfaces