Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1390

Client window handler doesn't work with frames

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.9.2
    • JSF-Module
    • Security Level: public (Regular issues)
    • None

    Description

      The CLIENTWINDOW handler code loses the window when frames are involved.

      Using e.g. a window scoped bean with the Primefaces Dialog Framework will result in issues. The bean is initialized in window1. A click on a button opens a dialog, which is opened through an iframe, but the dialog doesn't use the window id defined in the parent window. If a button in the dialog requires the original bean, it will find an uninitialized bean, because the frame gets a new window id window2.

      The solution is to use the root window for the window id.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cbeikov Christian Beikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m