| Author |
Data from search not being dynamically added to rich:dataTable
|
Michael Hughes
Greenhorn
Joined: Jun 01, 2011
Posts: 4
|
|
I have a program where the user searches for data and then click an "Add" button if they wish to add that data to the dataTable. Currently, the data only shows one result at a time (instead of showing all data that has been added).
Bean:
XHTML
I know the logic I need but just can't seem to put it into my code to make this work.
Thank You!
|
 |
Guy deLyonesse
Ranch Hand
Joined: Apr 12, 2011
Posts: 189
|
|
|
Where's the dataTable?
|
 |
Michael Hughes
Greenhorn
Joined: Jun 01, 2011
Posts: 4
|
|
Sorry I forgot it. Here it is:
|
 |
Michael Hughes
Greenhorn
Joined: Jun 01, 2011
Posts: 4
|
|
Solved by doing something different in my bean:
Where getSingleResult() is from each individual search.
|
 |
 |
|
|
subject: Data from search not being dynamically added to rich:dataTable
|
|
|