Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[SOLVED] javascript "mojarra.*" is not defined

wooffNov 22 2010 — edited Nov 22 2010
Hello,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2010
Added on Nov 22 2010
1 comment
2,988 views