4 Replies Latest reply on Jan 25, 2011 2:57 AM by Ilya Sorokoumov

    rich toolbar, menuitems horizontal layout needed

    Raja suman Dudam Newbie

      Currently the above code works fine.

      I want the menuitems to display side by side. currently it is displaying new row. Need help on this..

       

       

      <h:panelGrid width="100%" style="height:100%">

                              <rich:toolbar itemSeparator="line">

                                  <ui:repeat var="topLevelMenuItem"

                                      value="#{UIBean.topLevelMenuItems}">

                                      <rich:menuItem>

                                          <h:commandLink value="#{topLevelMenuItem}"

                                              action="#{UIBean.topLevelMenuItemClicked}">

                                              <f:param id="topLevelMenuItem" name="topLevelMenuItemParam"

                                                  value="#{topLevelMenuItem}" />

                                          </h:commandLink>

                                      </rich:menuItem>

                                  </ui:repeat>

                              </rich:toolbar>

        </h:panelGrid>