Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

command button issue

 
lynn fann
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cant get the command button to be rendered as normal button. I have try to set type="button", but when it is rendered out, in html is type="submit".
i need the button to be type button as i need to trigger javascript when onclick.

Im using jsf 1.2.

Anyway to overcome this issue.?

-thanks
 
Dominik Scholz
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

does this help you?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, not that way.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic