File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes problem using h:selectOneRadio  & a4j:support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "problem using h:selectOneRadio  & a4j:support" Watch "problem using h:selectOneRadio  & a4j:support" New topic
Author

problem using h:selectOneRadio & a4j:support

Harshad Khasnis
Ranch Hand

Joined: Jun 06, 2006
Posts: 48
hi ranchers,
I am facing a little problem when using a4j support for h:selectOneRadio.



everything else is working fine, the action associated with a4j is also getting invoked but the re rendering of the dataTable is giving me problem.

When I select between Yes or No, the area where the dataTable is getting displayed goes completely blank & gets redisaplyed after very delayed response.

I have used a4j:support for similar purpose for other controls like h:commandlink, h:selectManyCheckbox, etc, there it is working fine only for h:selectOneRadio giving me this problem.

I have also tried putting the dataTable in a4jutputPanel but it also didnt worked.

Can anybody please help?

Thanks

[ November 13, 2007: Message edited by: Harry Kirsten ]
[ November 13, 2007: Message edited by: Harry Kirsten ]
Amit Nair
Greenhorn

Joined: May 23, 2006
Posts: 16
Hi Harry

Could paste complete code of jsp.
btw what is the scope of your backing bean??
chaibi Amine
Greenhorn

Joined: Dec 15, 2010
Posts: 1
Hi,
I have the same code but it works, the rendred id is panelgrid id,
<h:selectOneRadio
value="#{myBean.value}">
<f:selectItems value="#{items}" />
<a4j:support event="onclick"
actionListener="#{myBean.do}"
reRender="list"></a4j:support>
</h:selectOneRadio>
a+.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem using h:selectOneRadio & a4j:support