• Post Reply Bookmark Topic Watch Topic
  • New Topic

Rendering a view with selectOneRadio

 
André Lima
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,
i have a application which depending of the selection of the user in a selectOneRadio,its render other components for me...
for example:
the user selects one option,and other components(its more the 1 component) will be rendered...there are only two options in my selectOneRadio...
so the problem is:i dont have idea how to implement the method in which my action attribute in a4j:support(yes,i will work with it) will call!
sorry for my English...which i have to admit is very bad...
thanks in advice!
 
Kavita Tipnis
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need an 'onclick' event of the selectOneRadio which will fire your action listener

example
In the code example below id1,id2... refers to the component id's that you wish to reRender

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!