Can't execute Javascript in jsf page

后端 未结 2 1671
南方客
南方客 2021-02-09 12:30

I\'m new to jsf. I have been trying to do a simple Javascript function with commandbutton. I tried many times but wasn\'t even able to do an alert message. This is part of my co

2条回答
  •  终归单人心
    2021-02-09 13:02

    Any thing defined outside ui:composition is ignored.So place your content inside this tag and it will work: Something like this:

     
      
    
    
    

提交回复
热议问题