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 specify one's <h:commandButton> 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 <h:inputText> such > that the cursor gets placed there automatically when the page loads, > rather than requiring the user to first click on the text box before > typing? > > - Brendan >

