You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Christian Beikov (Jira)" <ji...@apache.org> on 2019/10/11 12:37:00 UTC
[jira] [Created] (DELTASPIKE-1390) Client window handler doesn't
work with frames
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)