aspose file tools
The moose likes JSF and the fly likes Rendering a view with selectOneRadio Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Rendering a view with selectOneRadio" Watch "Rendering a view with selectOneRadio" New topic
Author

Rendering a view with selectOneRadio

André Lima
Greenhorn

Joined: Aug 07, 2009
Posts: 2
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

Joined: Sep 21, 2008
Posts: 177
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Rendering a view with selectOneRadio
 
Similar Threads
Problem with SelectOneRadio
dynamic selectOneRadio
selectOneRadio with nowrap
More customizable selectManyCheckbox and selectOneRadio
JSF SelectOneRadio and inputText