2 Replies Latest reply on Jun 6, 2008 9:23 AM by Boris Ruch

    rich:comboBox no value after the 1.submit

    Boris Ruch Newbie

      Hi there,

      I'm a richfaces beginner, so my question might be silly, sorry.
      After submitting my form I have no value in my comboBox. After the second submit everything is ok?

      What's am I doing wrong? Does anybody have some example code?
      Many thanks for helping!




      test.jsp:

      <a4j:commandButton action="#{reportsFilterController.search}"
      value="search" />
      .......

      <rich:comboBox
      value="#{reportsFilterController.applicationFilter}"
      directInputSuggestions="true">
      <f:selectItems value="#{applicationBean.options}" />
      </rich:comboBox>

      ....

      ***************
      ReportsFilterController.java:

      ......
      public String search() {
      System.out.println(applicationFilter);

      return "success";
      }
      ......