3 Replies Latest reply on Nov 11, 2008 7:35 AM by nabakumar salam

    binding panelMenuItem with a collection

    nabakumar salam Newbie

      Please refer the folling code snippet:
      <rich:panelMenu>
      <rich:panelMenuGroup >
      <rich:panelMenuItem label="Sales" />
      </rich:panelMenuItem>
      <rich:panelMenuItem label="Sales" />
      </rich:panelMenuItem>
      </rich:panelMenuGroup >
      </rich:panelMenu>

      Here instead of hardcoding the "panelMenuItem " tag repeatedly, I want to bind it to a java collection .
      Is there a way to accomplish that ?