• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue with Ajax implementation on <h:selectoneradio> control

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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}"
 
reply
    Bookmark Topic Watch Topic
  • New Topic