ICEfaces
  1. ICEfaces
  2. ICE-10706

ace:fileEntry - Dynamic inclusion causing page refresh

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03
    • Fix Version/s: 4.1, EE-3.3.0.GA_P04
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
       - Add an f:ajax tag to the commandButton.
       - Have the fileEntry component rendered initially.
       - Move the fileEntry include to its own form tag.
      Show
       - Add an f:ajax tag to the commandButton.  - Have the fileEntry component rendered initially.  - Move the fileEntry include to its own form tag.

      Description

      When dynamically including content that has an ace:fileEntry on a page and the user clicks a standard h:commandButton, a full page refresh/update is seen.

      This happens only if the fileEntry component is not on the page on the initial load but dynamically added. It also only happens for a button that doesn't use an f:ajax tag (<h:commandButton action="#{fileEntry.doNothing}" value="Do nothing" />). If the fileEntry component is removed from the page, the refresh behavior remains.

        Activity

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: