I have a JSF/RichFaces setup with an index.jsp
which a4j:include
s another piece of code which contains a rich:dataTable
.
It in
I often experience this when I reRender commandButtons/Links.
Your a4j:form is in effect reRendering itself. Try changing it to something like this:
<a4j:form>
<a4j:outputPanel id="panel">
<h:outputText style="text-align: center" value="Select " />
<h:selectOneMenu id="mySelect" value="#{MyBacking.chosen}">
<f:selectItems value="#{MyBacking.myList}" />
</h:selectOneMenu>
</a4j:outputPanel>
<a4j:commandButton value="Retrieve" reRender="panel"/>
</a4j:form>
UPDATE: move your h:form to enclose the a4j:include. Pretty sure that it needs a form and of course you can't nest forms.
The fix was to install a facelets jar. See here.