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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -