Try the jeniapopup from www.jenia.org. There you can add a method to a attribute called actionClose This method is then executed, when the popup is closed and so you can refresh your page in this method Jenia.org has a good documentation, so implementation is easy.
Regards Andy -----Ursprüngliche Nachricht----- Von: Matias Gomez Carabias [mailto:[EMAIL PROTECTED] Gesendet: Montag, 9. Januar 2006 15:00 An: MyFaces Discussion Betreff: RE: Re: Redisplay-Refresh Laurie, I've tried calling a backing bean of the parent window before the window.close() and the method is executed successfully but the parent page is never refreshed. I've also tried to submit the parent's window form via javascript but nothing happened. Can you post a code example for your approaches? Thanks a lot Matias -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Saturday, January 07, 2006 3:32 PM To: users@myfaces.apache.org Subject: Re: Redisplay-Refresh Matias Gomez Carabias wrote: > Hi all again. I have the following question. My application has a > collection in the main page displayed by a t:dataTable, when a button is > clicked , it opens a popup window , and when a button is pressed in the > popup window, the collection may be changed and I need it to be > refreshed. > > Any clues on how to achieve this? Add an onUnload handler to the popup that refreshes its parent window? Or have the form in the popup window target (submit to) the parent window, and call window.close() from its onSubmit? L. ______________________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. ______________________________________________________________________