• 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
How do I change default button in JSConfirmPanel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I change default button in JSConfirmPanel?


  • Subject: How do I change default button in JSConfirmPanel?
  • From: Calven Eggert <email@hidden>
  • Date: Wed, 20 Dec 2006 17:20:42 +0100
  • Thread-topic: How do I change default button in JSConfirmPanel?

Title: How do I change default button in JSConfirmPanel?
Howdy all,

I thought that this would be an easy one.

The user gets the JSConfirmPanel and asks them if they really want to delete all the records in the database and because it’s easier the user hits the enter button. DOH! Bye bye records.

The default for this dialog is OK.  How do I change this to Cancel? (In JSConfirmPanel.java I could change the return call which uses the confirm command, but what do I change it to?  Is this the right place?)

Calven
 _______________________________________________
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: How do I change default button in JSConfirmPanel?
      • From: Mark Morris <email@hidden>
  • Prev by Date: Re: Accessing variables of one applciation from another application
  • Next by Date: Re: Webobjects-dev Digest, Vol 3, Issue 830
  • Previous by thread: Re: Accessing variables of one applciation from another application
  • Next by thread: Re: How do I change default button in JSConfirmPanel?
  • Index(es):
    • Date
    • Thread