geeehhdaa
geeehhdaa

Reputation: 822

JSF: f:ajax listener not called for t:selectOneRadio

This is my code:

<t:selectOneRadio id="someId" layout="spread" forceId="true" forceIdIndex="false" value="#{someHandler.value}"  required="true">
                <f:selectItems value="#{someOtherHandler.values}" var="item" itemLabel="#{item.name}" />
                <f:ajax listener="#{someHandler.toggle}" render="form:all" />       
</t:selectOneRadio>

But the toggle-Listener is never called:

public void toggle(AjaxBehaviorEvent event) {
    // ...
}

I have googled and found this bug report, but I don't understand how I can work around it.

Any ideas?

I have Tomahawk 1.1.10 and JSF 2 (MyFaces).

Upvotes: 0

Views: 1158

Answers (1)

maple_shaft
maple_shaft

Reputation: 10463

The bug states that the issue was resolved in version 1.1.11-SNAPSHOT.

The easiest way to workaround this would be to upgrade to this latest snapshot build.

Upvotes: 3

Related Questions