This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes Nested datatables and inputText with duplicates id Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Nested datatables and inputText with duplicates id" Watch "Nested datatables and inputText with duplicates id" New topic
Author

Nested datatables and inputText with duplicates id

Francisco Lopez
Greenhorn

Joined: Apr 13, 2010
Posts: 1
Hi I have a form in which I require the use of nested datatables for capturing some data. But I'm having a problem with those nested datatables, and that is that when the page get displayed, different inputText in the subtable has gotten the same id.



Here is the code:



This is the HTML that I get: As we can see in the lines 23 and 46, the assigned id's are the same for two different inputs. :S



Any ideas would be really appreciated

Kind regards


Francisco



[Thumbnail for nestedTable.JPG]

 
Consider Paul's rocket mass heater.
 
subject: Nested datatables and inputText with duplicates id
 
Similar Threads
Can not Populate the form on combo box change
h:form and mouseover
HTML table to JSF table
findcomponent returns null value
Financial Year Table