You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ba...@epamail.epa.gov on 2005/07/27 19:06:50 UTC

How can i reload parent page consistently?

Hi,

I have the following scenario

1) From a tapestry page, i open a popup window using pagelink
2) User selects an item from propertyselection component in popup
3) User clicks a button in popup which triggers a javascript that
submits the popup,tries to reload the parent page and closes itself

4) Parent page pageBeginRender(PageEvent event) is called which
prints(in log file) the updated data, but the html page is not updated
with
new data (Embedded image moved to file: pic27606.gif)Question(I can see
it if i manually reload the page!)

My javascript is as follows:
<script language="JavaScript">
function processAddCriteria()
{

document.Form0.submit();
window.opener.location.reload(true);
window.close();
}
</script>

I tried //window.opener.document.forms[0].submit(); as suggested by
someone, it does not work either.

Any suggestions would be greatly appreciated!!

Thanks.