Author: ilya_shaikovsky
Date: 2011-01-06 08:28:36 -0500 (Thu, 06 Jan 2011)
New Revision: 20908
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml
Log:
https://issues.jboss.org/browse/RF-10069
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml 2011-01-06
13:25:01 UTC (rev 20907)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml 2011-01-06
13:28:36 UTC (rev 20908)
@@ -13,37 +13,39 @@
<h:form id="form">
<h:panelGrid columns="2" columnClasses="cols,cols"
width="400">
<rich:panelMenu style="width:200px" mode="ajax"
groupMode="ajax"
- iconExpandedGroup="disc" iconCollapsedGroup="disc"
- iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
- iconCollapsedTopGroup="chevronDown"
+ groupExpandIconLeft="triangleUp"
+ groupCollapseIconLeft="triangleDown"
+ topGroupExpandIconRight="chevronUp"
+ topGroupCollapseIconRight="chevronUp" itemIconLeft="disc"
itemChangeListener="#{panelMenuBean.updateCurrent}">
<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:panelMenuItem label="Item 1.3" name="Item_1_3"/>
+ <rich:panelMenuItem label="Item 1.1" name="Item_1_1" />
+ <rich:panelMenuItem label="Item 1.2" name="Item_1_2" />
+ <rich:panelMenuItem label="Item 1.3" name="Item_1_3" />
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Group 2">
- <rich:panelMenuItem label="Item 2.1" name="Item_2_1"/>
- <rich:panelMenuItem label="Item 2.2" name="Item_2_2"/>
- <rich:panelMenuItem label="Item 2.3" name="Item_2_3"/>
+ <rich:panelMenuItem label="Item 2.1" name="Item_2_1" />
+ <rich:panelMenuItem label="Item 2.2" name="Item_2_2" />
+ <rich:panelMenuItem label="Item 2.3" name="Item_2_3" />
<rich:panelMenuGroup label="Group 2.4">
- <rich:panelMenuItem label="Item 2.4.1"
name="Item_2_4_1"/>
- <rich:panelMenuItem label="Item 2.4.2"
name="Item_2_4_2"/>
- <rich:panelMenuItem label="Item 2.4.3"
name="Item_2_4_3"/>
+ <rich:panelMenuItem label="Item 2.4.1" name="Item_2_4_1"
/>
+ <rich:panelMenuItem label="Item 2.4.2" name="Item_2_4_2"
/>
+ <rich:panelMenuItem label="Item 2.4.3" name="Item_2_4_3"
/>
</rich:panelMenuGroup>
- <rich:panelMenuItem label="Item 2.5" name="Item_2_5"/>
+ <rich:panelMenuItem label="Item 2.5" name="Item_2_5" />
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Group 3">
- <rich:panelMenuItem label="Item 3.1" name="Item_3_1"/>
- <rich:panelMenuItem label="Item 3.2" name="Item_3_2"/>
- <rich:panelMenuItem label="Item 3.3" name="Item_3_3"/>
+ <rich:panelMenuItem label="Item 3.1" name="Item_3_1" />
+ <rich:panelMenuItem label="Item 3.2" name="Item_3_2" />
+ <rich:panelMenuItem label="Item 3.3" name="Item_3_3" />
</rich:panelMenuGroup>
</rich:panelMenu>
- <a4j:outputPanel ajaxRendered="true">
- <rich:panel rendered="#{not empty panelMenuBean.current}">
- <h:outputText value="#{panelMenuBean.current} selected"
id="current" />
- </rich:panel>
- </a4j:outputPanel>
+ <a4j:outputPanel ajaxRendered="true">
+ <rich:panel rendered="#{not empty panelMenuBean.current}">
+ <h:outputText value="#{panelMenuBean.current} selected"
+ id="current" />
+ </rich:panel>
+ </a4j:outputPanel>
</h:panelGrid>
</h:form>
</ui:composition>
\ No newline at end of file