Hi,

you have to add the value="#{bean.selectValue}" property to
selectOneRadio component.

If the value comes with one of the "itemValue" of the selectItems, the
radio button is selected in the browser.

cheers,

Gerald

On 8/23/06, Jaya Saluja <[EMAIL PROTECTED]> wrote:






I have added radio buttons to my application.

Here's the code



<h:selectOneRadio layout="pageDirection" >

                <f:selectItem itemValue="customers" itemLabel="Customers"/>

                <f:selectItem itemValue="enabled_customers"
itemLabel="Enabled Customers" />

                <f:selectItem itemValue="disabled_customers"
itemLabel="Disabled Customers"/>

 </h:selectOneRadio>



How do I know which radio button is selected?



Thanks,

Jaya


--
Gerald Müllan
Schelleingasse 2/11
1040 Vienna, Austria
0043 699 11772506
[EMAIL PROTECTED]

Reply via email to