• 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
Safari: Using a WOSubmitButton inside a JSConfirmPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Safari: Using a WOSubmitButton inside a JSConfirmPanel


  • Subject: Safari: Using a WOSubmitButton inside a JSConfirmPanel
  • From: Kaj Hejer <email@hidden>
  • Date: Fri, 29 Aug 2003 16:05:59 +0200

Hi!

In some of our GUIs for edting items in WO appplications we have three sumbit-buttons:

save  cancel  delete

The deletebutton is inside a JSConfirmPanel to make the user confirm a delete.

When clicking the deletebutton in any browser except from Safari only the method bound to the action binding of JSConfirmPanel is triggered.

In Safari both the actionmethod for the JSConfirmPanel and the WOSubmitButton are triggered, and we get the following in the log for the application:

[2003-08-29 15:44:29 CEST] <WorkerThread4> <WOWorkerThread id=4 socket=Socket[addr=/127.0.0.1,port=62835,localport=8888]> Exception while sending response: java.net.SocketException: Broken pipe


The html-generated is

<a onClick="return confirm('Are you sure?')" href="/as/WebObjects/nettlogg.woa/wo/5.0.0.0.UIOProfilContainerNOR.16.2.1.1.11.5.0.2">
<input type=submit value="Delete" name="0.0.0.UIOProfilContainerNOR.16.2.1.1.11.5.0.2.7">
</a>



I'm not sure if this is a bug in Safari or maybe this is the way the other browsers should have done it :) Has anybody here any thoughts about that question?




-Kaj :)
_______________________________________________
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.

  • Prev by Date: RE: Ordering of operations in editingContext
  • Next by Date: Webobject Windows Trial
  • Previous by thread: Please sign up for WebObjects Meetup
  • Next by thread: Fwd: Safari: Using a WOSubmitButton inside a JSConfirmPanel
  • Index(es):
    • Date
    • Thread