Christian Beikov created DELTASPIKE-1390:
--------------------------------------------

             Summary: Client window handler doesn't work with frames
                 Key: DELTASPIKE-1390
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1390
             Project: DeltaSpike
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: JSF-Module
            Reporter: Christian Beikov
             Fix For: 1.9.2


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to