Re: prevent the user to click again the same wo:hyperlink whilst page reloads?
Re: prevent the user to click again the same wo:hyperlink whilst page reloads?
- Subject: Re: prevent the user to click again the same wo:hyperlink whilst page reloads?
- From: OC <email@hidden>
- Date: Fri, 06 Feb 2015 10:06:41 +0100
On 6. 2. 2015, at 8:47, OC <email@hidden> wrote:
> Hmmm, it looks like
> <wo:hyperlink ... onclick="var hr=this.href;this.href='javascript:void(0)';window.location.href=hr">
> might work all right.
Whilst I could go through all the wo:hyperlinks in my templates, it would be sort of more convenient to do this at one place.
I've found that ERXHyperlink “is patched automatically into the runtime system on application startup”. Can't I do that myself, defining my own subclass of ERXHyperlink, and patch _it_ into the runtime system? If so, how?
Thanks!
OC
_______________________________________________
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