Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

input type="button" -> equivalent in JSF  RSS feed

Augustine Chelliah
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to know what is the equivalent of input type="button". I've tried <t:commandButton type="button"> but it did not work.

I have three buttons in one JSP. All are <t:commandbutton> the quivalent in html is input type="submit". When I start typing in a text field the first button gets focussed so when the user presses enter the first button's action is called. I want the last button's focus to be set as default. If we have input type button then will it work??? Are there any other better ways on implementing this ??
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!