Include javascript with resources via h:outputScript

后端 未结 4 850
伪装坚强ぢ
伪装坚强ぢ 2021-02-10 22:16

I would like to include JScolor to my jsf application. It is possible via

4条回答
  •  耶瑟儿~
    2021-02-10 23:02

    Suppose your js file's path (file named jquery.js) into resources/js folder like that:

    resources/js/jquery.js
    

    Then you have to write:

    
    

    PS. Pay attention on attribute target (eg head, body)

提交回复
热议问题