[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 07:56:21 EDT 2013


    [ https://issues.jboss.org/browse/RF-13066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783923#comment-12783923 ] 

Andrea Martino commented on RF-13066:
-------------------------------------

Hi Brian, no the event is right I checked both in Java code and "sniffing" the AJAX request (see the attached screenshot).

I also tried to "forward" the events sent to the "spread" radiobutton to the main component but also without luck.

The problem here is that when I click on one radiobutton (for example id="radio2") the main component is not executed when visiting the tree... I am really confused, now I think again this should be fixed on RichFaces side and not on MyFaces...

I think I'm giving up. :-/
                
> 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