Group of radio buttons in different location
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Avi_g
Posted On:   Thursday, July 24, 2008 08:20 AM

Hi. I'm trying to make a JSF form that will have 2 radio buttons acting as html radio buttons group(when pressing one radio button the other one will be unchecked). The problem is that the 2 radio buttons are not one near each other but in different locations on page(if they were one near eache other I could use h:selectOneRadio), like: .... .... .... I need these two radio buttons will act like in HTML and will be mapped(if possible) to the same member in the bean. Advanced thanks, Avi    More>>

Hi.

I'm trying to make a JSF form that will have 2 radio buttons acting as html radio buttons group(when pressing one radio button the other one will be unchecked).

The problem is that the 2 radio buttons are not one near each other but in different locations on page(if they were one near eache other I could use h:selectOneRadio), like:




....

....

....





I need these two radio buttons will act like in HTML and will be mapped(if possible) to the same member in the bean.


Advanced thanks,

Avi

   <<Less

Re: Group of radio buttons in different location

Posted By:   Venkat_Sadasivam  
Posted On:   Tuesday, July 29, 2008 01:23 PM


Two solutions are available.

http://wiki.apache.org/myfaces/Display_Radio_Buttons_In_Columns

http://www.javaworld.com/javaworld/jw-02-2007/jw-02-jsf.html
About | Sitemap | Contact