• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Refreshing parent window from popup...

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm having problems refreshing my parent window under the following situation...
Parent opens another window showing the status of file upload/validation process. If the validation fails another window is opened allowing data to be changed. When this window is closed the validation process is restarted and the status/validation window is reloaded. If the process is successful this time, on closing the window I wish the parent to be refreshed with the imported data. Currently I get the javascript error 'object' is undefined.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when you refresh the pop up you loose the parent looses the child object.
The only solution to this problem is usining a zero height frame on the parnet window and opeing the pop up from there. You only refresh the hidden frame.
 
Simon Haywood
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll give that a try.
Thanks.
 
Simon Haywood
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Maybe I'm having a bad day today, but still have problems with reloading parent page. Have tried implementing your suggested solution and still the the problem with lost child/parent. I may not have fully understood your solution, so could you please explain in more detail.

Thanks in advance
Simon
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will try to get you some basic code this afternoon..I am under a tight deadline and do not have much time today.
 
reply
    Bookmark Topic Watch Topic
  • New Topic