myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Bichkevsky (JIRA)" <>
Subject [jira] [Commented] (MYFACES-4068) Ajax-Listener (PrimeFaces) is not called for some selection-components
Date Thu, 24 Nov 2016 17:21:58 GMT


Andrey Bichkevsky commented on MYFACES-4068:

Yes, I can confirm that execute="@this" isn't working, 
  <h:form id="f" >
    <h:selectOneRadio id="r" value="#{test.mode}">
      <f:selectItem itemValue="One"/>
      <f:selectItem itemValue="Two"/>
      <f:selectItem itemValue="Three"/>
      <f:ajax render="@form" execute="@this"/>
    <h:outputText id="out" value="#{test.mode}"/>

(no third-party libraries, tomee 7.0.2 with the latest myfaces snapshot)

> Ajax-Listener (PrimeFaces) is not called for some selection-components
> ----------------------------------------------------------------------
>                 Key: MYFACES-4068
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.10, 2.2.11
>         Environment: MyFaces 2.2.10/2.2.11 on Wildfly 9.0.2, PrimeFaces 5.3 or 6.0
>            Reporter: Bernhard Hablesreiter
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.12
> Recently we ran into some problems getting a PrimeFaces "p:ajax"-Component attached to
a h:selectManyCheckbox or h:selectOneRadio.
> The problem here is, that the specified "listener"-action is not called.
> We first thought this is a PF issue but in only started with version 2.2.10 of MyFaces.
In Version 2.2.9 it worked just fine and propably a default jsf-ajax-listener won't work as
well (not tested though).
> E.g. we have this non-working code where the listener action is not called (no matter
what event-type we specify):
> {code:xml}
> <h:selectManyCheckbox layout="pageDirection" value="#{bean.mySelection}">
> 	<f:selectItems value="#{selectionItems}" />
> 	<p:ajax process="@this" listener="#{myBean.selectionChanged}" update="@form" global="false"
> </h:selectManyCheckbox>
> {code}
> We're not sure if this should be fixed on PF side, but as mentioned before, the problem
started with the switch to MyFaces 2.2.10.

This message was sent by Atlassian JIRA

View raw message