Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem using h:selectOneRadio & a4j:support

 
Harshad Khasnis
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Harry

Could paste complete code of jsp.
btw what is the scope of your backing bean??
 
chaibi Amine
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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+.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic