This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
(picture a table with 2 columns, the first is some text and the second contains a radio box and an input textbox)
Anyway, to do the validation on this page, in the action method I have code like this:
Unfortunately the htmlSelectOneRadio.getValue() call always returns null, regardless of whether or not the radio box is checked. How do I get the value of whether or not the radio box is checked? There is no isChecked method on that class...
PS - I can print out the id on that radio box and it is printing the correct ID, so I know that I at least have the correct component.