Yes, you can. Override installPatches() in Application, call super to get the Wonder defaults, then
On 2015-02-06, 1:06 AM, "OC" wrote:
Hmmm, it looks like
<wo:hyperlink ... _onclick_="var hr=this.href;this.href='';window.location.href="">
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