For this, I normally use a valueChangeListener for the radio list binded to a backing bean method. This method sets the new value in an attribute of the bean. The method executed by the OK button uses this value and does some logic with it...
Regards, Bruno 2005/7/7, Sean Schofield <[EMAIL PROTECTED]>: > I'm working on a dialog where the user has a few choices. There is a > single OK button and the user has to choose which option they want > from a list of radio buttons. What are some possible ways to do this? > > My current thinking is to have the action attribute of the > commandButton use a method binding of a managed bean. But then there > is the matter of obtaining the values of the radio buttons. I suppose > I could bind the radio buttons to the bean that is determing the > action value ... There are a lot of possibilities here but I'm trying > to find the most elegant ;-) > > sean >

