If there is no Wicket-centric answer to this, it's a Javascript question.

I have an AjaxEventBehavior("onclick") behaviored attached to a
wicket-rendered table/tr.

I am trying to render html links within each rendered item, and not
have the wicket-onclick behavior executed if the user clicks on a link
within the itm.

The typical solution I found online is some variation of the following
used for the onclick property of the generated links:

        e = window.event; e.cancelBubble = true; e.returnValue = false;
        if (e.stopPropagation) { e.stopPropagation(); e.preventDefault(); }
        return false;

However this isn't working, and it doesn't seem Wicket-centric either.

Any experience out there with this event bubble-up problem?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to