This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Issue with Ajax implementation on <h:selectoneradio> control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Issue with Ajax implementation on <h:selectoneradio> control" Watch "Issue with Ajax implementation on <h:selectoneradio> control" New topic
Author

Issue with Ajax implementation on <h:selectoneradio> control

Veera Velisetti
Greenhorn

Joined: Jan 27, 2010
Posts: 5
Hi
I am relatively new to JSF.
I am trying to update a part of a page based on the selection made on the <h:selectoneradio> using ajax.
The problem I am facing is on selection of item from the selectoneradio list, first time it works fine but from the second selection onward it don't work.
Not able to figure it out. if someone out there could help in finding the problem and give the solution that would be of great help.
No exception is thrown if at all jsf lifecycle is being voilated.
Here is my JSF page :



My backing bean code:

Vaibhav Mittal
Greenhorn

Joined: Jun 11, 2008
Posts: 23
Check your value tag in selectOneRadio. It has to contain a bean name followed by a dot and then the instance variable. I think in your case it should be value="#{CCView.selAddr}"


"Life is good"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with Ajax implementation on <h:selectoneradio> control
 
Similar Threads
SelectOneRadio with inner tables
Specifying multiple targets for hx:behaviour does not work
hx:ajaxRefreshSubmit using two times to submit two panelgroups in single hx:behaviour.not working
selectOneRadio in several columns...
Adding Ajax in existing JSF application