2 Replies Latest reply on Feb 1, 2008 4:24 AM by xiptos

    Rerendering panelMenu

    xiptos

      Hi!

      IS it possible to rerender a PanelMenu? I'm trying to do so, but it is not working:

      <h:panelGrid columns="1" border="1">
      <h:panelGroup>
      <h:outputLabel for="year" value="Year:" />
      <rich:inputNumberSpinner id="year" maxValue="2050" minValue="1985" value="#{resumo.currentYear}">
      <a4j:support event="onchange" reRender="panelMenu" />
      </rich:inputNumberSpinner>
      </h:panelGroup>

      <h:panelGroup>
      <a4j:region>
      <rich:panelMenu style="width:200px" mode="ajax" expandMode="ajax" binding="#{resumo.panelMenu}" iconExpandedGroup="disc" iconCollapsedGroup="disc" iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right" iconCollapsedTopGroup="chevronDown" id="panelMenu" />
      </a4j:region>
      </h:panelGroup>

      </h:panelGrid>

      I checked and the generated HtmlPanelMenu is modified in the backing bean.

      Cheers,

      /rp