This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "command button issue" Watch "command button issue" New topic
Author

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.?

-thanks
Dominik Scholz
Greenhorn

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: http://aspose.com/file-tools
 
subject: command button issue