This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes highlight the selected row from datatable to submit using Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "highlight the selected row from datatable to submit using "submit" button.(No radion buttons )" Watch "highlight the selected row from datatable to submit using "submit" button.(No radion buttons )" New topic
Author

highlight the selected row from datatable to submit using "submit" button.(No radion buttons )

suresh nerella
Greenhorn

Joined: May 08, 2009
Posts: 4
Hi, As i am very new to the JSF.
my requirement is:
i have a datatable with 3 coloumns like "id", "name" and "age". ( no radio button and no checkbox).
when i click on a particular row of the datatable it should get highlighted and i need to submit the values to the backing bean
for some business logic.

I think we need to use Javascript to handle "onclick" for the row selected.

Please give me the best example.
suresh nerella
Greenhorn

Joined: May 08, 2009
Posts: 4
you can find the solution at below link:

http://www.coderanch.com/t/446958/JSF/java/JSF-page-submitting-backing-bean
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: highlight the selected row from datatable to submit using "submit" button.(No radion buttons )
 
Similar Threads
hi light a perticular row in jsf datatable
Problem with selecting checkboxes in subTable
How to save each row in a datatable ?
JSF,marked a selected row of datatable
t:selectBooleancheckbox data from datatable