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 h:selectOneRadio inside a h:dataTable 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 "h:selectOneRadio inside a h:dataTable" Watch "h:selectOneRadio inside a h:dataTable" New topic

h:selectOneRadio inside a h:dataTable

Chris Stewart
Ranch Hand

Joined: Sep 29, 2001
Posts: 124
I'm attempting to create "selected row" functionality in a dataTable. I've seen a number of posts regarding problems with using h:selectOneRadio inside of a h:dataTable. Those were all from 4-5 years ago, however. I've yet to find anything more recent on the subject. I'm using JSF RI 1.2_12-b01-FCS and I was wondering if anyone knows the status of this issue, or has experienced it themselves? I've attempted the JavaScript based workarounds in the old threads, but they don't have any effect for me, for whatever reason.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Have you also read and considered this?
I agree. Here's the link:
subject: h:selectOneRadio inside a h:dataTable
Similar Threads
Ajax Listener event valueChange seems to be firing onClick instead of onChange
JSF "Update Model Values" phase exception
Spacing radio buttons
Dynamic columns in dataTable problem
nesting h:panelGrid within h:dataTable