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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -