This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Similar Threads
action method not invoked
dataTable problem
Enter key
commandbutton inside panelgroup dont work
JSF : Differenc e between attribute and property of a component