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

Reply via email to