Register / Login
posted 6 years ago
Is it possible to render a PopupBean residing in a different managedbean.
E.g. (Using Netbeans Visual Web)..
I've created 1st page called Temp1(session scope). Which contains a Button.. and the popup code.. When the button is clicked on it sets a boolean in the bean to true and the popup shows.
Next I created a New page, Temp2.. And again a button.. This time I want the same Popup to show thats defined in Temp1. So when I click, I set the boolean to true in Temp1 but theres no show..
Any ideas how to get this scenario working?
Basically I'm aiming to build a managed bean purely to contain a set of popups and keep the code out of my other managed beans..
Regards, Dave Brown
SCJP 6 - [url]http://www.dbws.net/[/url] - Check out
I agree. Here's the link:
Struts and Popup
Unsaved data warning dialog boxes
Problem with initializing managed-property parameter
Dynamic navigation from Backing Bean Constructor.
Making component rendered using <p:commnadButton> via ajax