af:selectOneRadio - selected value not set
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   s_raghavan
Posted On:   Saturday, June 24, 2006 12:04 AM

I am using af:selectOneRadio - this is the code:







where str1,str2 etc. are Strings. myValue is also a String attribute defined in the Backing Bean. When the form is populated with values from the database, the correct radio button is selected. But when I try to get the selected value it is always null. I've found that this is because when 'Save' button is clicked the setter for myValue is called and sets it as null.
Why is this? How do I fix it? Pls help

About | Sitemap | Contact