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: Theodore Petrosky <email@hidden>
- Date: Fri, 06 Feb 2015 05:51:12 -0500
Actually NY State Tax office uses this feature. You click the button to debit your bank account, then wait. I have watched a user click, wait 2 minutes before clicking it again. You are absolutely correct he was debited 2 times as a direct payment from his bank account. (Oh and you can not get the money refunded, they will apply the over payment to next year!)
So this could be a feature! depending on who you are.
On Feb 6, 2015, at 4:06 AM, OC <email@hidden> wrote:
> 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
_______________________________________________
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