6 Replies Latest reply on Apr 11, 2007 3:42 PM by Sergey Smirnov

    dataTable

    Konstantin Kauz Novice

      The method of sessionbean doesn't fire, what i do wrong?

      I use latest seam and the session bean is stateless.

      <s:div id="tbl" style="margin-top:5px" rendered="#{not empty fahrzeugList}">
       <h:form>
       <rich:dataTable
       onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
       onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
       cellpadding="0" cellspacing="0"
       width="900" border="0" var="kfz" value="#{fahrzeugList}">
      
       <rich:column>
       <f:facet name="header">
       <h:outputText value="FNr"/>
       </f:facet>
       <h:outputText value="#{kfz.id}"/>
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="Kategorie"/>
       </f:facet>
       <h:outputText value="#{kfz.category}"/>
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="Fabrikat"/>
       </f:facet>
       <h:outputText value="#{kfz.hersteller.bezeichnung}"/>
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="Modell"/>
       </f:facet>
       <h:outputText value="#{kfz.kfzmodel.bezeichnung}"/>
       </rich:column>
      
       <rich:column>
       <f:facet name="header">
       <h:outputText value=""/>
       </f:facet>
       <h:commandLink action="#(fedit.editKfz}" value="Bearbeiten" reRender="tbl" />
       </rich:column>
      
       </rich:dataTable>
       </h:form>