JBoss Rich Faces SVN: r20434 - in modules/tests/metamer/trunk/application/src/main: webapp/components and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-12-07 08:04:34 -0500 (Tue, 07 Dec 2010)
New Revision: 20434
Added:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/
Removed:
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTableToggleControl/
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components1.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components2.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/list.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/simple.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml
Log:
* refactoring because components rich:subTable and rich:subTableToggleControl were renamed
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java 2010-12-07 13:02:18 UTC (rev 20433)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java 2010-12-07 13:04:34 UTC (rev 20434)
@@ -119,6 +119,8 @@
components.put("richAutocomplete", "Rich Autocomplete");
components.put("richCalendar", "Rich Calendar");
components.put("richCollapsiblePanel", "Rich Collapsible Panel");
+ components.put("richCollapsibleSubTable", "Rich Collapsible Subtable");
+ components.put("richCollapsibleSubTableToggler", "Rich Collapsible Subtable Toggler");
components.put("richColumn", "Rich Column");
components.put("richColumnGroup", "Rich Column Group");
components.put("richComponentControl", "Rich Component Control");
@@ -139,8 +141,6 @@
components.put("richPopupPanel", "Rich Popup Panel");
components.put("richProgressBar", "Rich Progress Bar");
components.put("richSelect", "Rich Select");
- components.put("richSubTable", "Rich Subtable");
- components.put("richSubTableToggleControl", "Rich Subtable Toggle Control");
components.put("richTab", "Rich Tab");
components.put("richTabPanel", "Rich Tab Panel");
components.put("richToggleControl", "Rich Toggle Control");
Copied: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable (from rev 20425, modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable)
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components1.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components1.xhtml 2010-12-07 06:47:13 UTC (rev 20425)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components1.xhtml 2010-12-07 13:04:34 UTC (rev 20434)
@@ -81,40 +81,40 @@
</rich:columnGroup>
</f:facet>
<rich:column id="columnTC" colspan="6">
- <rich:subTableToggleControl id="subTableTC" for="richSubTable"/>
+ <rich:collapsibleSubTableToggler id="subTableTC" for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ? 'Men' : 'Women'}" />
</rich:column>
- <rich:subTable id="richSubTable"
- breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
- expandMode="#{richSubTableBean.attributes['expandMode'].value}"
- expanded="#{richSubTableBean.attributes['expanded'].value}"
- filterVar="#{richSubTableBean.attributes['filterVar'].value}"
- filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
- first="#{richSubTableBean.attributes['first'].value}"
- footer="#{richSubTableBean.attributes['footer'].value}"
- header="#{richSubTableBean.attributes['header'].value}"
- iterationState="#{richSubTableBean.attributes['iterationState'].value}"
- iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
- keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
- noData="#{richSubTableBean.attributes['noData'].value}"
- noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
- relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
- rendered="#{richSubTableBean.attributes['rendered'].value}"
- rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
- rowCount="#{richSubTableBean.attributes['rowCount'].value}"
- rowData="#{richSubTableBean.attributes['rowData'].value}"
- rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
- rowKey="#{richSubTableBean.attributes['rowKey'].value}"
- rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
- rows="#{richSubTableBean.attributes['rows'].value}"
- selection="#{richSubTableBean.attributes['selection'].value}"
- sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
- sortMode="#{richSubTableBean.attributes['sortMode'].value}"
- sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
- sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
- toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
- value="#{list}"
- var="item">
+ <rich:collapsibleSubTable id="richSubTable"
+ breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
+ expandMode="#{richSubTableBean.attributes['expandMode'].value}"
+ expanded="#{richSubTableBean.attributes['expanded'].value}"
+ filterVar="#{richSubTableBean.attributes['filterVar'].value}"
+ filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
+ first="#{richSubTableBean.attributes['first'].value}"
+ footer="#{richSubTableBean.attributes['footer'].value}"
+ header="#{richSubTableBean.attributes['header'].value}"
+ iterationState="#{richSubTableBean.attributes['iterationState'].value}"
+ iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
+ keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
+ noData="#{richSubTableBean.attributes['noData'].value}"
+ noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
+ relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
+ rendered="#{richSubTableBean.attributes['rendered'].value}"
+ rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
+ rowCount="#{richSubTableBean.attributes['rowCount'].value}"
+ rowData="#{richSubTableBean.attributes['rowData'].value}"
+ rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
+ rowKey="#{richSubTableBean.attributes['rowKey'].value}"
+ rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
+ rows="#{richSubTableBean.attributes['rows'].value}"
+ selection="#{richSubTableBean.attributes['selection'].value}"
+ sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
+ sortMode="#{richSubTableBean.attributes['sortMode'].value}"
+ sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
+ sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
+ toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
+ value="#{list}"
+ var="item">
<rich:column id="columnSex">
<h:graphicImage id="sex" library="images" name="#{item.sex == 'MALE' ? 'male.png' : 'female.png'}" />
</rich:column>
@@ -143,7 +143,7 @@
<f:facet name="footer">
<h:outputText value="Total of #{list[0].sex == 'MALE' ? 'men' : 'women'}: #{fn:length(list)}" />
</f:facet>
- </rich:subTable>
+ </rich:collapsibleSubTable>
</rich:dataTable>
</ui:define>
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components2.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml 2010-12-07 06:47:13 UTC (rev 20425)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/components2.xhtml 2010-12-07 13:04:34 UTC (rev 20434)
@@ -80,40 +80,40 @@
</rich:columnGroup>
</f:facet>
<rich:column id="columnTC" colspan="6">
- <rich:subTableToggleControl id="subTableTC" for="richSubTable"/>
+ <rich:collapsibleSubTableToggler id="subTableTC" for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ? 'Men' : 'Women'}" />
</rich:column>
- <rich:subTable id="richSubTable"
- breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
- expandMode="#{richSubTableBean.attributes['expandMode'].value}"
- expanded="#{richSubTableBean.attributes['expanded'].value}"
- filterVar="#{richSubTableBean.attributes['filterVar'].value}"
- filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
- first="#{richSubTableBean.attributes['first'].value}"
- footer="#{richSubTableBean.attributes['footer'].value}"
- header="#{richSubTableBean.attributes['header'].value}"
- iterationState="#{richSubTableBean.attributes['iterationState'].value}"
- iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
- keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
- noData="#{richSubTableBean.attributes['noData'].value}"
- noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
- relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
- rendered="#{richSubTableBean.attributes['rendered'].value}"
- rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
- rowCount="#{richSubTableBean.attributes['rowCount'].value}"
- rowData="#{richSubTableBean.attributes['rowData'].value}"
- rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
- rowKey="#{richSubTableBean.attributes['rowKey'].value}"
- rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
- rows="#{richSubTableBean.attributes['rows'].value}"
- selection="#{richSubTableBean.attributes['selection'].value}"
- sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
- sortMode="#{richSubTableBean.attributes['sortMode'].value}"
- sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
- sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
- toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
- value="#{list}"
- var="item">
+ <rich:collapsibleSubTable id="richSubTable"
+ breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
+ expandMode="#{richSubTableBean.attributes['expandMode'].value}"
+ expanded="#{richSubTableBean.attributes['expanded'].value}"
+ filterVar="#{richSubTableBean.attributes['filterVar'].value}"
+ filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
+ first="#{richSubTableBean.attributes['first'].value}"
+ footer="#{richSubTableBean.attributes['footer'].value}"
+ header="#{richSubTableBean.attributes['header'].value}"
+ iterationState="#{richSubTableBean.attributes['iterationState'].value}"
+ iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
+ keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
+ noData="#{richSubTableBean.attributes['noData'].value}"
+ noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
+ relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
+ rendered="#{richSubTableBean.attributes['rendered'].value}"
+ rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
+ rowCount="#{richSubTableBean.attributes['rowCount'].value}"
+ rowData="#{richSubTableBean.attributes['rowData'].value}"
+ rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
+ rowKey="#{richSubTableBean.attributes['rowKey'].value}"
+ rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
+ rows="#{richSubTableBean.attributes['rows'].value}"
+ selection="#{richSubTableBean.attributes['selection'].value}"
+ sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
+ sortMode="#{richSubTableBean.attributes['sortMode'].value}"
+ sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
+ sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
+ toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
+ value="#{list}"
+ var="item">
<rich:column id="columnSex">
<h:outputText value="#{item.sex}" />
</rich:column>
@@ -147,7 +147,7 @@
<f:facet name="footer">
<h:outputText value="Total of #{list[0].sex == 'MALE' ? 'men' : 'women'}: #{fn:length(list)}" />
</f:facet>
- </rich:subTable>
+ </rich:collapsibleSubTable>
</rich:dataTable>
</ui:define>
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/list.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/list.xhtml 2010-12-07 06:47:13 UTC (rev 20425)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/list.xhtml 2010-12-07 13:04:34 UTC (rev 20434)
@@ -27,21 +27,21 @@
<ui:composition template="/templates/list.xhtml">
- <ui:define name="pageTitle">Rich SubTable</ui:define>
+ <ui:define name="pageTitle">Rich Collapsible Sub Table</ui:define>
<ui:define name="links">
<metamer:testPageLink id="simple" outcome="simple" value="Simple">
- Page that contains a table with two <b>rich:subTable</b>s with defined facets (header, footer, noData) and input boxes for all its attributes.
+ Page that contains a table with two <b>rich:collapsibleSubTable</b>s with defined facets (header, footer, noData) and input boxes for all its attributes.
</metamer:testPageLink>
<metamer:testPageLink id="components1" outcome="components1" value="Various Components 1">
- Page that contains a table with two <b>rich:subTable</b>s (with model containing employees) and input boxes for all its attributes.
+ Page that contains a table with two <b>rich:collapsibleSubTable</b>s (with model containing employees) and input boxes for all its attributes.
<span style="color: red">TODO will be used with various types of input and command components as soon as available</span>
</metamer:testPageLink>
<metamer:testPageLink id="components2" outcome="components2" value="Various Components 2">
- Page that contains a table with two <b>rich:subTable</b>s (with model containing employees) and input boxes for all its attributes.
+ Page that contains a table with two <b>rich:collapsibleSubTable</b>s (with model containing employees) and input boxes for all its attributes.
<span style="color: red">TODO will be used with various types of input and command components as soon as available</span>
</metamer:testPageLink>
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/simple.xhtml 2010-12-07 06:47:13 UTC (rev 20425)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTable/simple.xhtml 2010-12-07 13:04:34 UTC (rev 20434)
@@ -66,41 +66,41 @@
</f:facet>
<rich:column id="columnSubTable" colspan="3">
- <rich:subTableToggleControl id="subTableTC" for="richSubTable"/>
+ <rich:collapsibleSubTableToggler id="subTableTC" for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ? 'Men' : 'Women'}" />
</rich:column>
- <rich:subTable id="richSubTable"
- breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
- expandMode="#{richSubTableBean.attributes['expandMode'].value}"
- expanded="#{richSubTableBean.attributes['expanded'].value}"
- filterVar="#{richSubTableBean.attributes['filterVar'].value}"
- filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
- first="#{richSubTableBean.attributes['first'].value}"
- footer="#{richSubTableBean.attributes['footer'].value}"
- header="#{richSubTableBean.attributes['header'].value}"
- iterationState="#{richSubTableBean.attributes['iterationState'].value}"
- iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
- keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
- noData="#{richSubTableBean.attributes['noData'].value}"
- noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
- relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
- rendered="#{richSubTableBean.attributes['rendered'].value}"
- rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
- rowCount="#{richSubTableBean.attributes['rowCount'].value}"
- rowData="#{richSubTableBean.attributes['rowData'].value}"
- rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
- rowKey="#{richSubTableBean.attributes['rowKey'].value}"
- rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
- rows="#{richSubTableBean.attributes['rows'].value}"
- selection="#{richSubTableBean.attributes['selection'].value}"
- sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
- sortMode="#{richSubTableBean.attributes['sortMode'].value}"
- sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
- sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
- toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
- value="#{richSubTableBean.state ? list : null}"
- var="item">
+ <rich:collapsibleSubTable id="richSubTable"
+ breakBefore="#{richSubTableBean.attributes['breakBefore'].value}"
+ expandMode="#{richSubTableBean.attributes['expandMode'].value}"
+ expanded="#{richSubTableBean.attributes['expanded'].value}"
+ filterVar="#{richSubTableBean.attributes['filterVar'].value}"
+ filteringListeners="#{richSubTableBean.attributes['filteringListeners'].value}"
+ first="#{richSubTableBean.attributes['first'].value}"
+ footer="#{richSubTableBean.attributes['footer'].value}"
+ header="#{richSubTableBean.attributes['header'].value}"
+ iterationState="#{richSubTableBean.attributes['iterationState'].value}"
+ iterationStatusVar="#{richSubTableBean.attributes['iterationStatusVar'].value}"
+ keepSaved="#{richSubTableBean.attributes['keepSaved'].value}"
+ noData="#{richSubTableBean.attributes['noData'].value}"
+ noDataLabel="#{richSubTableBean.attributes['noDataLabel'].value}"
+ relativeRowIndex="#{richSubTableBean.attributes['relativeRowIndex'].value}"
+ rendered="#{richSubTableBean.attributes['rendered'].value}"
+ rowAvailable="#{richSubTableBean.attributes['rowAvailable'].value}"
+ rowCount="#{richSubTableBean.attributes['rowCount'].value}"
+ rowData="#{richSubTableBean.attributes['rowData'].value}"
+ rowIndex="#{richSubTableBean.attributes['rowIndex'].value}"
+ rowKey="#{richSubTableBean.attributes['rowKey'].value}"
+ rowKeyConverter="#{richSubTableBean.attributes['rowKeyConverter'].value}"
+ rows="#{richSubTableBean.attributes['rows'].value}"
+ selection="#{richSubTableBean.attributes['selection'].value}"
+ sortExpression="#{richSubTableBean.attributes['sortExpression'].value}"
+ sortMode="#{richSubTableBean.attributes['sortMode'].value}"
+ sortPriority="#{richSubTableBean.attributes['sortPriority'].value}"
+ sortingListeners="#{richSubTableBean.attributes['sortingListeners'].value}"
+ toggleListeners="#{richSubTableBean.attributes['toggleListeners'].value}"
+ value="#{richSubTableBean.state ? list : null}"
+ var="item">
<f:facet name="header">
header facet
@@ -126,7 +126,7 @@
footer facet
</f:facet>
- </rich:subTable>
+ </rich:collapsibleSubTable>
</rich:dataTable>
</ui:define>
Copied: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler (from rev 20425, modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTableToggleControl)
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTableToggleControl/list.xhtml 2010-12-07 06:47:13 UTC (rev 20425)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml 2010-12-07 13:04:34 UTC (rev 20434)
@@ -27,12 +27,12 @@
<ui:composition template="/templates/list.xhtml">
- <ui:define name="pageTitle">Rich Subtable Toggle Control</ui:define>
+ <ui:define name="pageTitle">Rich Sub Table Toggler</ui:define>
<ui:define name="links">
<metamer:testPageLink id="simple" outcome="simple" value="Simple">
- Page that contains a table with two subtables and input boxes for all <b>rich:subTableToggleControl</b>s' attributes.
+ Page that contains a table with two subtables and input boxes for all <b>rich:collapsibleSubTableToggler</b>s' attributes.
</metamer:testPageLink>
</ui:define>
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTableToggleControl/simple.xhtml 2010-12-07 06:47:13 UTC (rev 20425)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml 2010-12-07 13:04:34 UTC (rev 20434)
@@ -66,23 +66,23 @@
</f:facet>
<rich:column id="columnTC" colspan="3">
- <rich:subTableToggleControl id="richSTTControl"
- collapseIcon="#{richSubTableToggleControlBean.attributes['collapseIcon'].value}"
- collapseLabel="#{richSubTableToggleControlBean.attributes['collapseLabel'].value}"
- event="#{richSubTableToggleControlBean.attributes['event'].value}"
- expandIcon="#{richSubTableToggleControlBean.attributes['expandIcon'].value}"
- expandLabel="#{richSubTableToggleControlBean.attributes['expandLabel'].value}"
- rendered="#{richSubTableToggleControlBean.attributes['rendered'].value}"
- for="richSubTable"/>
+ <rich:collapsibleSubTableToggler id="richSTTControl"
+ collapseIcon="#{richSubTableToggleControlBean.attributes['collapseIcon'].value}"
+ collapseLabel="#{richSubTableToggleControlBean.attributes['collapseLabel'].value}"
+ event="#{richSubTableToggleControlBean.attributes['event'].value}"
+ expandIcon="#{richSubTableToggleControlBean.attributes['expandIcon'].value}"
+ expandLabel="#{richSubTableToggleControlBean.attributes['expandLabel'].value}"
+ rendered="#{richSubTableToggleControlBean.attributes['rendered'].value}"
+ for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ? 'Men' : 'Women'}" />
</rich:column>
- <rich:subTable id="richSubTable"
- expandMode="client"
- expanded="true"
- rows="5"
- value="#{richSubTableToggleControlBean.state ? list : null}"
- var="item">
+ <rich:collapsibleSubTable id="richSubTable"
+ expandMode="client"
+ expanded="true"
+ rows="5"
+ value="#{richSubTableToggleControlBean.state ? list : null}"
+ var="item">
<f:facet name="header">
header facet
@@ -108,7 +108,7 @@
footer facet
</f:facet>
- </rich:subTable>
+ </rich:collapsibleSubTable>
</rich:dataTable>
</ui:define>
15 years, 5 months
JBoss Rich Faces SVN: r20433 - trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2010-12-07 08:02:18 -0500 (Tue, 07 Dec 2010)
New Revision: 20433
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss
Log:
https://jira.jboss.org/browse/RF-9676 Dropdown menu component minor update
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss 2010-12-07 12:41:00 UTC (rev 20432)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss 2010-12-07 13:02:18 UTC (rev 20433)
@@ -25,8 +25,9 @@
border:1px solid; /*#bfbfc0*/ /*panelBorderColor*/
border-color: '#{richSkin.panelBorderColor}';
background-color: '#{richSkin.additionalBackgroundColor}'; /*#e7f2fb;/ /*additionalBackgroundColor*/
- min-width:250px;
+ min-width:250px;
position:absolute;
+ z-index:10;
}
.rf-ddm-sublst {
position:absolute;
15 years, 5 months
JBoss Rich Faces SVN: r20432 - in trunk/ui/input/ui/src/main: resources/META-INF/resources/org.richfaces and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-12-07 07:41:00 -0500 (Tue, 07 Dec 2010)
New Revision: 20432
Modified:
trunk/ui/input/ui/src/main/java/org/richfaces/component/AbstractSelectComponent.java
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inplaceSelect.js
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/select.js
trunk/ui/input/ui/src/main/templates/select.template.xml
Log:
RF-9855, RF-9800
Modified: trunk/ui/input/ui/src/main/java/org/richfaces/component/AbstractSelectComponent.java
===================================================================
--- trunk/ui/input/ui/src/main/java/org/richfaces/component/AbstractSelectComponent.java 2010-12-07 11:56:13 UTC (rev 20431)
+++ trunk/ui/input/ui/src/main/java/org/richfaces/component/AbstractSelectComponent.java 2010-12-07 12:41:00 UTC (rev 20432)
@@ -118,8 +118,8 @@
@Attribute(events=@EventName("listkeyup"))
public abstract String getOnlistkeyup();
- @Attribute(events=@EventName("select"))
- public abstract String getOnselect();
+ @Attribute(events=@EventName("selectitem"))
+ public abstract String getOnselectitem();
@Attribute(events=@EventName("change"))
public abstract String getOnchange();
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inplaceSelect.js
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inplaceSelect.js 2010-12-07 11:56:13 UTC (rev 20431)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inplaceSelect.js 2010-12-07 12:41:00 UTC (rev 20432)
@@ -12,7 +12,8 @@
this.items = mergedOptions.items;
this.selValueInput = $(document.getElementById(id+"selValue"));
this.list = $(document.getElementById(id+"List"));
- this.list.bind("click", $.proxy(this.__onListClick, this));
+ this.list.bind("mousedown", $.proxy(this.__onListMouseDown, this));
+ this.list.bind("mouseup", $.proxy(this.__onListMouseUp, this));
this.openOnEdit = mergedOptions.openOnEdit;
this.saveOnSelect = mergedOptions.saveOnSelect;
this.savedIndex = -1;
@@ -98,7 +99,7 @@
if(this.saveOnSelect) {
this.save();
- }
+ }
},
getItemValue: function(item) {
@@ -169,20 +170,30 @@
},
__blurHandler: function(e) {
- if(this.isEditState()) {
- this.timeoutId = window.setTimeout($.proxy(function(){
- this.onblur();
- }, this), 200);
- }
+ if(!this.isMouseDown) {
+ if(this.isEditState()) {
+ this.timeoutId = window.setTimeout($.proxy(function(){
+ this.onblur();
+ }, this), 200);
+ }
+ } else {
+ this.__setInputFocus();
+ this.isMouseDown = false;
+ }
},
__clickHandler: function(e) {
this.showPopup();
},
- __onListClick: function(e) {
- window.clearTimeout(this.timeoutId);
- }
+ __onListMouseDown: function(e) {
+ this.isMouseDown = true;
+ },
+
+ __onListMouseUp: function(e) {
+ this.isMouseDown = false;
+ this.__setInputFocus();
+ }
}
})());
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/select.js
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/select.js 2010-12-07 11:56:13 UTC (rev 20431)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/select.js 2010-12-07 12:41:00 UTC (rev 20432)
@@ -115,16 +115,17 @@
if(mergedOptions.showControl) {
this.btn = $(document.getElementById(id+"Button"));
- this.btn.bind("click", $.proxy(this.__clickHandler, this));
- this.btn.mousedown($.proxy(this, function(){
- this.focusin = false;
- }));
+ this.btn.bind("mousedown", $.proxy(this.__onBtnMouseDown, this));
+ this.btn.bind("mouseup", $.proxy(this.__onMouseUp, this));
}
this.selectFirst = mergedOptions.selectFirst;
this.popupList = new rf.ui.PopupList((id+"List"), this, mergedOptions);
this.listElem = $(document.getElementById(id+"List"));
- this.listElem.bind("click", $.proxy(this.__onListClick, this));
+
+ this.listElem.bind("mousedown", $.proxy(this.__onListMouseDown, this));
+ this.listElem.bind("mouseup", $.proxy(this.__onMouseUp, this));
+
this.items = this.popupList.__getItems();
this.enableManualInput = mergedOptions.enableManualInput;
@@ -162,16 +163,15 @@
return{
name : "select",
- __clickHandler: function(e) {
+ __onBtnMouseDown: function(e) {
if(!this.popupList.isVisible()) {
this.__updateItems();
this.showPopup();
} else {
this.hidePopup();
}
- this.__setInputFocus();
- window.clearTimeout(this.timeoutId);
- },
+ this.isMouseDown = true;
+ },
__focusHandler: function(e) {
if (!this.focused) {
@@ -259,15 +259,25 @@
},
__blurHandler: function(e) {
- this.timeoutId = window.setTimeout($.proxy(function(){
- this.onblur(e);
- }, this), 200);
+ if(!this.isMouseDown) {
+ this.timeoutId = window.setTimeout($.proxy(function(){
+ this.onblur(e);
+ }, this), 200);
+ } else {
+ this.__setInputFocus();
+ this.isMouseDown = false;
+ }
},
- __onListClick: function(e) {
- window.clearTimeout(this.timeoutId);
+ __onListMouseDown: function(e) {
+ this.isMouseDown = true;
},
+ __onMouseUp: function(e) {
+ this.isMouseDown = false;
+ this.__setInputFocus();
+ },
+
__updateItems: function() {
var newValue = this.getValue();
newValue = (newValue != this.defaultLabel) ? newValue : "";
@@ -287,6 +297,55 @@
}
},
+ __getClientItemFromCache: function(inputLabel) {
+ var value;
+ var label;
+ if(this.enableManualInput) {
+ var items = this.cache.getItems(inputLabel);
+ if(items && items.length > 0) {
+ var first = $(items[0]);
+ $.each(this.clientItems, function() {
+ if(this.id == first.attr("id")) {
+ label = this.label;
+ value = this.value;
+ return false;
+ }
+ });
+ } else {
+ this.field.removeClass("rf-sel-fld-err");
+
+ var prevValue = this.selValueInput.val();
+ if(prevValue && prevValue != "") {
+ $.each(this.clientItems, function() {
+ if(this.value == prevValue) {
+ label = this.label;
+ value = this.value
+ return false;
+ }
+ });
+ }
+ }
+ }
+
+ if(label && value) {
+ return {'label': label, 'value': value};
+ }
+ },
+
+ __getClientItem: function(inputLabel) {
+ var value;
+ var label = inputLabel;
+ $.each(this.clientItems, function(){
+ if(label == this.label) {
+ value = this.value;
+ }
+ });
+
+ if(label && value) {
+ return {'label': label, 'value': value};
+ }
+ },
+
showPopup: function() {
this.popupList.show();
},
@@ -307,38 +366,27 @@
this.setValue(label);
this.hidePopup();
this.__setInputFocus();
+
+ this.invokeEvent.call(this,"selectitem", document.getElementById(this.id + 'Input'), e);
},
onblur: function(e) {
this.hidePopup();
var value = "";
var label = this.defaultLabel;
+ var clientItem;
var inputLabel = this.getValue();
if(inputLabel && inputLabel != "") {
- var items = this.cache.getItems(inputLabel);
- if(items.length > 0) {
- var first = $(items[0]);
- $.each(this.clientItems, function() {
- if(this.id == first.attr("id")) {
- label = this.label;
- value = this.value;
- return false;
- }
- });
+ if(this.enableManualInput) {
+ clientItem = this.__getClientItemFromCache(inputLabel);
} else {
- this.field.removeClass("rf-sel-fld-err");
-
- var prevValue = this.selValueInput.val();
- if(prevValue && prevValue != "") {
- $.each(this.clientItems, function() {
- if(this.value == prevValue) {
- label = this.label;
- value = this.value
- return false;
- }
- });
- }
+ clientItem = this.__getClientItem(inputLabel);
}
+
+ if(clientItem) {
+ label = clientItem.label;
+ value = clientItem.value;
+ }
}
this.setValue(label);
Modified: trunk/ui/input/ui/src/main/templates/select.template.xml
===================================================================
--- trunk/ui/input/ui/src/main/templates/select.template.xml 2010-12-07 11:56:13 UTC (rev 20431)
+++ trunk/ui/input/ui/src/main/templates/select.template.xml 2010-12-07 12:41:00 UTC (rev 20432)
@@ -23,7 +23,7 @@
<div style="position : relative; overflow : hidden; text-align : left; padding-right : 18px;">
<input id="#{clientId}selValue" name="#{clientId}" type="hidden" value="#{getInputValue(facesContext, component)}"/>
<div id="#{clientId}Field" class="rf-sel-fld">
- <input cdk:passThroughWithExclusions="class autocomplete id value disabled name type readonly"
+ <input cdk:passThroughWithExclusions="class autocomplete id value disabled name type readonly onchange onblur"
id="#{clientId}Input"
value="#{getSelectLabel(facesContext, component)}"
disabled="#{disabled}"
@@ -70,7 +70,7 @@
<cdk:scriptOption name="itemCss" value="#{concatClasses('rf-sel-opt', component.attributes['itemClass'])}" />
<cdk:scriptOption name="selectItemCss" value="#{concatClasses('rf-sel-sel', component.attributes['selectItemClass'])}" />
<cdk:scriptOption name="listCss" value="#{concatClasses('rf-sel-lst-cord', component.attributes['listClass'])}" />
- <cdk:scriptOption attributes="onchange onselect" wrapper="eventHandler"/>
+ <cdk:scriptOption attributes="onbegin oncomplete onerror onbeforedomupdate onchange onblur onselectitem" wrapper="eventHandler"/>
<cdk:scriptOption attributes="showControl defaultLabel enableManualInput selectFirst" />
</cdk:scriptObject>
new RichFaces.ui.Select("#{clientId}", #{toScriptArgs(options)});
15 years, 5 months
JBoss Rich Faces SVN: r20431 - trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2010-12-07 06:56:13 -0500 (Tue, 07 Dec 2010)
New Revision: 20431
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java
Log:
checkstyle corrections
Modified: trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java
===================================================================
--- trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java 2010-12-07 11:43:29 UTC (rev 20430)
+++ trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java 2010-12-07 11:56:13 UTC (rev 20431)
@@ -7,39 +7,44 @@
@ManagedBean
@ViewScoped
-public class DropDownMenuBean implements Serializable{
- private String current;
-
- public String getCurrent() {
- return this.current;
- }
-
- public void setCurrent(String current) {
- this.current = current;
- }
-
- public String doNew() {
- this.current="New";
- return null;
- }
- public String doOpen() {
- this.current="Open";
- return null;
- }
- public String doClose() {
- this.current="Close";
- return null;
- }
- public String doSave() {
- this.current="Save";
- return null;
- }
- public String doSaveAll() {
- this.current="Save All";
- return null;
- }
- public String doExit() {
- this.current="Exit";
- return null;
- }
+public class DropDownMenuBean implements Serializable {
+ private String current;
+
+ public String getCurrent() {
+ return this.current;
+ }
+
+ public void setCurrent(String current) {
+ this.current = current;
+ }
+
+ public String doNew() {
+ this.current = "New";
+ return null;
+ }
+
+ public String doOpen() {
+ this.current = "Open";
+ return null;
+ }
+
+ public String doClose() {
+ this.current = "Close";
+ return null;
+ }
+
+ public String doSave() {
+ this.current = "Save";
+ return null;
+ }
+
+ public String doSaveAll() {
+ this.current = "Save All";
+ return null;
+ }
+
+ public String doExit() {
+ this.current = "Exit";
+ return null;
+ }
}
15 years, 5 months
JBoss Rich Faces SVN: r20430 - in trunk/examples/richfaces-showcase/src/main: java/org/richfaces/demo/dropdownmenu and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2010-12-07 06:43:29 -0500 (Tue, 07 Dec 2010)
New Revision: 20430
Added:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/sideMenu.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/topMenu.xhtml
Modified:
trunk/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml
Log:
https://jira.jboss.org/browse/RF-9792
Added: trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java
===================================================================
--- trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java 2010-12-07 11:43:29 UTC (rev 20430)
@@ -0,0 +1,45 @@
+package org.richfaces.demo.dropdownmenu;
+
+import java.io.Serializable;
+
+import javax.faces.bean.ManagedBean;
+import javax.faces.bean.ViewScoped;
+
+@ManagedBean
+@ViewScoped
+public class DropDownMenuBean implements Serializable{
+ private String current;
+
+ public String getCurrent() {
+ return this.current;
+ }
+
+ public void setCurrent(String current) {
+ this.current = current;
+ }
+
+ public String doNew() {
+ this.current="New";
+ return null;
+ }
+ public String doOpen() {
+ this.current="Open";
+ return null;
+ }
+ public String doClose() {
+ this.current="Close";
+ return null;
+ }
+ public String doSave() {
+ this.current="Save";
+ return null;
+ }
+ public String doSaveAll() {
+ this.current="Save All";
+ return null;
+ }
+ public String doExit() {
+ this.current="Exit";
+ return null;
+ }
+}
Modified: trunk/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml 2010-12-07 11:31:11 UTC (rev 20429)
+++ trunk/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml 2010-12-07 11:43:29 UTC (rev 20430)
@@ -435,6 +435,20 @@
</sample>
</samples>
</demo>
+ <demo new="true">
+ <id>dropDownMenu</id>
+ <name>rich:dropDownMenu</name>
+ <samples>
+ <sample>
+ <id>topMenu</id>
+ <name>Top Menu</name>
+ </sample>
+ <sample>
+ <id>sideMenu</id>
+ <name>Side Menu</name>
+ </sample>
+ </samples>
+ </demo>
</demos>
</group>
<group>
Added: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml 2010-12-07 11:43:29 UTC (rev 20430)
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+<ui:composition>
+ <style>
+.optionList {
+ height: 22px;
+}
+
+.vertical-menu-cell {
+ padding: 0px 4px 0px 4px;
+}
+</style>
+ <h:panelGrid styleClass="vertical-menu-cell"
+ columnClasses="optionList" columns="1" cellspacing="0"
+ cellpadding="0">
+ <rich:dropDownMenu
+ style="border:1px solid #{a4jSkin.panelBorderColor}" label="Option1"
+ mode="none">
+ <rich:menuItem label="Suboption 1-1" />
+ <rich:menuItem label="Suboption 1-2">
+ <f:facet name="icon">
+ <h:graphicImage value="/richfaces/toolBar/images/print.gif" />
+ </f:facet>
+ </rich:menuItem>
+ <rich:menuItem label="Suboption 1-3" />
+ </rich:dropDownMenu>
+ <rich:dropDownMenu
+ style="border:1px solid #{a4jSkin.panelBorderColor}" label="Option2"
+ mode="none">
+ <rich:menuItem label="Suboption 2-1" />
+ <rich:menuItem label="Suboption 2-2" />
+ <rich:menuGroup label="Group2">
+ <rich:menuItem label="Suboption 2-2-1" />
+ <rich:menuItem label="Suboption 2-2-2" />
+ </rich:menuGroup>
+ <rich:menuItem label="Suboption 2-3" />
+ </rich:dropDownMenu>
+ <rich:dropDownMenu
+ style="border:1px solid #{a4jSkin.panelBorderColor}" label="Option3"
+ mode="none">
+ <rich:menuItem label="Suboption 3-1" />
+ <rich:menuItem label="Suboption 3-2" />
+ <rich:menuItem label="Suboption 3-3" />
+ </rich:dropDownMenu>
+ </h:panelGrid>
+</ui:composition>
+
+</html>
\ No newline at end of file
Added: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml 2010-12-07 11:43:29 UTC (rev 20430)
@@ -0,0 +1,101 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+<ui:composition>
+
+ <style>
+.pic {
+ margin-bottom: -4px;
+ margin-right: 2px;
+}
+
+.search .rf-ddm-itm-sel {
+ background-color: transparent;
+ background-image:none;
+ border-color: transparent;
+ cursor: default;
+}
+</style>
+
+ <h:form>
+ <rich:toolbar height="26px">
+ <rich:dropDownMenu mode="ajax">
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:graphicImage value="/images/icons/copy.gif" styleClass="pic" />
+ <h:outputText value="File" />
+ </h:panelGroup>
+ </f:facet>
+ <rich:menuItem label="New"
+ action="#{dropDownMenuBean.doNew}" icon="/images/icons/create_doc.gif">
+ </rich:menuItem>
+ <rich:menuItem label="Open"
+ action="#{dropDownMenuBean.doOpen}" icon="/images/icons/open.gif" />
+ <rich:menuGroup label="Save As...">
+ <rich:menuItem label="Save"
+ action="#{dropDownMenuBean.doSave}" icon="/images/icons/save.gif" />
+ <rich:menuItem label="Save All"
+ action="#{dropDownMenuBean.doSaveAll}">
+ <f:facet name="icon">
+ <h:graphicImage value="/images/icons/save_all.gif" />
+ </f:facet>
+ </rich:menuItem>
+ </rich:menuGroup>
+ <rich:menuItem label="Close"
+ action="#{dropDownMenuBean.doClose}" />
+ <rich:menuSeparator id="menuSeparator11" />
+ <rich:menuItem label="Exit"
+ action="#{dropDownMenuBean.doExit}" />
+
+ </rich:dropDownMenu>
+
+ <rich:dropDownMenu mode="ajax">
+ <f:facet name="label">
+ <h:panelGrid cellpadding="0" cellspacing="0" columns="2"
+ style="vertical-align:middle">
+ <h:outputText value="Links" />
+ </h:panelGrid>
+ </f:facet>
+ <rich:menuItem submitMode="none"
+ onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/'">
+ <h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
+ <h:outputText value="RichFaces Home Page"></h:outputText>
+ </h:outputLink>
+ </rich:menuItem>
+ <rich:menuItem submitMode="none"
+ onclick="document.location.href='http://jboss.com/index.html?module=bb&op=viewforum&f=261'">
+ <h:outputLink
+ value="http://jboss.com/index.html?module=bb&op=viewforum&f=261">
+ <h:outputText value="RichFaces Forum"></h:outputText>
+ </h:outputLink>
+ </rich:menuItem>
+ </rich:dropDownMenu>
+ <rich:toolbarGroup location="right">
+ <rich:dropDownMenu label="Search" direction="bottom-left"
+ jointPoint="br" styleClass="search" mode="client">
+ <rich:menuItem>
+ <h:inputText value="" id="searchinput" />
+ <button type="button">Search</button>
+ </rich:menuItem>
+ <rich:menuItem label="Enter your search criteria here"
+ disabled="true"></rich:menuItem>
+ </rich:dropDownMenu>
+ </rich:toolbarGroup>
+ </rich:toolbar>
+ </h:form>
+
+ <br />
+ <a4j:outputPanel ajaxRendered="true">
+ <h:outputText value="Current Selection: "></h:outputText>
+ <h:outputText style="font-weight:bold" value="#{dropDownMenuBean.current}"></h:outputText>
+ </a4j:outputPanel>
+ <br />
+
+</ui:composition>
+
+</html>
\ No newline at end of file
Added: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/sideMenu.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/sideMenu.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/sideMenu.xhtml 2010-12-07 11:43:29 UTC (rev 20430)
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<ui:composition>
+ <p>Instead of grouping menus in toolbar - you can just place a
+ block of them horizontally or vertiсally how it is shown below.</p>
+ <ui:include src="#{demoNavigator.sampleIncludeURI}" />
+ <ui:include src="/templates/includes/source-view.xhtml">
+ <ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
+ <ui:param name="sourceType" value="xhtml" />
+ <ui:param name="openLabel" value="View Source" />
+ <ui:param name="hideLabel" value="Hide Source" />
+ </ui:include>
+ <p>Pay attention that the default directions is not really
+ convenient in that case. And we will work to add its customization
+ support in nearest time. Demo will be updated with the changes after
+ that.</p>
+</ui:composition>
+
+</html>
\ No newline at end of file
Added: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/topMenu.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/topMenu.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/topMenu.xhtml 2010-12-07 11:43:29 UTC (rev 20430)
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<ui:composition>
+ <p><b>rich:dropDownMenu</b> is a component that allows to organize
+ the hierarchical menu similar to one that almost every desktop
+ application has.</p>
+ <ui:include src="#{demoNavigator.sampleIncludeURI}" />
+ <ui:include src="/templates/includes/source-view.xhtml">
+ <ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
+ <ui:param name="sourceType" value="xhtml" />
+ <ui:param name="openLabel" value="View Source" />
+ <ui:param name="hideLabel" value="Hide Source" />
+ </ui:include>
+ <p>The drop-down menu has a label that always appears on the page
+ and invisible panel that appears with a particular client side event (<i>mouseover,
+ click etc</i>). The event is defined with an <b>showEvent</b> attribute.</p>
+ <p>Drop-down menu can contains a set of menuItem's, menuGroup's and
+ menuSeparator's. Group plays a role of label for secondary levels on
+ the menu. Separator is represented with horizontal lines between the
+ items or groups. An item is an active element that might produce Ajax
+ or non-Ajax requests. The submission mode is defined with <b>mode</b>
+ attribute of the menu that has three possible options - "<i>server</i>",
+ "<i>ajax</i>" or "<i>client</i>". Mode "<i>client</i>" does not produce
+ any request, but allows you to provide your own functionality inside
+ the menu item with an inline content. Mode could be overriden for
+ concrete item</p>
+</ui:composition>
+
+</html>
\ No newline at end of file
15 years, 5 months
JBoss Rich Faces SVN: r20429 - in modules/tests/metamer/trunk/application/src/main: webapp/components/richCollapsiblePanel and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-12-07 06:31:11 -0500 (Tue, 07 Dec 2010)
New Revision: 20429
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml
Log:
https://jira.jboss.org/browse/RFPL-836
* added listener to collapsible panel
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java 2010-12-07 10:32:26 UTC (rev 20428)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java 2010-12-07 11:31:11 UTC (rev 20429)
@@ -80,4 +80,8 @@
public void panelToggleListener(ToggleEvent event) {
RichBean.logToPage("* panel " + (event.isExpanded() ? "expanded" : "collapsed"));
}
+
+ public void toggleListener() {
+ RichBean.logToPage("* toggle listener");
+ }
}
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml 2010-12-07 10:32:26 UTC (rev 20428)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml 2010-12-07 11:31:11 UTC (rev 20429)
@@ -73,6 +73,7 @@
styleClass="#{richCollapsiblePanelBean.attributes['styleClass'].value}"
switchType="#{richCollapsiblePanelBean.attributes['switchType'].value}"
title="#{richCollapsiblePanelBean.attributes['title'].value}"
+ toggleListener="#{richCollapsiblePanelBean.toggleListener}"
>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a neque turpis, at cursus nunc.
15 years, 5 months
JBoss Rich Faces SVN: r20428 - trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2010-12-07 05:32:26 -0500 (Tue, 07 Dec 2010)
New Revision: 20428
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js
Log:
https://jira.jboss.org/browse/RF-9676 Dropdown menu component minor update
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss 2010-12-07 09:58:56 UTC (rev 20427)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss 2010-12-07 10:32:26 UTC (rev 20428)
@@ -1,5 +1,5 @@
-.rf-ddm-lbl, .rf-ddm-lbl-dis {
- font-family:Arial, Verdana, sans-serif;
+.rf-ddm-lbl, .rf-ddm-lbl-dis {
+ font-family: '#{richSkin.headerFamilyFont}';
font-size:11px;
position:relative;
}
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js 2010-12-07 09:58:56 UTC (rev 20427)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js 2010-12-07 10:32:26 UTC (rev 20428)
@@ -81,8 +81,8 @@
},
processItem: function(item) {
- if (item && item.attr('id') && !this.__isDisabled(item) && this.__isGroup(item)) {
- this.invokeEvent("itemclick", rf.getDomElement(this.id), null);
+ if (item && item.attr('id') && !this.__isDisabled(item) && !this.__isGroup(item)) {
+ this.invokeEvent("itemclick", rf.getDomElement(this.id), null);
this.hidePopup();
}
},
15 years, 5 months
JBoss Rich Faces SVN: r20427 - in modules/tests/metamer/trunk/application/src/main: webapp/components/richCollapsiblePanel and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-12-07 04:58:56 -0500 (Tue, 07 Dec 2010)
New Revision: 20427
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml
Log:
https://jira.jboss.org/browse/RFPL-836
* sample for rich:collapsiblePanel fixed
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java 2010-12-07 09:05:09 UTC (rev 20426)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java 2010-12-07 09:58:56 UTC (rev 20427)
@@ -27,6 +27,7 @@
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import org.richfaces.component.UICollapsiblePanel;
+import org.richfaces.event.ToggleEvent;
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
@@ -75,4 +76,8 @@
public void setAttributes(Attributes attributes) {
this.attributes = attributes;
}
+
+ public void panelToggleListener(ToggleEvent event) {
+ RichBean.logToPage("* panel " + (event.isExpanded() ? "expanded" : "collapsed"));
+ }
}
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml 2010-12-07 09:05:09 UTC (rev 20426)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml 2010-12-07 09:58:56 UTC (rev 20427)
@@ -55,18 +55,17 @@
lang="#{richCollapsiblePanelBean.attributes['lang'].value}"
limitToList="#{richCollapsiblePanelBean.attributes['limitToList'].value}"
onbeforedomupdate="#{richCollapsiblePanelBean.attributes['onbeforedomupdate'].value}"
- onbeforeitemchange="#{richCollapsiblePanelBean.attributes['onbeforeitemchange'].value}"
onbeforeswitch="#{richCollapsiblePanelBean.attributes['onbeforeswitch'].value}"
onclick="#{richCollapsiblePanelBean.attributes['onclick'].value}"
oncomplete="#{richCollapsiblePanelBean.attributes['oncomplete'].value}"
ondblclick="#{richCollapsiblePanelBean.attributes['ondblclick'].value}"
- onitemchange="#{richCollapsiblePanelBean.attributes['onitemchange'].value}"
onmousedown="#{richCollapsiblePanelBean.attributes['onmousedown'].value}"
onmousemove="#{richCollapsiblePanelBean.attributes['onmousemove'].value}"
onmouseout="#{richCollapsiblePanelBean.attributes['onmouseout'].value}"
onmouseover="#{richCollapsiblePanelBean.attributes['onmouseover'].value}"
onmouseup="#{richCollapsiblePanelBean.attributes['onmouseup'].value}"
onswitch="#{richCollapsiblePanelBean.attributes['onswitch'].value}"
+ panelToggleListener="#{richCollapsiblePanelBean.panelToggleListener}"
render="#{richCollapsiblePanelBean.attributes['render'].value}"
rendered="#{richCollapsiblePanelBean.attributes['rendered'].value}"
status="#{richCollapsiblePanelBean.attributes['status'].value}"
15 years, 5 months
JBoss Rich Faces SVN: r20426 - in modules/tests/metamer/trunk/application/src/main: webapp/components/richAccordion and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-12-07 04:05:09 -0500 (Tue, 07 Dec 2010)
New Revision: 20426
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordion/simple.xhtml
Log:
https://jira.jboss.org/browse/RFPL-674
* sample for rich:accordion fixed
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionBean.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionBean.java 2010-12-07 06:47:13 UTC (rev 20425)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionBean.java 2010-12-07 09:05:09 UTC (rev 20426)
@@ -54,7 +54,7 @@
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
- attributes = Attributes.getUIComponentAttributes(HtmlAccordion.class, getClass());
+ attributes = Attributes.getUIComponentAttributes(HtmlAccordion.class, getClass(), false);
attributes.setAttribute("rendered", true);
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordion/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordion/simple.xhtml 2010-12-07 06:47:13 UTC (rev 20425)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordion/simple.xhtml 2010-12-07 09:05:09 UTC (rev 20426)
@@ -43,28 +43,20 @@
<rich:accordion id="accordion"
activeItem="#{richAccordionBean.attributes['activeItem'].value}"
bypassUpdates="#{richAccordionBean.attributes['bypassUpdates'].value}"
- converter="#{richAccordionBean.attributes['converter'].value}"
cycledSwitching="#{richAccordionBean.attributes['cycledSwitching'].value}"
data="#{richAccordionBean.attributes['data'].value}"
dir="#{richAccordionBean.attributes['dir'].value}"
execute="#{richAccordionBean.attributes['execute'].value}"
- firstItem="#{richAccordionBean.attributes['firstItem'].value}"
height="#{richAccordionBean.attributes['height'].value}"
immediate="#{richAccordionBean.attributes['immediate'].value}"
- itemByIndex="#{richAccordionBean.attributes['itemByIndex'].value}"
- itemChangeListener="#{richAccordionBean.attributes['itemChangeListener'].value}"
- itemChangeListeners="#{richAccordionBean.attributes['itemChangeListeners'].value}"
+ itemChangeListener="#{richBean.itemChangeListener}"
itemContentClass="#{richAccordionBean.attributes['itemContentClass'].value}"
itemHeaderClass="#{richAccordionBean.attributes['itemHeaderClass'].value}"
itemHeaderClassActive="#{richAccordionBean.attributes['itemHeaderClassActive'].value}"
itemHeaderClassDisabled="#{richAccordionBean.attributes['itemHeaderClassDisabled'].value}"
itemHeaderClassInactive="#{richAccordionBean.attributes['itemHeaderClassInactive'].value}"
lang="#{richAccordionBean.attributes['lang'].value}"
- lastItem="#{richAccordionBean.attributes['lastItem'].value}"
limitToList="#{richAccordionBean.attributes['limitToList'].value}"
- localValue="#{richAccordionBean.attributes['localValue'].value}"
- localValueSet="#{richAccordionBean.attributes['localValueSet'].value}"
- nextItem="#{richAccordionBean.attributes['nextItem'].value}"
onbeforeitemchange="#{richAccordionBean.attributes['onbeforeitemchange'].value}"
onclick="#{richAccordionBean.attributes['onclick'].value}"
ondblclick="#{richAccordionBean.attributes['ondblclick'].value}"
@@ -74,20 +66,13 @@
onmouseout="#{richAccordionBean.attributes['onmouseout'].value}"
onmouseover="#{richAccordionBean.attributes['onmouseover'].value}"
onmouseup="#{richAccordionBean.attributes['onmouseup'].value}"
- prevItem="#{richAccordionBean.attributes['prevItem'].value}"
render="#{richAccordionBean.attributes['render'].value}"
rendered="#{richAccordionBean.attributes['rendered'].value}"
- renderedItems="#{richAccordionBean.attributes['renderedItems'].value}"
- required="#{richAccordionBean.attributes['required'].value}"
status="#{richAccordionBean.attributes['status'].value}"
style="#{richAccordionBean.attributes['style'].value}"
styleClass="#{richAccordionBean.attributes['styleClass'].value}"
- submittedActiveItem="#{richAccordionBean.attributes['submittedActiveItem'].value}"
- submittedValue="#{richAccordionBean.attributes['submittedValue'].value}"
switchType="#{richAccordionBean.attributes['switchType'].value}"
title="#{richAccordionBean.attributes['title'].value}"
- valid="#{richAccordionBean.attributes['valid'].value}"
- value="#{richAccordionBean.attributes['value'].value}"
width="#{richAccordionBean.attributes['width'].value}"
>
@@ -116,32 +101,47 @@
testedComponentId = "#{rich:clientId('accordion')}";
</script>
- <h:commandButton id="switchButton1" value="switch to item1">
+ <h:commandButton id="switchButton1" value="item1">
<rich:componentControl event="click" operation="switchToItem" target="accordion" >
<f:param value="item1" />
</rich:componentControl>
</h:commandButton>
- <h:commandButton id="switchButton2" value="switch to item2">
+ <h:commandButton id="switchButton2" value="item2">
<rich:componentControl event="click" operation="switchToItem" target="accordion" >
<f:param value="item2" />
</rich:componentControl>
</h:commandButton>
- <h:commandButton id="switchButton3" value="switch to item3">
+ <h:commandButton id="switchButton3" value="item3">
<rich:componentControl event="click" operation="switchToItem" target="accordion" >
<f:param value="item3" />
</rich:componentControl>
</h:commandButton>
- <h:commandButton id="switchButton4" value="switch to item4">
+ <h:commandButton id="switchButton4" value="item4">
<rich:componentControl event="click" operation="switchToItem" target="accordion" >
<f:param value="item4" />
</rich:componentControl>
</h:commandButton>
- <h:commandButton id="switchButton5" value="switch to item5">
+ <h:commandButton id="switchButton5" value="item5">
<rich:componentControl event="click" operation="switchToItem" target="accordion" >
<f:param value="item5" />
</rich:componentControl>
</h:commandButton>
+ <br/>
+
+ <h:commandButton id="switcFirsthButton" value="first">
+ <rich:toggleControl targetPanel="accordion" targetItem="@first" />
+ </h:commandButton>
+ <h:commandButton id="switchPrevButton" value="previous">
+ <rich:toggleControl targetPanel="accordion" targetItem="@prev" />
+ </h:commandButton>
+ <h:commandButton id="switchNextButton" value="next">
+ <rich:toggleControl targetPanel="accordion" targetItem="@next"/>
+ </h:commandButton>
+ <h:commandButton id="switchLastButton" value="last">
+ <rich:toggleControl targetPanel="accordion" targetItem="@last"/>
+ </h:commandButton>
+
</fieldset>
</ui:define>
15 years, 5 months
JBoss Rich Faces SVN: r20425 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: extras and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2010-12-07 01:47:13 -0500 (Tue, 07 Dec 2010)
New Revision: 20425
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenu-richpanelMenu.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenuGroup-Using_custom_icons.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenuItem-Using_custom_icons.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richpanelMenu-richpanelMenu.png
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Menus_and_toolbars.xml
Log:
rich:panelMenu sections ready for review
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Menus_and_toolbars.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Menus_and_toolbars.xml 2010-12-07 02:12:48 UTC (rev 20424)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Menus_and_toolbars.xml 2010-12-07 06:47:13 UTC (rev 20425)
@@ -73,81 +73,71 @@
<!-- TODO not in M5 -->
<!--<rich:panelMenu>-->
- <!--
<section id="sect-Component_Reference-Menus_and_toolbars-richpanelMenu">
<title><sgmltag><rich:panelMenu></sgmltag></title>
- <itemizedlist>
- <listitem>
- <para>
- <parameter>component-type</parameter>: <classname>org.richfaces.PanelMenu</classname>
- </para>
- </listitem>
- <listitem>
- <para>
- <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlPanelMenu</classname>
- </para>
- </listitem>
- <listitem>
- <para>
- <parameter>component-family</parameter>: <classname>org.richfaces.PanelMenu</classname>
- </para>
- </listitem>
- <listitem>
- <para>
- <parameter>renderer-type</parameter>: <classname>org.richfaces.PanelMenuRenderer</classname>
- </para>
- </listitem>
- <listitem>
- <para>
- <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.PanelMenuTag</classname>
- </para>
- </listitem>
- </itemizedlist>
<para>
- The <classname><rich:panelMenu></classname> component can be used in conjunction with <classname><rich:panelMenuItem></classname> and <classname><rich:panelMenuGroup></classname> to create an expanding, hierarchical menu. The <classname><rich:panelMenu></classname> component's appearance can be highly customized, and the hierarchy can stretch to any number of sub-levels.
+ The <sgmltag><rich:panelMenu></sgmltag> component is used in conjunction with <sgmltag><rich:panelMenuItem></sgmltag> and <sgmltag><rich:panelMenuGroup></sgmltag> to create an expanding, hierarchical menu. The <sgmltag><rich:panelMenu></sgmltag> component's appearance can be highly customized, and the hierarchy can stretch to any number of sub-levels.
</para>
- <para>
- The <code>selectedChild</code> attribute is used to point to the name of the currently selected menu item.
- </para>
- <para>
- By default, the event to expand the menu is a mouse click. This can be changed by setting <code>event</code> to specify the preferred event. Several sub-menus can be expanded a once unless the <code>expandSingle</code> is set to <literal>true</literal>, which only allows one sub-menu at a time to be expanded.
- </para>
- <para>
- The <code>mode</code> attribute defines the submission mode for normal menu items that link to content, and the <code>expandMode</code> attribute defines the submission mode for menu items that expand and collapse. The settings for these attributes apply to the entire menu unless a menu item defines its own individual <code>mode</code> or <code>expandMode</code>. The values for <code>mode</code> and <code>expandMode</code> are:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <literal>server</literal>, the default setting, which submits the form normally and completely refreshes the page;
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>ajax</literal>, which performs an Ajax form submission, and re-renders elements specified with the <code>render</code> attribute; and
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>none</literal>, which causes the <code>action</code> and <code>actionListener</code> items to be ignored, and the behavior is fully defined by the nested components instead of responses from submissions.
- </para>
- </listitem>
- </itemizedlist>
- -->
-
- <!--<rich:panelMenuGroup>-->
- <!--
- <section id="sect-Component_Reference-Menus_and_toolbars-richpanelMenuGroup">
- <title><sgmltag><rich:panelMenuGroup></sgmltag></title>
+
+ <example id="exam-Component_Reference-richpanelMenu-richpanelMenu">
+ <title>richpanelMenu</title>
+ <programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richpanelMenu-richpanelMenu.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Component_Reference-richpanelMenu-richpanelMenu.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ A panel menu. The first menu group is collapsed. The second menu group is expanded; it contains menu items and a further menu group, which is currently selected and expanded. The third menu item is not a group and as such is not expandable.
+ </para>
+ </textobject>
+ </mediaobject>
+ </example>
+
+ <section id="sect-Component_Reference-richpanelMenu-Basic_usage">
+ <title>Basic usage</title>
<para>
- The <classname><rich:panelMenuGroup></classname> component defines a group of <classname><rich:panelMenuItem></classname> components inside a <classname><rich:panelMenu></classname>.
+ The <sgmltag><rich:panelMenu></sgmltag> component does not need any extra attributes declared for basic usage. However, it does require child <sgmltag><rich:panelMenuGroup></sgmltag> and <sgmltag><rich:panelMenuItem></sgmltag> components. Refer to <xref linkend="sect-Component_Reference-Menus_and_toolbars-richpanelMenuGroup" /> and <xref linkend="sect-Component_Reference-Menus_and_toolbars-richpanelMenuItem" /> for details on these child components.
</para>
+ </section>
+
+ <section id="sect-Component_Reference-richpanelMenu-Interactivity_options">
+ <title>Interactivity options</title>
<para>
- If the <code>expandMode</code> is unspecified, the submission behavior for the group is inherited from the parent <classname><rich:panelMenu></classname>. Otherwise, the <code>expandMode</code> setting is used instead of the parent's behavior.
+ The <varname>selectedChild</varname> attribute is used to point to the name of the currently selected menu item.
</para>
<para>
- Icons for the menu group can be chosen from a set of standard icons. There are three attributes that relate to the different menu states that the icon represents: <code>iconExpanded</code>, <code>iconCollapsed</code>, and <code>iconDisabled</code>. The standard icons are shown in <xref linkend="figu-Component_Reference-richpanelMenuGroup-Standard_icons" />.
+ By default, the event to expand the menu is a mouse click. Set the <varname>event</varname> attribute to specify a different event for expanding menus. Multiple levels of sub-menus can be expanded in one action. Set <code>expandSingle="true"</code> to only expand one sub-menu at a time.
</para>
- <figure id="figu-Component_Reference-richpanelMenuGroup-Standard_icons">
+ </section>
+
+ <section id="sect-Component_Reference-richpanelMenu-Appearance">
+ <title>Appearance</title>
+ <para>
+ Icons for the panel menu can be chosen from a set of standard icons. There are several attributes that relate to the different menu states that the icon represents for different menu levels:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term><varname>iconExpandedTopGroup</varname>, <varname>iconCollapsedTopGroup</varname>, and <varname>iconDisabledTopGroup</varname></term>
+ <listitem>
+ <para>
+ These attributes determine the icons for the top level menu. They relate to an expanded menu group, a collapsed menu group, and a disabled menu item respectively.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><varname>iconExpandedGroup</varname>, <varname>iconCollapsedGroup</varname>, and <varname>iconDisabledGroup</varname></term>
+ <listitem>
+ <para>
+ These attributes determine the icons for sub-menus that are not the top-level menu. They relate to an expanded menu group, a collapsed menu group, and a disabled menu item respectively.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ <xref linkend="exam-Component_Reference-richpanelMenu-richpanelMenu" /> demonstrates the use of icon declaration at the panel menu level. The standard icons are shown in <xref linkend="figu-Component_Reference-richpanelMenu-Standard_icons" />.
+ </para>
+ <figure id="figu-Component_Reference-richpanelMenu-Standard_icons">
<title><sgmltag><Standard icons></sgmltag></title>
<mediaobject>
<imageobject>
@@ -156,88 +146,225 @@
</mediaobject>
</figure>
<para>
- Alternatively, a path can be defined that points to an image file to use as an icon.
+ Alternatively, point the icon attributes to the paths of image files. The image files are then used as icons.
</para>
- <example id="exam-Component_Reference-richpanelMenuGroup-Using_custom_icons">
- <title>Using custom icons</title>
+ <para>
+ Any icons specified by child <sgmltag><rich:panelMenuGroup></sgmltag> and <sgmltag><rich:panelMenuItem></sgmltag> components overwrite the icons declared with the parent <sgmltag><rich:panelMenu></sgmltag> component.
+ </para>
+ </section>
-<programlisting language="XML" role="XML">
-<rich:panelMenu>
- <rich:PanelMenuGroup label="Group 1" iconExpanded="\images\img1.png" iconCollapsed="\images\img2.png">>
- <!- -Nested menu components- ->
- </rich:panelMenuGroup>
-</rich:panelMenu>
-</programlisting>
- </example>
+ <section id="sect-Component_Reference-richpanelMenu-Submission_modes">
+ <title>Submission modes</title>
+ <para>
+ The <varname>mode</varname> attribute defines the submission mode for normal menu items that link to content, and the <varname>expandMode</varname> attribute defines the submission mode for menu items that expand and collapse. The settings for these attributes apply to the entire menu unless a menu item defines its own individual <varname>mode</varname> or <varname>expandMode</varname>. The possible values for <varname>mode</varname> and <varname>expandMode</varname> are as follows:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <literal>server</literal>, the default setting, which submits the form normally and completely refreshes the page.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>ajax</literal>, which performs an Ajax form submission, and re-renders elements specified with the <varname>render</varname> attribute.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>none</literal>, which causes the <varname>action</varname> and <varname>actionListener</varname> items to be ignored, and the behavior is fully defined by the nested components instead of responses from submissions.
+ </para>
+ </listitem>
+ </itemizedlist>
</section>
- -->
-
- <!--<rich:panelMenuItem>-->
- <!--
- <section id="sect-Component_Reference-Menus_and_toolbars-richpanelMenuItem">
- <title><sgmltag><rich:panelMenuItem></sgmltag></title>
+
+ <section id="sect-Component_Reference-richpanelMenu-Reference_data">
+ <title>Reference data</title>
<itemizedlist>
<listitem>
<para>
- <parameter>component-type</parameter>: <classname>org.richfaces.PanelMenuItem</classname>
+ <parameter>component-type</parameter>: <classname>org.richfaces.PanelMenu</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlPanelMenuItem</classname>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlPanelMenu</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-family</parameter>: <classname>org.richfaces.PanelMenuItem</classname>
+ <parameter>component-family</parameter>: <classname>org.richfaces.PanelMenu</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>renderer-type</parameter>: <classname>org.richfaces.PanelMenuItemRenderer</classname>
+ <parameter>renderer-type</parameter>: <classname>org.richfaces.PanelMenuRenderer</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.PanelMenuItemTag</classname>
+ <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.PanelMenuTag</classname>
</para>
</listitem>
</itemizedlist>
+ </section>
+
+ <!--<rich:panelMenuGroup>-->
+ <section id="sect-Component_Reference-Menus_and_toolbars-richpanelMenuGroup">
+ <title><sgmltag><rich:panelMenuGroup></sgmltag></title>
<para>
- The <classname><rich:panelMenuItem></classname> component represents a single item inside a <classname><rich:panelMenuGroup></classname> component, which is in turn part of a <classname><rich:panelMenu></classname> component.
+ The <sgmltag><rich:panelMenuGroup></sgmltag> component defines a group of <sgmltag><rich:panelMenuItem></sgmltag> components inside a <sgmltag><rich:panelMenu></sgmltag>.
</para>
+
+ <section id="sect-Component_Reference-richpanelMenuGroup-Basic_usage">
+ <title>Basic usage</title>
+ <para>
+ The <sgmltag><rich:panelMenuGroup></sgmltag> component needs the <varname>label</varname> attribute declared, which specifies the text to show for the menu entry. Additionally, the <sgmltag><rich:panelMenuGroup></sgmltag> component at least one <sgmltag><rich:panelMenuGroup></sgmltag> or <sgmltag><rich:panelMenuItem></sgmltag> components as child elements.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richpanelMenuGroup-Appearance">
+ <title>Appearance</title>
+ <para>
+ Icons for the menu group can be chosen from a set of standard icons. There are three attributes that relate to the different menu states that the icon represents: <varname>iconExpanded</varname>, <varname>iconCollapsed</varname>, and <varname>iconDisabled</varname>. The standard icons are shown in <xref linkend="figu-Component_Reference-richpanelMenuGroup-Standard_icons" />.
+ </para>
+ <figure id="figu-Component_Reference-richpanelMenuGroup-Standard_icons">
+ <title><sgmltag><Standard icons></sgmltag></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Component_Reference-richpanelMenuGroup-Standard_icons.png" format="PNG" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Alternatively, point the icon attributes to the paths of image files. The image files are then used as icons.
+ </para>
+ <example id="exam-Component_Reference-richpanelMenuGroup-Using_custom_icons">
+ <title>Using custom icons</title>
+ <programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richpanelMenuGroup-Using_custom_icons.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
+ <para>
+ Any icons specified by child <sgmltag><rich:panelMenuGroup></sgmltag> and <sgmltag><rich:panelMenuItem></sgmltag> components overwrite the icons declared with the parent <sgmltag><rich:panelMenu></sgmltag> component.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richpanelMenuGroup-Submission_modes">
+ <title>Submission modes</title>
+ <para>
+ If the <varname>expandMode</varname> is unspecified, the submission behavior for the group is inherited from the parent <sgmltag><rich:panelMenu></sgmltag>. Otherwise, the <varname>expandMode</varname> setting is used instead of the parent's behavior.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richpanelMenuGroup-Reference_data">
+ <title>Reference data</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>component-type</parameter>: <classname>org.richfaces.PanelMenuGroup</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlPanelMenuGroup</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-family</parameter>: <classname>org.richfaces.PanelMenuGroup</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>renderer-type</parameter>: <classname>org.richfaces.PanelMenuGroupRenderer</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.PanelMenuGroupTag</classname>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ </section>
+
+ <!--<rich:panelMenuItem>-->
+ <section id="sect-Component_Reference-Menus_and_toolbars-richpanelMenuItem">
+ <title><sgmltag><rich:panelMenuItem></sgmltag></title>
<para>
- If the <code>mode</code> is unspecified, the submission behavior for the item is inherited from the parent <classname><rich:panelMenu></classname>. Otherwise, the <code>mode</code> setting is used instead of the parent's behavior.
+ The <sgmltag><rich:panelMenuItem></sgmltag> component represents a single item inside a <sgmltag><rich:panelMenuGroup></sgmltag> component, which is in turn part of a <sgmltag><rich:panelMenu></sgmltag> component.
</para>
- <para>
- Icons for menu items can be chosen from a set of standard icons. There are two attributes that relate to the different menu states that the icon represents: <code>icon</code> and <code>iconDisabled</code>. The standard icons are shown in <xref linkend="figu-Component_Reference-Basic_column_example-Basic_column_example" />.
- </para>
- <figure id="figu-Component_Reference-richpanelMenuItem-Standard_icons">
- <title>Standard icons</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Component_Reference-richpanelMenuItem-Standard_icons.png" format="PNG" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- Alternatively, a path can be defined that points to an image file to use as an icon.
- </para>
- <example id="exam-Component_Reference-richpanelMenuItem-Using_custom_icons">
- <title>Using custom icons</title>
+
+ <section id="sect-Component_Reference-richpanelMenuItem-Basic_usage">
+ <title>Basic usage</title>
+ <para>
+ The <sgmltag><rich:panelMenuItem></sgmltag> component needs the <varname>label</varname> attribute declared, which specifies the text to show for the menu entry.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richpanelMenuItem-Appearance">
+ <title>Appearance</title>
+ <para>
+ Icons for menu items can be chosen from a set of standard icons. There are two attributes that relate to the different menu states that the icon represents: <varname>icon</varname> and <varname>iconDisabled</varname>. The standard icons are shown in <xref linkend="figu-Component_Reference-Basic_column_example-Basic_column_example" />.
+ </para>
+ <figure id="figu-Component_Reference-richpanelMenuItem-Standard_icons">
+ <title>Standard icons</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Component_Reference-richpanelMenuItem-Standard_icons.png" format="PNG" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Alternatively, point the icon attributes to the paths of image files. The image files are then used as icons.
+ </para>
+ <example id="exam-Component_Reference-richpanelMenuItem-Using_custom_icons">
+ <title>Using custom icons</title>
+ <programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richpanelMenuItem-Using_custom_icons.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
+ <para>
+ Any icons specified by child <sgmltag><rich:panelMenuGroup></sgmltag> and <sgmltag><rich:panelMenuItem></sgmltag> components overwrite the icons declared with the parent <sgmltag><rich:panelMenu></sgmltag> component.
+ </para>
+ </section>
-<programlisting language="XML" role="XML">
-<rich:panelMenu>
- ...
- <rich:panelMenuItem value="Item 1.1" icon="\images\img1.png" iconDisabled="\images\img2.png" />
- ...
-</rich:panelMenu>
-</programlisting>
- </example>
+ <section id="sect-Component_Reference-richpanelMenuItem-Submission_modes">
+ <title>Submission modes</title>
+ <para>
+ If the <varname>mode</varname> is unspecified, the submission behavior for the item is inherited from the parent <sgmltag><rich:panelMenu></sgmltag>. Otherwise, the <varname>mode</varname> setting is used instead of the parent's behavior.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richpanelMenuItem-Reference_data">
+ <title>Reference data</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>component-type</parameter>: <classname>org.richfaces.PanelMenuItem</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlPanelMenuItem</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-family</parameter>: <classname>org.richfaces.PanelMenuItem</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>renderer-type</parameter>: <classname>org.richfaces.PanelMenuItemRenderer</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.PanelMenuItemTag</classname>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
</section>
</section>
- -->
<!--<rich:toolBar>-->
<section id="sect-Component_Reference-Menus_and_toolbars-richtoolbar">
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenu-richpanelMenu.xml_sample
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenu-richpanelMenu.xml_sample (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenu-richpanelMenu.xml_sample 2010-12-07 06:47:13 UTC (rev 20425)
@@ -0,0 +1,23 @@
+<rich:panelMenu mode="ajax" iconGroupTopPosition="right"
+ iconExpandedTopGroup="chevronUp"
+ iconCollapsedTopGroup="chevronDown"
+ iconExpandedGroup="disc"
+ iconCollapsedGroup="disc">
+ <rich:panelMenuGroup label="Group 1">
+ <rich:panelMenuItem label="Item 1.1"/>
+ <rich:panelMenuItem label="Item 1.2"/>
+ <rich:panelMenuItem label="Item 1.3"/>
+ </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="Group 2">
+ <rich:panelMenuItem label="Item 2.1"/>
+ <rich:panelMenuItem label="Item 2.2"/>
+ <rich:panelMenuItem label="Item 2.3"/>
+ <rich:panelMenuGroup label="Group 2.4">
+ <rich:panelMenuItem label="Item 2.4.1"/>
+ <rich:panelMenuItem label="Item 2.4.2"/>
+ <rich:panelMenuItem label="Item 2.4.3"/>
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item 2.5"/>
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item 3"/>
+</rich:panelMenu>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenuGroup-Using_custom_icons.xml_sample
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenuGroup-Using_custom_icons.xml_sample (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenuGroup-Using_custom_icons.xml_sample 2010-12-07 06:47:13 UTC (rev 20425)
@@ -0,0 +1,5 @@
+<rich:panelMenu>
+ <rich:PanelMenuGroup label="Group 1" iconExpanded="\images\img1.png" iconCollapsed="\images\img2.png">
+ <!-- Nested menu components -->
+ </rich:panelMenuGroup>
+</rich:panelMenu>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenuItem-Using_custom_icons.xml_sample
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenuItem-Using_custom_icons.xml_sample (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richpanelMenuItem-Using_custom_icons.xml_sample 2010-12-07 06:47:13 UTC (rev 20425)
@@ -0,0 +1,5 @@
+<rich:panelMenu>
+ ...
+ <rich:panelMenuItem value="Item 1.1" icon="\images\img1.png" iconDisabled="\images\img2.png" />
+ ...
+</rich:panelMenu>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richpanelMenu-richpanelMenu.png
===================================================================
(Binary files differ)
Property changes on: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richpanelMenu-richpanelMenu.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 5 months