2 Replies Latest reply on Mar 22, 2006 5:47 PM by Gavin King

    f:convertNumber doesn't work with h:selectOneMenu

    Dan Liu Apprentice

      Here is my jsf code:

      <h:selectOneMenu id="selectCar" value="#{carBean.currentCar}">
       <f:convertNumber />
       <f:selectItems value="#{carBean.carList}" />
      </h:selectOneMenu>
      


      carBean.carList is a type of List and the selectItems have int values.

      The page is displayed correctly but when I made a choice and click on submit. nothing happens. Chaning values to String type would solve the problem. It seems f:convertNumber doesn't work with facelets. Has anyone had same problem before?