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

    Converter in rich:dataTable

    lmk

      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!