jsf 1.2 - JSF commandbutton onclick event not working -


I'm trying to use normal JSF commandbutton instead of submit button. I'm using this for

  & lt; H: commandButton value = "clickme" type = "button" onclick = "window.print ();" />   

But normal raw HTML functions

  & lt; Input type = "button" name = "demo" value = "clickme" onclick = "window.print ();" / & gt;   

When I display the window from the onclick. The print () button is displayed.



Comments

Popular posts from this blog

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

sql - Return Function using Cursor -