0 Replies Latest reply on Jun 8, 2010 2:54 AM by jobb

    rich:menuItem can not find a reRender id

    jobb

      Hi,
      Discovered a strange error. I'd mentioned in rich:menuItem can not be found, resulting that the whole page is rendering.
      See the example below, what I want is to reRender <a4j:outputPanel id="hovedSide"> only  when choosing something new in the menu.

       

      <html>
      <body>
                 <a4j:outputPanel id="meny" layout="block">
                    <h:form>
             <rich:toolBar>
                  <rich:menuItem value="Search" actionListener="#{bean.goToPage}" reRender="hovedSide">
              <a4j:actionparam name="page" value="pageNameHere" assignTo="#{bean.pageToShow}" />
                  </rich:menuItem>
             </rich:toolBar>
          </h:form>
                  </a4j:outputPanel>
             
          <a4j:outputPanel id="hovedSide" layout="block">       
                   <ui:insert name="page">
                       <ui:include src="#{bean.pageToShow}.xhtml" />
                   </ui:insert>
           </a4j:outputPanel>       
      </body>
      </html>

       

      Tried to restrict update linitToList = true but it does not help. An idea why it does not work?
      User RF 3.3.3 Final.