1 Reply Latest reply on Jun 8, 2007 3:57 PM by budoray

    rich:dropDownMenu and t:selectOneMenu fail to cooperate

    budoray

      Action on rich:menuItem is never called, though page refreshes, when a t:selectOneMenu is present. I am using the 3.0.1-SNAPSHOT jars with MyFaces 1.5 jars. The moment the selectOneMenu tags are removed, the action in my controller is called. Any ideas?

      <h:form id="homeForm">
      <rich:toolBar>
      <rich:dropDownMenu value="Test">
      <rich:menuItem value="Test One" action="#{TEST.testOne}" />
      <rich:menuItem value="Test Two" action="#{TEST.testTwo}" />
      </rich:dropDownMenu>
      </rich:toolBar>

      <t:selectOneMenu value="#{TEST.someObject.id}">
      <f:selectItems value="#{TEST.someObjectSelectItemList.list}" />
      </t:selectOneMenu>

      </h:form>

        • 1. Re: rich:dropDownMenu and t:selectOneMenu fail to cooperate
          budoray

          Embarrassing moment. Helps to show messages and use the a4j:log. I simply had a bad value in my selectOneMenu.

          HAN: (getting nervous) Uh...had a slight weapons malfunction. But, uh,
          everything's perfectly all right now. We're fine. We're all fine here,
          now, thank you. How are you?

          INTERCOM VOICE: We're sending a squad up.

          HAN: Uh, uh, negative. We had a reactor leak here now. Give us a few
          minutes to lock it down. Large leak...very dangerous.

          INTERCOM VOICE: Who is this? What's your operating number?

          Han blasts the comlink and it explodes.