6 Replies Latest reply on Feb 4, 2009 8:38 AM by ilya_shaikovsky

    a4j:commandButton in rich:dataTable dont work

    wessen

      Hi all, a have very simple page, for example:

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich"
       >
       <a4j:form id="demandsForm">
       <rich:dataTable id="demandsListTable"
       binding="#{demandsList.demandsTable}"
       cellpadding="0" cellspacing="0" width="100%"
       border="0" var="demand"
       value="#{demandsList.demands}">
      
       <rich:column>
       <a4j:commandButton id="editDemand" value="Edit demand" ajaxSingle="true"
       action="#{demandsList.editDemand}"
       disabled="#{demand.editable}" />
       </rich:column>
       </rich:dataTable>
       </a4j:form>
       <a4j:log popup="false" level="ALL" style="width: 800px; height: 300px;"></a4j:log>
      </ui:composition>


      When I press command button "editDemand" in firefox and IE6 all work fine, I can see "editDemandForm". But when I press this button in IE7, I can see only blank page! And IE7 can show error window:
      Line: ...
      Char: ...
      Error: Type mismatch
      Code: 0
      URL: ....


      What I'm doing wrong?