Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-2960

a4j:push and Facelets - eventProducer method won't get called

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.0.SR1, 3.2.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Java 1.6
      JBoss 4.2.2 GA
      Facelets 1.1.14

      Description

      Push doesn't work anymore. The method to register event listener won't get called. The same code works fine with RichFaces 3.1.4

      index.xhtml

      <h:outputText id="msg" value="Test page. The method addListener won't be called."/>
      <a4j:region>
      <h:form>
      <a4j:push reRender="msg" eventProducer="#

      {messageBean.addListener}

      " interval="3000"/>
      </h:form>
      </a4j:region>

      MessageBean:

      public void addListener(EventListener listener) {
      System.out.println("MessageBean.addListener");
      }

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mvitenkov Mikhail Vitenkov
                  Reporter:
                  egalperin Eugen Galperin
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: