Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4068

Ajax-Listener (PrimeFaces) is not called for some selection-components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.10, 2.2.11
    • 2.2.12
    • None
    • None
    • MyFaces 2.2.10/2.2.11 on Wildfly 9.0.2, PrimeFaces 5.3 or 6.0

    Description

      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):

      <h:selectManyCheckbox layout="pageDirection" value="#{bean.mySelection}">
      	<f:selectItems value="#{selectionItems}" />
      	<p:ajax process="@this" listener="#{myBean.selectionChanged}" update="@form" global="false" />
      </h:selectManyCheckbox>
      

      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.

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              bernhardhablesreiter Bernhard Hablesreiter
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: