2 Replies Latest reply on May 11, 2008 1:54 PM by Pete Muir

    SELECT with convertEnum

    Branimir Minkov Newbie

      Hello, guys, I am using Seam 2.0.0.GA. There is a small issue I came upon. Here is the Facelet:

      <h:selectOneMenu value="#{someEnum}">
         <s:selectItems value="#{enumCollection}" var="enumVar" label="#{msg[enumVar.label]}" />
         <s:convertEnum />

      and the backing bean:

      @Factory(scope = APPLICATION)
      public SomeEnum[] getEnumCollection() {
         return SomeEnum.values();

      When the page is loaded the SELECT is OK. The issue is observed when I re-render the page after an ajax request. The generated SELECT box is empty. When I replace



      it works fine, the difference is that I do not load the messages from the property file.