[richfaces-issues] [JBoss JIRA] (RF-13066) a4j:ajax does not work with tomahawk radiobuttons
Andrea Martino (JIRA)
jira-events at lists.jboss.org
Mon Jun 24 10:28:21 EDT 2013
[ https://issues.jboss.org/browse/RF-13066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784028#comment-12784028 ]
Andrea Martino commented on RF-13066:
-------------------------------------
Hi Brian, the method RenderKitUtils#decode(javax.faces.context.FacesContext, javax.faces.component.UIComponent) is not executed above (I think it is only executed when a RichFaces components like a4j:commandButton are decoded).
The Ajax behavior when <a4j:ajax /> is used is instantiated here:
org.richfaces.view.facelets.html.AjaxHandler#apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)
The AjaxHandler above is executed when decoding the tomahawk RadioButton
> a4j:ajax does not work with tomahawk radiobuttons
> -------------------------------------------------
>
> Key: RF-13066
> URL: https://issues.jboss.org/browse/RF-13066
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.0.Final
> Environment: a4j:ajax does not work inside a tomahawk radiobutton
> Reporter: Andrea Martino
> Labels: a4j:ajax
> Fix For: 5-Tracking
>
> Attachments: aj4_ajax_tomahawk_issue.png
>
>
> for example the following code does not work:
> {code}
> <t:selectOneRadio id="myRadio" value="#{testtest.xxxEnum}" layout="spread">
> <s:enumItem enumValue="XXX" label="XXX" />
> <s:enumItem enumValue="YYY" label="YYY" />
> <a4j:ajax />
> </t:selectOneRadio>
> <div class="ct-radio">
> <strong><t:radio id="radio1" for="myRadio" index="0"/></strong>
> </div>
> <div class="ct-radio">
> <strong><t:radio id="radio2" for="myRadio" index="1"/></strong>
> </div>
> {code}
> If I replace <a4j:ajax/> by <f:ajax/> everything works as expected. I would like to user a4j:ajax instead of f:ajax because tooltips are not correctly refreshed when I use f:ajax (there should be already a bug opened for that).
> PS: I'm using tomahawk 1.1.14
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list