[SOLVED] javascript "mojarra.*" is not defined
wooffNov 22 2010 — edited Nov 22 2010Hello,
I migrate from JSF1 to JSF2 on glassfishv2, Iam able to run examples and even my old application. Problem occured when I tryied to ajaxify it...
I add a +<f:ajax/>+ tag but got only error "*mojarra is not defined*" on commandButton line
onclick="mojarra.ab(this,event,'click','someFormId:iSubject','someFormId:oSubject');return false" ...
Any idea what is wrong? Thanks a lot.
JSF 2.0 b03
package .war
glassfish v2.1.1 (uploaded jsf-api and jsf-impl to /LIB and set prefix in java-config), updated application faces-config and web.xml to work on jsf 2.0
java jdk1.6.0_22 64bit
Edited by: 814267 on Nov 22, 2010 12:45 AM