Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1551

FormFragment change visibility/hide and remove event listeners should call event.stop() to prevent container fragments from also being hidden

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3, 5.2.5
    • Fix Version/s: 5.3, 5.2.6
    • Component/s: None
    • Labels:
      None

      Description

      In 5.2.x, FormFragment switched from using direct calls to a "setVisible" function on the fragment to using an event-based approach where the fragment element listens for the Tapestry.CHANGE_VISIBILITY_EVENT or the Tapestry.HIDE_AND_REMOVE_EVENT. The current implementation, however, does not allow for nesting form fragments because the event listeners do not call event.stop(), so the event continues to propagate, so hiding an "inner" form fragment hides the outer form fragment, as well.

        Attachments

          Activity

            People

            • Assignee:
              ongakugainochi Robert Zeigler
              Reporter:
              ongakugainochi Robert Zeigler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: