The moose likes JSF and the fly likes command button issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "command button issue" Watch "command button issue" New topic

command button issue

lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
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.?

Dominik Scholz

Joined: Mar 30, 2009
Posts: 8

does this help you?
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
No, not that way.

I agree. Here's the link:
subject: command button issue
jQuery in Action, 3rd edition