1 Reply Latest reply on Feb 27, 2008 8:22 AM by Lotfi Mellouk

    Converter in rich:dataTable

    Lotfi Mellouk Master

      Hello

      Id like to convert a rich;dataTable column field from Double to Integer,


      <rich:column>
      <f:facet name="header">
      <h:outputText value="quantity" />
      </f:facet>
      <h:outputText value="#{list.quantity}" >
       <f:convertNumber maxFractionDigits="0"/>
      </h:outputText>
      </rich:column>
      

      but value is shown like 0.0 ,5000000.0 or null ..

      is some things wrong on my code..?

      environement:
      rich faces 3.1.4.GA
      facelets
      myfaces 1.1.5.

      regards!