Yes, I could add a button, but it would be better to take action when user hit the return key in the password text field.
-----Original Message----- From: Bernd Bohmann [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 1:58 PM To: MyFaces Discussion Subject: Re: [Tobago] inut text field or password text filed as submittion Hello Sam, you can define a default Button per page. <tc:button defaultCommand="true" label="Login"/> Regards Bernd Wong, Emmanuel (Sam) wrote: > Hi: > > Could anyone know how to login into the application without > clicking the login button? I have a login page and would like user > input the password, then user hits the "ENTER" key will go into the > application. I tried to use valueChangeListener, is this the only way? > Thanks. > >