Hi,

I have a screen that shows a list (using wicket datagrid).
Each row has an href/link that is opening the wicket modal window.

It works well, but the users wanted ability to mouseover (instead of having to click)
to automatically open the window (without clicking the link).

I accomplished this (thanks wicket!) by doing:

 AjaxEventBehavior mouseover = new AjaxEventBehavior("onmouseover"){


Now, the problem arises: the users want to introduce a delay before handling the mouseover. Using javascript setTimeout seems like the way to handle this, but what is the correct strategy for getting wicket to emit this javascript?

eg: setTimeout('wicketfunction', 1000)
or see here for javascript overview:
http://www.w3schools.com/js/js_timing.asp

So my questions are:

1. Does wicket already have me covered and I can't find it?

2. If no, Should I do something similar to what I see in the Wicket.Throttler code?

3. Any other ideas on best extension approach. (override AbstractDefaultAjaxBehavior?)

TIA
James







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to