This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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.
 
Have you checked out Aspose?
 
subject: duplicate id's in a4j:support
 
It's not a secret anymore!