8 Replies Latest reply on Jun 26, 2007 7:46 AM by ilya_shaikovsky

    <a4j:commandButton> is not working in combination with Rich

    roykachouh

      I have been struggling with this one for a couple of days now. Whenever I add my command button inside a <rich:table> and <rich:column> my async action does not get invoked.

      So this does not work:

      <rich:column>
       <a4j:commandButton image="images/icons/print_preview.gif"
       action="#{MyBean.test}"
       actionListener="#{MyBean.test}">
       </a4j:commandButton>
       <f:facet name="footer"><rich:spacer /></f:facet>
      </rich:column>
      


      Does anyone have any ideas? Please, it's driving me crazy.


      But it seems to work by itself:
      <h:form>
       <a4j:commandButton image="images/icons/print_preview.gif"
       action="#{MyBean.test}"
       actionListener="#{MyBean.test}">
       </a4j:commandButton>
       <f:facet name="footer"><rich:spacer /></f:facet>
      </h:form>