Re: Having a "Default" commandButton

2005-12-15 Thread Simon Kitching
r fired the commandButton's action Does anyone else notice this behavior? - Brendan -Original Message- From: Travis Reeder [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>] Sent: Wednesday, September 28, 2005 11:30 AM To: MyFaces Discussion Subject: Re

Re: Having a "Default" commandButton

2005-12-15 Thread Travis Reeder
  Then added another empty inputText ==> hitting enter fired thecommandButton's actionDoes anyone else notice this behavior? - Brendan-Original Message-From: Travis Reeder [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 28, 2005 11:30 AMTo: MyFaces DiscussionSubject: Re: Havi

RE: Having a "Default" commandButton

2005-09-29 Thread CONNER, BRENDAN \(SBCSI\)
added another empty inputText ==> hitting enter fired the commandButton's action Does anyone else notice this behavior? - Brendan -Original Message- From: Travis Reeder [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 11:30 AM To: MyFaces Discussion Subject: Re: Havi

Re: Having a "Default" commandButton

2005-09-28 Thread Mike Kienenberger
I seem to recall from my last Struts project that this was browser-dependent. Generally speaking, I think either the first or the last button on the form is the one that gets triggered by default. On the other hand, you can set some on-click code for a particular input component so that it activat

Re: Having a "Default" commandButton

2005-09-28 Thread Travis Reeder
I don't think there is one in MyFaces, but there probably should be something in tomahawk that can do this. I noticed this one a bit ago: http://www.jsftutorials.net/defaultActionTag.html that does this. Travis On 9/28/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > Is there a way to sp

Having a "Default" commandButton

2005-09-28 Thread CONNER, BRENDAN \(SBCSI\)
Is there a way to specify one's so it is the "default" button? In other words, is there a way to specify it such that it is clicked when the user hits the "enter" key? Also, on a related note, is there a way to specify an such that the cursor gets placed there automatically when the page loads,