This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: duplicate id's in a4j:support
 
Similar Threads
disabled issue for inputtext
t:inputtext problem
JSF Error : cannot get value for expression
need help on jsf error message
Problem with h:message and richfaces