learn java
The moose likes JSF and the fly likes Input in a Nested table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Input in a Nested table" Watch "Input in a Nested table" New topic

Input in a Nested table

J Haley
Ranch Hand

Joined: Jul 22, 2004
Posts: 66
I�ve got a problem with a input field in a nested dataTable. The table displays fine when its built, but there is a problem when the retrieving the entered the input #{task.value}. Any idea what I�m missing?

[ May 03, 2006: Message edited by: J Haley ]
J Haley
Ranch Hand

Joined: Jul 22, 2004
Posts: 66
I discovered that the generated ids for the nested <h:input> are not unique. Is there a way that I build my own ids? I tried using id="#{someVar}", but this was not valid syntax.
g madhava
Ranch Hand

Joined: Sep 14, 2001
Posts: 85
What version and implementation of JSF are you using ?

However for the time being you can use this below.

In your JSF code,

This code is to give you a general Idea of how to implement. This code has not been tested
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: Input in a Nested table