You'd better refer the form with its concrete name:
window.opener.document.forms['myform'] or window.opener.document.myform or
some thing like this in order to be sure u submit the proper form.
If u look into the HTML of the JSF page u may notice there are more than one
form.
----- Original Message -----
From: "Rogerio Pereira" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Thursday, May 04, 2006 10:52 PM
Subject: how update an window from another window
I have a popup window that must update the page with some dataTables in the
parent window when i click on close button, how can i do it?
I tried:
window.opener.document.forms[0].submit()
and the dataTable isn't updated
window.opener.location.reload()
but this method calls shows a message box about re-submiting data all the
time
Any idea?
--
Yours truly (Atenciosamente),
Rogйrio