thats what checkboxes are for....

-igor

On Sat, May 1, 2010 at 8:23 AM, Martin Zardecki <mpza...@truecool.com> wrote:
> Hi List, I have an AjaxLink where I use onClick and everything works well but 
> I'd like to add a separate behaviour when the user shift-clicks the link.
>
> The idea is to achieve something similar to when using a Explorer in Windows 
> or in any file picker where a single click selects one item whereas 
> shift-clicking selects multiple items.
>
> I can probably achieve this using brute force where I add some JS to my link 
> then use wicketAjaxGet to callback to an AbstractDefaultAjaxBehavior but I 
> was wondering if there was a way to do this nicely and cleanly.
>
> I had a quick look at InputBehavior from Wicket contrib but it doesn't look 
> like that will do the trick.
>
> Any advice or tips appreciated.
>
> Thanks list.
>
> Martin
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to