Nino, Thanks for the pointer. I'll take a look at that. It looks promising.
On Nov 9, 2007 12:30 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > take a look at > http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events > > > vr.sundar wrote: > > Hi, > > > > I have to activate a hidden option when a user shift+clicks something. > > How do I go about doing this? From reading the docs, the idea I > > currently have is this: Add a new behavior that extends > > AjaxEventBehavior for the onClick event.This behavior should > > contribute some javascript that is used on the onClick event. Add this > > new js function to the event processing using the IAjaxCallDecorator > > interface. This js function will check if event.shiftKey is true. If > > so, do the usual wicketAjaxGet otherwise do nothing. > > > > Is this doable? Am I on the right track or is there some simpler way. > > Any suggestions greatly appreciated. My other option is to have a > > hidden link with an accessKey that I can use to get the job done. But > > from what i read accessKey seems to work differently on diff browsers > > and OS. > > > > thanks > > sundar > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Nino Martinez Wael > Java Specialist @ Jayway DK > http://www.jayway.dk > +45 2936 7684 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]