0 Replies Latest reply on Aug 5, 2011 7:32 AM by orkun

    confused about the location of js file

    orkun

      hello

       

      I am confused about the location of js file.

       

      I create a dir/js file as "resources/js/js1.js" under the root of application.

      Then

      tried to call it

      <h:outputScript library="js" name="js1.js"  />

      and

      <a4j:commandButton id="ilk" value="ilk" onclick="f1();"  render="harita1,extmin,extmax"  actionListener="#{MyBean.ilk}"   />

       

      it gives:

      JSF1064: Unable to find or serve resource, js1.js.

       

      what did I wrong ?

       

      regards