• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
JSModalWindow Close and Refresh Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JSModalWindow Close and Refresh Question


  • Subject: JSModalWindow Close and Refresh Question
  • From: James Cicenia <email@hidden>
  • Date: Wed, 31 Mar 2004 09:19:24 -0600

Hello -

I am a bit confused on bit of JSModalWindow...

On the calling page I have an action that does the usual
nextPage assignment with some initializations and my
window pops up perfectly. Upon cancel I do a
onClick binding with "self.close();";

However I can't seem to figure out how to close the window
on my submit button. It does perform my submits action method,
i.e., it update the database, but it doesn't close the window!?

I have tried binding onClick = "opener.refresh();self.close();";
and
onClick = "self.close();opener.refresh();";


but it neither closes the window or refreshes the window. Any thoughts here ?

Thanks

-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: JSModalWindow Close and Refresh Question
      • From: Jonathan Rochkind <email@hidden>
  • Prev by Date: Reminder WebObjects Developers Group, New York City
  • Next by Date: Re: Version Control System
  • Previous by thread: Reminder WebObjects Developers Group, New York City
  • Next by thread: Re: JSModalWindow Close and Refresh Question
  • Index(es):
    • Date
    • Thread