ICEfaces
  1. ICEfaces
  2. ICE-9400

h:commandButton in ace:tabPane label facet causes full page update although h:commandLink works

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3, EE-3.3.0.GA
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ace:tabPane + h:commandButton

      Description

      When there is an h:commandButton in a ace:tabPane label facet, clicking the button causes full page update. Using an h:commandLink instead does a proper ajax update.

      This might be due to an interaction with the tabPane's rendered javascript that tries to stop the label facet click events from bubbling up and causing selected tab changes. It uses a test for ice.ace.util.isEventSourceInputElement, and then does a cancelBubble=true, but does not use stopPropagation.

      My theory is that by canceling the bubbling, so that our event code in the form will not do an ajax request, the built-in browser handing may then do a full form submit. That wouldn't happen with h:commandLink, since it directly calls a JSF javacscript function to do a submit.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: