How to add different javascripts on a page when using ui:composition

后端 未结 2 1315
情话喂你
情话喂你 2021-01-02 23:24

I am using a page with ui:composition use on it like this




        
2条回答
  •  再見小時候
    2021-01-02 23:31

    You do not have to do this using ui:inserts. Wherever you need to add a javascript file in your pages. Just add like this using resource API.

    
    

    For this create folder WebContent/resources/javascript and put that 1.js in javascript folder.

提交回复
热议问题