0 Replies Latest reply on Jun 22, 2007 6:07 PM by Carlos Andia

    Problems with SelectOneMenu events

    Carlos Andia Newbie

      Hi everybody. I'm using icefaces 1.6DR#4 with SEAM 1.2.1GA. I have defined the event valueChangeListener for a selectOneMenu but it is not entering the method. Here is the code I'm using:

      XHMTL:

      <ice:selectOneMenu id="responsible" partialSubmit="true" valueChangeListener="#{personchange.personSelected}" >
      <f:selectItems value="#{listPerson.items}"
      </ice:selectOneMenu>

      Class:

      @Stateless
      @Scope(ScopeType.SESSION)
      @Name("listPerson")
      public class ListPerson implements PersonItem {
      ...

      private static Log log = LogFactory.getLog(ListPerson.class);

      public void personSelected(ValueChangeEvent event){
      log.info("------hELLO!!!");

      String i= event.getNewValue().toString();

      log.info("------hELLO!!!"+i);

      }
      ...
      }

      Any help on why it is not entering the method would be very appreciated. Thanks in advance.