ICEfaces
  1. ICEfaces
  2. ICE-3120

Modal popups visible property is reset after being dragged

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      A modal popup is set to draggable and is displayed on load of a page. On the popup there is a command button that will hide the popup when clicked by setting its visible property to false. This works fine unless the popup is dragged. This seems to be setting the visible property to true on all submits. If for example the popup is part of a panelTab navigating to another tab and then back to the first tab will show the popup when it should of been set to false from closing the popup. This behavior is also replicated in navigating to another page when the popup is part of a facelets template. In this case if the popup is not dragged then the popup does not re-appear, but if the popup is dragged it re-appears on every page that is navigated to. I have been able to reproduce this issue in a facelets example and a non-facelets example.
      1. main.jspx
        3 kB
        Arran McCullough
      2. TestBean.java
        0.6 kB
        Arran McCullough

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran McCullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: