Working with richfaces 4.x and i try to migrate a project from seam to JEE6 , i have that error when i inspect:
Uncaught ReferenceError: RichFaces is not defined accueil.jsf:150
onclick
that is my page code:
<a4j:region>
<table class="leftLayout">
<tr>
<td><a4j:commandLink id="saisieEtpTauxButton"
reRender="NoDispoInfo"
action="#{selectBean.getAllItems()}"
value="#{messages['taux']}"/>
</td>
</tr>
</table>
<hr />
</a4j:region>
<rich:popupPanel id="NoDispoInfo" autosized="false" modal="true" style="width:300;height:100"
showWhenRendered="#{!selectChoixBean.disponibleSection or !selectChoixBean.disponibleProduit or !selectChoixBean.disponibleGroupe}">
<div align="center">
<h:outputText value="Not disponible." />
</div>
<hr style="height:20px"/>
<h:form style="text-align : right;">
<center>
<a4j:commandButton ajaxSingle="true" value="OK"
action="#{selectBean.hideNonDispoInfo}"
reRender="NoDispoInfo" />
</center>
</h:form>
</rich:popupPanel>
RichFaces not defined usually occurs when the JS files didn't load properly.
Are there any errors in the browser about files not being loaded correctly? Such as a network error?
Which version of JPP and Portlet Bridge are you using?