1 Reply Latest reply on Oct 4, 2007 1:26 PM by Brian Smith

    SelectOneMenu not Updated

    Aymen Newbie

      I'm using Jboss Seam 2.0.0.CR1 + JBoss AS 4.2.1.GA
      I have a

      <h:selectOneMenu id="id1" value="#{MyBean.selectedItem}">
      <s:selectItems value="#{MyBean.availableItems}" var="var" label="#{var.label}" id="id2" />
      <s:convertEntity />
      <h:commandLink action="#{MyBean.removeSelectedItem}">

      My availableItems is a List
      My MyBean.removeSelectedItem() method looks like :
      if(this.getSelectedItem() != null){

      When I call this method everything on the page is updated. Only my SelectOneMenu keeps the same(the item is not removed)

      The availableItems List's size is also updated.

      PS: I have just migrated my project from Seam 1.2.1.GA + JBoss AS 4.0.5.GA and this was working fine.

      Thnak you