Kevin,

I have done something similar in my App. I am not using trinidad though. here 
is the piece of javascript code that I used in the popup window to reload the 
parent window. The first line refreshes the main window and the second line 
closes the popup window. 

  window.opener.refreshForm();
  window.close();

Hope this helps,
Nitin


--- On Fri, 7/18/08, Kevin.A.D'[EMAIL PROTECTED] <Kevin.A.D'[EMAIL PROTECTED]> 
wrote:

> From: Kevin.A.D'[EMAIL PROTECTED] <Kevin.A.D'[EMAIL PROTECTED]>
> Subject: [Trinidad] Dialogs and parent windows
> To: [email protected]
> Date: Friday, July 18, 2008, 9:12 AM
> Hi,  I'm using Trinidad in an application and have a
> popup window used to gather 
> user input. Once the user has finished entering their data
> and the popup window has closed, I need to reload the main
> window. As far as I know there are only two ways of
> accomplishing this:    - Using JavaScript to force a page
> reload 
>   - Using a Faces action to reload the page  I haven't
> successfully achieved this with either solution. The issue
> with the JavaScript is that there seems to be no link
> between the popup window and the parent page (i.e. the
> opener object is null). 
> Faces actions also don't seem to be an option since the
> available ReturnEvent handler method can't lead to a
> Faces navigation event.  Has anyone any ideas for a
> solution to this problem?  Many thanks,  Kev 
> ------------- 
> Kev D'Arcy 
> Departmental Solutions 
> B2 Bankcentre 
> Ballsbridge 
> Dublin 4 
> Ireland 
> 
> Tel:  353 1 6411794 
> Fax:  353 1 6688626 
> Email:  [EMAIL PROTECTED]


      

Reply via email to