• 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
Calling AjaxModalDialog programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling AjaxModalDialog programmatically


  • Subject: Calling AjaxModalDialog programmatically
  • From: Roger Perryman <email@hidden>
  • Date: Wed, 19 Feb 2014 18:19:43 -0500

Hi.

What is the correct way to open an AjaxModalDialog programmatically after evaluating some criteria? I know that I can call it via Javascript using openAMD_<ID>(). But that isn't exactly what I'm looking for. Since I need to evaluate what they have done first, I guess I would need to update the page in order to trigger the action to open the dialog? It also closes the current window and processes the action binding. I want to be able to present a warning message when the user presses a button/hyperlink (such as cancel) and there are changes pending. They can then choose to return to the page or continue and discard any changes. I have other similar situations where the user should be alerted to the consequences of their actions and given a chance to correct, ignore or take another action.

Any help would be appreciated!

Thanks,

Roger



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Calling AjaxModalDialog programmatically
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WOUnit testing with partial entities
  • Next by Date: Re: Calling AjaxModalDialog programmatically
  • Previous by thread: Re: Items mysteriously disappearing from the destination of a relationship
  • Next by thread: Re: Calling AjaxModalDialog programmatically
  • Index(es):
    • Date
    • Thread