Hi Shravan,

why not add a binding to WOHyperlink:

onclick  "return confirm('Are you sure you want to delete this?');"

Gordon

On 30-Sep-09, at 3:05 PM, Shravan Kumar. M wrote:

Hi John,

I have a page with "Delete" links in a list to delete each row. Each row corresponds an EO. When we click on "Delete" link we have to confirm from user if (s)he is sure of doing that. So, we have added a confirm() js here and upon clicking ok, we have decided to use window.location.href = "<delete link url for the row user clicked>";

Please let me know if you need any other information.

Thank you,
Shravan Kumar. M
----------------------------------

--- On Wed, 9/30/09, John Huss <[email protected]> wrote:

From: John Huss <[email protected]>
Subject: Re: how different are these urls working?
To: "Shravan Kumar. M" <[email protected]>, "WebObjects-Dev Mailing List List" <[email protected]>
Date: Wednesday, September 30, 2009, 11:58 PM

We'll need more info than that.

On Wed, Sep 30, 2009 at 1:08 PM, Shravan Kumar. M <[email protected] > wrote:
Hi Group,

This does NOT work, i.e., this does NOT invoke WOComponent action method, but just invokes appendToResponse(resp, ctx), invokeAction(req, ctx). This link is generated in a WORepitition: window.location.href = /MSK/WebObjects/DemoApp.woa/-50000/wo/ QbBT4uH3SmcSODt3O2rc6g/2.5.11.7.1.0.1.11.2

This works fine:
window.location.href = /MSK/WebObjects/DemoApp.woa/-50000/wo/ ubxmGDcAhE5cfjq7gDcMFM/19.5

Please advise, what could be the reason and any probable solution.

Thank You,
Shravan Kumar. M
--------------------------------------


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca

This email sent to [email protected]

Gordon Belray
Application Programmer
Information Technology Services
University of Toronto Libraries
[email protected]
416-946-8617 w
416-427-7007 m



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to