ICEfaces
  1. ICEfaces
  2. ICE-11466

The event listener for the "submit" ajax event in the ace:tableConfigPanel is never called

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-4.2.0.GA
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Windows 7 / Java 8 server
      Firefox and Chrome browsers

      Description

      Extend the ace:tableConfigPanel - Overview in ICEfaces Showcase with
      Ajax event listeners:
      <ace:ajax event="submit" listener="#{deviceTableConfigPanelBean.submitTableConfigAjaxEvent}" />
      <ace:ajax event="cancel" listener="#{deviceTableConfigPanelBean.cancelTableConfigAjaxEvent}" />

      and

          public void submitTableConfigAjaxEvent(javax.faces.event.AjaxBehaviorEvent event)
          {
           System.out.println("submitTableConfig()");
          }

          public void cancelTableConfigAjaxEvent(javax.faces.event.AjaxBehaviorEvent event)
          {
           System.out.println("cancelTableConfig()");
          }

      Open the table config panel,
      click on cancel -> "cancelTableConfig()" printout!
      Open the table config panel, click on submit -> no printout!

      swap the listener declarations in the xhtml file

      Open the table config panel,
      click on cancel -> "submitTableConfig()" printout!
      Open the table config panel, click on submit -> no printout!

      In the request parameters the following is found:
      javax.faces.behavior.event submit
      javax.faces.partial.event submit
      javax.faces.partial.ajax true
      but the submit event does not seem to reach the backing bean

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Fredrik Reinodt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: