RichFaces PanelMenu in west pane of 3.0M2 Layout component

UI Components for JSF
Post Reply
rtangkong
Posts: 1
Joined: 12 Aug 2011, 17:22

12 Aug 2011, 18:03

I had used RichFaces 4.0 PanelMenu in the left pane of the Layout component of PrimeFaces 2.2.1 and would like to move to 3.0.M2.

The Layout is not generated when using the following sample code:

<p:layout id="layout" style="min-width:400px;min-height:200px;" >
<p:layoutUnit id="layoutUnitWest" position="west" resizable="true" size="200" minSize="40" maxSize="300">
Left
<rich:panelMenu id="panelMenu"
topGroupExpandedRightIcon="chevronUp"
topGroupCollapsedRightIcon="chevronDown" itemLeftIcon="disc">
<rich:panelMenuGroup label="Group 1">
<rich:panelMenuItem label="Item 1.1" name="Item_1_1" />
<rich:panelMenuItem label="Item 1.2" name="Item_1_2" />
</rich:panelMenuGroup>
</rich:panelMenu>
</p:layoutUnit>

<p:layoutUnit position="center">
Center
</p:layoutUnit>
</p:layout>

Has anyone successfully used RichFace 4.0 PanelMenu in the West pane of the reimplemented Layout component in 3.0.M2?

Environment is:
PrimeFaces 3.0.M2
Mojarra 2.0.6
jstl 1.2
RichFaces 4.0
Tomcat 6.0.16

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

15 Jun 2012, 16:07

PrimeFaces 3.4 will have p:treeMenu, you can try that instead.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests