1 Reply Latest reply on Apr 7, 2008 3:20 PM by Sergey Smirnov

    Problem with dropDownMenu on 3.2.0 version

    Gustavo Delgado Newbie

      Hi,

      After update the richfaces Jars to 3.2.0 version, the dropdown menu dynamic stops to work.

      1. <rich:toolBar>
      2. <rich:dropDownMenu binding="#{Page4.menuTeste}" />
      3. </rich:toolBar>


      And the backing bean:

      1. private HtmlDropDownMenu menuTeste = new HtmlDropDownMenu();
      2.
      3. public HtmlDropDownMenu getMenuTeste() {
      4. menuTeste.setValue("Menu teste");
      5. HtmlMenuItem menuItem = new HtmlMenuItem();
      6. menuItem.setValue("Item 1");
      7. menuItem.setSubmitMode("ajax");
      8. menuTeste.getChildren().add(menuItem);
      9.
      10. return menuTeste;
      11. }
      12.
      13. public void setMenuTeste(HtmlDropDownMenu menuTeste) {
      14. this.menuTeste = menuTeste;
      15. }


      In this example the toolbar appears on page, but without the menu...
      In the lastest version it works fine.

      []s
      Gustavo