0 Replies Latest reply on Jun 4, 2012 6:33 PM by ripper9100

    rich:select problem with binding

    ripper9100

      Hi,

       

      I'm using the latest Richfaces version and I'm having a problem when using binding.

       

      jsfProb.bmp

       

      From the screenshot you can see my issue. Now if i remove the binding it works fine.

       

      xhtml code:

      <rich:select binding="#{test.x}">

         <f:selectItem itemValue="0" itemLabel="Option 1" />

         <f:selectItem itemValue="1" itemLabel="Option 2" />

         <f:selectItem itemValue="2" itemLabel="Option 3" />

         <f:selectItem itemValue="3" itemLabel="Option 4" />

         <f:selectItem itemValue="4" itemLabel="Option 5" />

      </rich:select>   

        

       

      java code:

      UISelect x = new UISelect();

      public UISelect getX() {

        return x;

      }

      public void setX(UISelect x) {

        this.x = x;

      }

       

      Anyone know the issue?