4 Replies Latest reply on Apr 14, 2008 4:36 PM by Fab Mars

    a4j support not rendered

    Fab Mars Novice

      I'm using RF 3.1.4 and richFaces and JSF 1.2.04 or 1.2.08 (RI) and Facelets (1.1.14) on Glassfish for a long time now.

      I've come across a strange problem recently. I know this problem is due to something i did wrong, because I have another project wth similar pages where all is running well. I can't figure out what is wrong.

      Here's my page:

      <a4j:keepAlive beanName="plop"/>
       <h:form id="plopForm">
       <a4j:status startText="Thinking..."/>
       <rich:messages showSummary="false" showDetail="true"/>
       <h:selectBooleanCheckbox id="plopCheck" value="#{plop.value}" required="true">
       <a4j:support event="onchange" ajaxSingle="true" reRender="plopValue"/>
       <h:outputText id="plopValue" value="#{plop.value}"/>

      and here's my Plop bean:
      public class Plop {
       private boolean value;
       public boolean isValue() {
       return value;
       public void setValue(boolean compilation) {
       this.value = compilation;

      Now here's the checkbox in my generated page:
      <input id="plopForm:plopCheck" type="checkbox" name="plopForm:plopCheck" />

      This way, anyone would understand nothing gets sent thru ajax, neither updated. The same appears if the even is "onclick" or if I replace the checkbox by a combobox.
      On the other hand if I put some a4j:commandButton or rich:suggestionbox into the page, it will work!

      Any idea, mr/ms/mrs RF wizards ?