1 Reply Latest reply on Jul 19, 2011 2:51 AM by Lukáš Fryč

    Fail to load Javascript

    Leroy ZHU Newbie

      JSF code:

       

      <h:commandLink action="selectCustomer">

           ${userCustomer.customer}

           <f:param name="customerId" value="${userCustomer.id}"/>

      </h:commandLink>

       

      Generated Code:

      <script src="/test/javax.faces.resource/jsf.js.html?ln=javax.faces&amp;stage=Development" type="text/javascript">

           Failed to load source for: http://localhost:8080/test/javax.faces.resource/jsf.js.html?ln=javax.faces&stage=Development

      </script>

      <a onclick="mojarra.jsfcljs(document.getElementById('j_idt17'),{'j_idt17:j_idt32:0:j_idt35':'j_idt17:j_idt32:0:j_idt35','customerId':'25087'},'');return false" href="#">Customer 1</a>

       


      My question is how to enable "Richface.Ajax(....)" instead of "mojarra.jsfcljs(....)"?