...@gmail.com
Date: May 1, 2010 2:25:25 PM MDT
To: users@wicket.apache.org
Subject: Re: How to do an AjaxLink shiftOnclick behaviour?
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
do not have explicit support for shift
clicking any more than Links do.
On 2010-05-02, at 4:29 PM, users-digest-h...@wicket.apache.org wrote:
From: Igor Vaynberg igor.vaynb...@gmail.com
Date: May 1, 2010 2:25:25 PM MDT
To: users@wicket.apache.org
Subject: Re: How to do an AjaxLink
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
you are trying to mix keyboard and mouse events which is not possible in
javascript I think
see http://www.javascriptkit.com/jsref/eventkeyboardmouse.shtml for more
info
On Sat, 2010-05-01 at 09:23 -0600, Martin Zardecki wrote:
Hi List, I have an AjaxLink where I use onClick and everything
you are trying to mix keyboard and mouse events which is not possible in
javascript I think
see http://www.javascriptkit.com/jsref/eventkeyboardmouse.shtml for more
info
Pretty sure it's possible in modern browsers at least:
http://www.javascripter.net/faq/ctrl_alt.htm
you are totally right!
http://jsfiddle.net/Z383n/
so now just add ajaxeventbehavior to your wicket component and override
its getAjaxCallDecorator() method to check the event object and decide
what action to fire
On Sat, 2010-05-01 at 11:06 -0600, Martin Zardecki wrote:
you are trying to mix
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