Also, I think that Julian Klappenbach had some good ideas on how to build in good key binding support in Wicket. Julian, are you reading with us?
Eelco On 6/21/07, Joe Toth <[EMAIL PROTECTED]> wrote: > Hope this helps > > http://www.nabble.com/forum/ViewPost.jtp?post=10675702&framed=y > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David > Leangen > Sent: Friday, June 22, 2007 2:33 AM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicket-user] Binding the "Enter" key with a button > > > I am indeed talking about the "Go" button in my form. It is providing > the correct behaviour. > > Now, what I'm looking for is to allow the user to submit the form by > just hitting "enter" rather than having to click the "Go" button. > > I thought that I would need to bind the enter key to the go button... > are you suggesting that there is a way of capturing the enter key and > binding it somehow to the form submission? > > > If there is, then that would be fine, too. > > So I guess there's two ways of going about this: > > 1. Bind "enter" to a button > > 2. Capture "enter" and bind to form submission > > > Either way, I don't know how to do this. Can anybody provide any hints? > > > Thanks! > Dave > > > > > > On Fri, 2007-06-22 at 10:05 +0530, Swaroop Belur wrote: > > Hi > > > > One solution but not the ideal one would be (assuming go is a submit > > button), > > to override the onSubmit of the form and to perform the action which > > you would do in your Go.So when u hit enter form would be submitted > > and action for go would be invoked. > > > > But may not what u r actally looking for > > > > > > > > On 6/22/07, David Leangen <[EMAIL PROTECTED]> wrote: > > > > I hope this isn't an obvious question again... I did try > > searching. ;-) > > > > Could somebody kindly point me to some doc that explains how > > to bind a > > key to a form component? > > > > In this case, I want to bind the "Enter" key with my "Go" > > button. > > > > > > Thanks! > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and > > take > > control of your XML. No limits. Just data. Click to get it > > now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user