title: Implementing JSF 2.0 with JBoss 4.x
body: <p>I am currently working on upgrading JSF version from 1.2 to 2.0 for an application deployed in JBoss 4.3.0. I am still quite new to JBoss and I encountering this problem. I have downloaded the JSF jars (impl and api) and put the under jboss-web.deployer/jsf-libs. I have also put the richfaces-impl jar in C:\Program Files\Java\richfaces-ui-3.3.3.Final\lib.</p>
  
  <p>When I start the server, I don't get any error in the console, but I am unable to navigate through the site. Internet Explorer gives an error saying 'Mojarra not defined'. On comparing the output .html files of the version with jsf 2.0 jars and that with 1.2, I noticed that the function in onclick attribute has 'mojarra.jsfcljs(document.getElementById' for JSF 2.0 while for 1.2 it has 'var b=function(){if(typeof jsfcljs == 'function'){jsfcljs(document.getElementById'.</p>
  
  <p>How is this output file generated? Will it work if I can get the output files to have the same function? If not, then how can I solve the 'mojarra not defined' problem? I am working on MyEclipse Enterprise Workbench Version 8.0. Any help will be greatly appreciated.</p>