<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: JSF Exit End not closing parent Dialog</title><link>https://answers.axonivy.com/questions/1546/jsf-exit-end-not-closing-parent-dialog</link><description>&lt;p&gt;Hello ivy team,
is it possible to "broadcast" a button click event to a parent window in jsf?
We would like to create a toolbar (save, cancel, continue) in a seperate Dialog in order to reuse it later.
The toolbar is a child dialog of the main window.
If I click a button in the toolbar which is connected to an "Exit End", the main window will not be closed.
What is the best way to fix this?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1546/jsf-exit-end-not-closing-parent-dialog" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 09 Nov 2015 15:38:52 -0500</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1546/jsf-exit-end-not-closing-parent-dialog/1547</link><description>&lt;p&gt;A JSF component can by design not close itself. &lt;/p&gt;
&lt;p&gt;But its possible to pass a callback method from the parent logic into the child component.
See HtmlDialogDemos/ComponentEventListenerDemo.ivp&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 09 Nov 2015 15:38:52 -0500</pubDate><guid>https://answers.axonivy.com/questions/1546/jsf-exit-end-not-closing-parent-dialog/1547</guid></item></channel></rss>