JBoss Rich Faces SVN: r21353 - in modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss: cheiron/retriever and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-02-01 07:06:30 -0500 (Tue, 01 Feb 2011)
New Revision: 21353
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/halt/AbstractPageExtensions.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/halt/XHRHalter.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/retriever/ColorRetriever.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/retriever/RetrieverAdapter.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/retriever/ScriptEvaluationRetriever.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/RequestTypeModelGuard.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/SeleniumGetter.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/javascript/JQueryScript.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/javascript/JavaScriptEvaluator.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/locator/reference/LocatorReference.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/locator/reference/ReferencedLocator.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/waiting/WaitFactory.java
Log:
* added svn property Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/halt/AbstractPageExtensions.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/halt/XHRHalter.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/retriever/ColorRetriever.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/retriever/RetrieverAdapter.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/retriever/ScriptEvaluationRetriever.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/RequestTypeModelGuard.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/SeleniumGetter.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/javascript/JQueryScript.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/javascript/JavaScriptEvaluator.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/locator/reference/LocatorReference.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/locator/reference/ReferencedLocator.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/test/selenium/waiting/WaitFactory.java
___________________________________________________________________
Name: svn:keywords
+ Revision
13 years, 11 months
JBoss Rich Faces SVN: r21352 - in modules/tests/metamer/trunk/ftest-source/src/main/java/org: richfaces/tests/metamer/ftest/abstractions and 7 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-02-01 04:56:16 -0500 (Tue, 01 Feb 2011)
New Revision: 21352
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/halt/AbstractPageExtensions.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/abstractions/AbstractDataTableTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/Autocomplete.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/CollapsibleSubTableToggler.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/AbstractCollapsibleSubTableTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/CollapsibleSubTableAttributes.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTableToggler/CollapsibleSubTableTogglerAttributes.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTableToggler/TestCollapsibleSubTableToggler.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnModelTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnSortingTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDragIndicator/AbstractDragNDropTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTree/AbstractTreeNodeModel.java
Log:
* header updated
* added svn property Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/halt/AbstractPageExtensions.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/halt/AbstractPageExtensions.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/jboss/cheiron/halt/AbstractPageExtensions.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/abstractions/AbstractDataTableTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/abstractions/AbstractDataTableTest.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/abstractions/AbstractDataTableTest.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/abstractions/AbstractDataTableTest.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/Autocomplete.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/Autocomplete.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/Autocomplete.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/Autocomplete.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/model/CollapsibleSubTableToggler.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/AbstractCollapsibleSubTableTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/AbstractCollapsibleSubTableTest.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/AbstractCollapsibleSubTableTest.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/AbstractCollapsibleSubTableTest.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/CollapsibleSubTableAttributes.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/CollapsibleSubTableAttributes.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/CollapsibleSubTableAttributes.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTable/CollapsibleSubTableAttributes.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTableToggler/CollapsibleSubTableTogglerAttributes.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTableToggler/CollapsibleSubTableTogglerAttributes.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTableToggler/CollapsibleSubTableTogglerAttributes.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTableToggler/CollapsibleSubTableTogglerAttributes.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsibleSubTableToggler/TestCollapsibleSubTableToggler.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnModelTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnModelTest.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnModelTest.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnModelTest.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnSortingTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnSortingTest.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnSortingTest.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richColumn/AbstractColumnSortingTest.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDragIndicator/AbstractDragNDropTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDragIndicator/AbstractDragNDropTest.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDragIndicator/AbstractDragNDropTest.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDragIndicator/AbstractDragNDropTest.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTree/AbstractTreeNodeModel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTree/AbstractTreeNodeModel.java 2011-02-01 09:18:43 UTC (rev 21351)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTree/AbstractTreeNodeModel.java 2011-02-01 09:56:16 UTC (rev 21352)
@@ -1,6 +1,6 @@
/*******************************************************************************
* JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and individual contributors
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
Property changes on: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTree/AbstractTreeNodeModel.java
___________________________________________________________________
Name: svn:keywords
+ Revision
13 years, 11 months
JBoss Rich Faces SVN: r21351 - trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-02-01 04:18:43 -0500 (Tue, 01 Feb 2011)
New Revision: 21351
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java
Log:
RF-10286 rich:tooltip - @zindex doesn't work
- default zindex constant was added.
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java 2011-02-01 09:17:37 UTC (rev 21350)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java 2011-02-01 09:18:43 UTC (rev 21351)
@@ -70,6 +70,8 @@
public static final String SHOW = "show";
public static final String BEFORE_HIDE = "beforehide";
public static final String BEFORE_SHOW = "beforeshow";
+
+ private static final int DEFAULT_ZINDEX_VALUE = 1000;
private static final RendererUtils RENDERER_UTILS = RendererUtils.getInstance();
@@ -105,7 +107,7 @@
writer.writeAttribute(CLASS_ATTRIBUTE, getStyleClass(component), null);
int zindex = tooltip.getZindex();
if (zindex == Integer.MIN_VALUE) {
- zindex = 1000;
+ zindex = DEFAULT_ZINDEX_VALUE;
}
String style = concatStyles("z-index:"+zindex, getStyle(component));
13 years, 11 months
JBoss Rich Faces SVN: r21350 - modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-02-01 04:17:37 -0500 (Tue, 01 Feb 2011)
New Revision: 21350
Modified:
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:
* samples for collapsible subtable toggler fixed
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml 2011-02-01 09:16:00 UTC (rev 21349)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/list.xhtml 2011-02-01 09:17:37 UTC (rev 21350)
@@ -5,7 +5,7 @@
<!--
JBoss, Home of Professional Open Source
-Copyright 2010, Red Hat, Inc. and individual contributors
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
by the @authors tag. See the copyright.txt in the distribution for a
full listing of individual contributors.
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml 2011-02-01 09:16:00 UTC (rev 21349)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsibleSubTableToggler/simple.xhtml 2011-02-01 09:17:37 UTC (rev 21350)
@@ -6,7 +6,7 @@
<!--
JBoss, Home of Professional Open Source
-Copyright 2010, Red Hat, Inc. and individual contributors
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
by the @authors tag. See the copyright.txt in the distribution for a
full listing of individual contributors.
@@ -67,11 +67,11 @@
<rich:column id="columnTC" colspan="3">
<rich:collapsibleSubTableToggler id="subTableTC"
- collapseIcon="#{richSubTableTogglerBean.attributes['collapseIcon'].value}"
- collapseLabel="#{richSubTableTogglerBean.attributes['collapseLabel'].value}"
+ collapsedIcon="#{richSubTableTogglerBean.attributes['collapsedIcon'].value}"
+ collapsedLabel="#{richSubTableTogglerBean.attributes['collapsedLabel'].value}"
event="#{richSubTableTogglerBean.attributes['event'].value}"
- expandIcon="#{richSubTableTogglerBean.attributes['expandIcon'].value}"
- expandLabel="#{richSubTableTogglerBean.attributes['expandLabel'].value}"
+ expandedIcon="#{richSubTableTogglerBean.attributes['expandedIcon'].value}"
+ expandedLabel="#{richSubTableTogglerBean.attributes['expandedLabel'].value}"
rendered="#{richSubTableTogglerBean.attributes['rendered'].value}"
for="richSubTable"/>
<h:outputText value="#{list[0].sex == 'MALE' ? 'Men' : 'Women'}" />
13 years, 11 months
JBoss Rich Faces SVN: r21349 - in modules/tests/metamer/trunk/application/src/main: webapp/components and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-02-01 04:16:00 -0500 (Tue, 01 Feb 2011)
New Revision: 21349
Added:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichHashParamBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/
modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/list.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/simple.xhtml
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java
Log:
https://issues.jboss.org/browse/RFPL-736
* added a sample for rich:hashParam
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 2011-02-01 09:04:56 UTC (rev 21348)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java 2011-02-01 09:16:00 UTC (rev 21349)
@@ -135,6 +135,7 @@
components.put("richExtendedDataTable", "Rich Extended Data Table");
components.put("richFileUpload", "Rich File Upload");
components.put("richFunctions", "Rich Functions");
+ components.put("richHashParam", "Rich Hash Parameter");
components.put("richInplaceInput", "Rich Inplace Input");
components.put("richInplaceSelect", "Rich Inplace Select");
components.put("richInputNumberSlider", "Rich Input Number Slider");
Added: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichHashParamBean.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichHashParamBean.java (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichHashParamBean.java 2011-02-01 09:16:00 UTC (rev 21349)
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ *******************************************************************************/
+package org.richfaces.tests.metamer.bean;
+
+import java.io.Serializable;
+
+import javax.annotation.PostConstruct;
+import javax.faces.bean.ManagedBean;
+import javax.faces.bean.ViewScoped;
+
+import org.richfaces.component.UIHashParameter;
+import org.richfaces.tests.metamer.Attributes;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Managed bean for rich:hashParam.
+ *
+ * @author <a href="mailto:ppitonak@redhat.com">Pavol Pitonak</a>
+ * @version $Revision$
+ */
+@ManagedBean(name = "richHashParamBean")
+@ViewScoped
+public class RichHashParamBean implements Serializable {
+
+ private static final long serialVersionUID = -1L;
+ private static Logger logger;
+ private Attributes attributes;
+
+ /**
+ * Initializes the managed bean.
+ */
+ @PostConstruct
+ public void init() {
+ logger = LoggerFactory.getLogger(getClass());
+ logger.debug("initializing bean " + getClass().getName());
+
+ attributes = Attributes.getComponentAttributesFromFacesConfig(UIHashParameter.class, getClass());
+ }
+
+ public Attributes getAttributes() {
+ return attributes;
+ }
+
+ public void setAttributes(Attributes attributes) {
+ this.attributes = attributes;
+ }
+}
Property changes on: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichHashParamBean.java
___________________________________________________________________
Name: svn:keywords
+ Revision
Added: modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/list.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/list.xhtml (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/list.xhtml 2011-02-01 09:16:00 UTC (rev 21349)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:metamer="http://java.sun.com/jsf/composite/metamer">
+
+ <!--
+JBoss, Home of Professional Open Source
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+
+ <ui:composition template="/templates/list.xhtml">
+
+ <ui:define name="pageTitle">Rich Hash Parameter</ui:define>
+
+ <ui:define name="links">
+
+ <metamer:testPageLink id="simple" outcome="simple" value="Simple">
+ Simple page containing a popup panel, <b>rich:hashParam</b> and inputs for all its attributes.
+ </metamer:testPageLink>
+
+ </ui:define>
+
+ </ui:composition>
+
+</html>
Added: modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/simple.xhtml (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/simple.xhtml 2011-02-01 09:16:00 UTC (rev 21349)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!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:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:metamer="http://java.sun.com/jsf/composite/metamer"
+ xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html">
+
+ <!--
+JBoss, Home of Professional Open Source
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+
+ <ui:composition template="/templates/template.xhtml">
+ <ui:define name="head">
+ <f:metadata>
+ <f:viewParam name="templates" value="#{templateBean.templates}">
+ <f:converter converterId="templatesListConverter" />
+ </f:viewParam>
+ </f:metadata>
+ </ui:define>
+
+ <ui:define name="outOfTemplateBefore">
+ </ui:define>
+
+ <ui:define name="component">
+ <rich:popupPanel id="popupPanel" resizeable="true"
+ header="Popup panel shown using rich:componentControl and rich:hashParam">
+ <f:facet name="controls">
+ <h:outputLink value="#"
+ onclick="#{rich:component('popupPanel')}.hide(); return false;">
+ X
+ </h:outputLink>
+ </f:facet>
+ <h:outputText value="Settings applied by hashParam tag:" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Width:" />
+ <h:outputText value="543px" />
+ <h:outputText value="Height:" />
+ <h:outputText value="345px" />
+ <h:outputText value="minWidth:" />
+ <h:outputText value="300px" />
+ <h:outputText value="minHeight:" />
+ <h:outputText value="150px" />
+ </h:panelGrid>
+ <p>Also panel getting centered by using:</p>
+ <p><a4j:param noEscape="true" name="left" value="(screen.width/2)-250"/></p>
+ <p><a4j:param noEscape="true" name="top" value="(screen.height/2)-150"/></p>
+ <fieldset>
+ <legend><b>NOTE</b></legend>
+
+ Pay your attention that show() api method requires event
+ parameter to be first according to signature. So we passed it before
+ hashParam.
+
+ </fieldset>
+ </rich:popupPanel>
+
+ <h:commandButton value="Show popup">
+ <rich:componentControl target="popupPanel" operation="show">
+ <a4j:param noEscape="true" value="event" />
+ <rich:hashParam>
+ <f:param name="width" value="543px" />
+ <f:param name="height" value="345px" />
+ <f:param name="minWidth" value="300px" />
+ <f:param name="minHeight" value="150px" />
+ <a4j:param noEscape="true" name="left" value="(jQuery(window).width()/2)-250" />
+ <a4j:param noEscape="true" name="top" value="(jQuery(window).height()/2)-150" />
+ </rich:hashParam>
+ </rich:componentControl>
+ </h:commandButton>
+
+ </ui:define>
+
+ <ui:define name="outOfTemplateAfter">
+ <metamer:attributes value="#{richHashParamBean.attributes}" id="attributes" render="log"/>
+ </ui:define>
+
+ </ui:composition>
+</html>
\ No newline at end of file
13 years, 11 months
JBoss Rich Faces SVN: r21348 - in trunk/ui/output/ui/src/main: resources/META-INF/resources/org.richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2011-02-01 04:04:56 -0500 (Tue, 01 Feb 2011)
New Revision: 21348
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js
Log:
https://issues.jboss.org/browse/RF-10385
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java 2011-02-01 06:43:40 UTC (rev 21347)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java 2011-02-01 09:04:56 UTC (rev 21348)
@@ -27,6 +27,7 @@
@ResourceDependency(library = "org.richfaces", name = "popupPanel.js"),
@ResourceDependency(library = "org.richfaces", name = "popupPanelBorders.js"),
@ResourceDependency(library = "org.richfaces", name = "popupPanelSizer.js"),
+ @ResourceDependency(name="richfaces-event.js",library="",target=""),
@ResourceDependency(library = "org.richfaces", name = "popupPanel.ecss")
})
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js 2011-02-01 06:43:40 UTC (rev 21347)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js 2011-02-01 09:04:56 UTC (rev 21348)
@@ -756,11 +756,11 @@
$.extend(richfaces.ui.PopupPanel, {
showPopupPanel : function (id, opts, event) {
- richface.Event.ready(richfaces.$(id).show());
+ richfaces.Event.ready(richfaces.$(id).show());
},
hidePopupPanel : function (id, opts, event) {
- richface.Event.ready(richfaces.$(id).hide());
+ richfaces.Event.ready(richfaces.$(id).hide());
}
});
13 years, 11 months
JBoss Rich Faces SVN: r21347 - modules/docs/trunk/Component_Reference/src/main/docbook/en-US.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-02-01 01:43:40 -0500 (Tue, 01 Feb 2011)
New Revision: 21347
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml
Log:
Minor change to tree adaptors
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml 2011-02-01 06:40:03 UTC (rev 21346)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml 2011-02-01 06:43:40 UTC (rev 21347)
@@ -445,7 +445,7 @@
The <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component is an extension of the <sgmltag><rich:treeModelAdaptor></sgmltag> component. As such, the <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component uses all of the same attributes. Refer to <xref linkend="sect-Component_Reference-Tree_adaptors-richtreeModelAdaptor" /> for details on the <sgmltag><rich:treeModelAdaptor></sgmltag> component.
</para>
<para>
- In addition, the <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component requires the <varname>root</varname> attribute. The <varname>root</varname> attribute defines the collection to use at the top of the recursion.
+ In addition, the <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component requires the <varname>root</varname> attribute. The <varname>root</varname> attribute defines the collection to use at the top of the recursion. For subsequent levels, the <varname>node</varname> attribute is used for the collection.
</para>
<para>
<xref linkend="exam-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage" /> demonstrates how the <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component can be used in conjunction with the <sgmltag><rich:treeModelAdaptor></sgmltag> component to recursively iterate through a file system and create a tree of directories and files.
13 years, 11 months
JBoss Rich Faces SVN: r21346 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: extras and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-02-01 01:40:03 -0500 (Tue, 01 Feb 2011)
New Revision: 21346
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtreeModelAdaptor-Nested_richtreeModelAdaptor_components.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage.xml_sample
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml
Log:
Added tree adaptors RFPL-976
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml 2011-01-31 23:13:58 UTC (rev 21345)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Trees.xml 2011-02-01 06:40:03 UTC (rev 21346)
@@ -14,30 +14,6 @@
Read this chapter for details on components that use tree structures.
</para>
- <!-- TODO not in M5 -->
- <!--
- <section id="sect-Component_Reference-Trees-richchangeExpandListener">
- <title><sgmltag><rich:changeExpandListener></sgmltag></title>
- <para>
- Incomplete
- </para>
- </section>
-
- <section id="sect-Component_Reference-Trees-richnodeSelectListener">
- <title><sgmltag><rich:nodeSelectListener></sgmltag></title>
- <para>
- Incomplete
- </para>
- </section>
-
- <section id="sect-Component_Reference-Trees-richrecursiveTreeNodesAdapter">
- <title><sgmltag><rich:recursiveTreeNodesAdapter></sgmltag></title>
- <para>
- Incomplete
- </para>
- </section>
- -->
-
<section id="sect-Component_Reference-Trees-richtree">
<title><sgmltag><rich:tree></sgmltag></title>
<para>
@@ -394,14 +370,120 @@
</section>
</section>
- <!--
- <section id="sect-Component_Reference-Trees-richtreeNodesAdapter">
- <title><sgmltag><rich:treeNodesAdapter></sgmltag></title>
+ <section id="sect-Component_Reference-Trees-Tree_adaptors">
+ <title>Tree adaptors</title>
<para>
- Incomplete
+ Use a tree adaptor to create a tree and populate it with data from a defined data model.
</para>
+
+ <section id="sect-Component_Reference-Tree_adaptors-richtreeModelAdaptor">
+ <title><sgmltag><rich:treeModelAdaptor></sgmltag></title>
+ <para>
+ The <sgmltag><rich:treeModelAdaptor></sgmltag> component takes a defined data model and uses it to populate an associated <sgmltag><rich:tree></sgmltag> component.
+ </para>
+
+ <section id="sect-Component_Reference-richtreeModelAdaptor-Basic_usage">
+ <title>Basic usage</title>
+ <para>
+ The <sgmltag><rich:treeModelAdaptor></sgmltag> component is added as a nested child component to the <sgmltag><rich:tree></sgmltag> component it will populate.
+ </para>
+ <para>
+ The <sgmltag><rich:treeModelAdaptor></sgmltag> component requires the <varname>nodes</varname> attribute for basic usage. The <varname>nodes</varname> attribute defines a collection of elements to iterate through for populating the tree.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richtreeModelAdaptor-Multiple_levels">
+ <title>Multiple levels</title>
+ <para>
+ <sgmltag><rich:treeModelAdaptor></sgmltag> components can further be nested in other <sgmltag><rich:treeModelAdaptor></sgmltag> components to subsequently populate lower levels of the tree.
+ </para>
+ <para>
+ Use the <varname>var</varname> attribute to access the current collection element at each level. <xref linkend="exam-Component_Reference-richtreeModelAdaptor-Nested_richtreeModelAdaptor_components" /> demonstrates a series of nested <sgmltag><rich:treeModelAdaptor></sgmltag> components, each using the parent's <varname>var</varname> attribute to reference the current element.
+ </para>
+ <example id="exam-Component_Reference-richtreeModelAdaptor-Nested_richtreeModelAdaptor_components">
+ <title><sgmltag>Nested <rich:treeModelAdaptor> components</sgmltag></title>
+ <programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richtreeModelAdaptor-Nested_richtreeModelAdaptor_components.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
+ </section>
+
+ <section id="sect-Component_Reference-richtreeModelAdaptor-Reference_data">
+ <title>Reference data</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>component-type</parameter>: <classname>org.richfaces.treeModelAdaptor</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmltreeModelAdaptor</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-family</parameter>: <classname>org.richfaces.treeModelAdaptor</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.treeModelAdaptorTag</classname>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ </section>
+
+ <section id="sect-Component_Reference-Tree_adaptors-richtreeModelRecursiveAdaptor">
+ <title><sgmltag><rich:treeModelRecursiveAdaptor></sgmltag></title>
+ <para>
+ The <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component recursively populates a tree with hierarchical nodes, such as for a file system with multiple levels of directories and files.
+ </para>
+
+ <section id="sect-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage">
+ <title>Basic usage</title>
+ <para>
+ The <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component is an extension of the <sgmltag><rich:treeModelAdaptor></sgmltag> component. As such, the <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component uses all of the same attributes. Refer to <xref linkend="sect-Component_Reference-Tree_adaptors-richtreeModelAdaptor" /> for details on the <sgmltag><rich:treeModelAdaptor></sgmltag> component.
+ </para>
+ <para>
+ In addition, the <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component requires the <varname>root</varname> attribute. The <varname>root</varname> attribute defines the collection to use at the top of the recursion.
+ </para>
+ <para>
+ <xref linkend="exam-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage" /> demonstrates how the <sgmltag><rich:treeModelRecursiveAdaptor></sgmltag> component can be used in conjunction with the <sgmltag><rich:treeModelAdaptor></sgmltag> component to recursively iterate through a file system and create a tree of directories and files.
+ </para>
+ <example id="exam-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage">
+ <title>Basic usage</title>
+ <programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
+ </section>
+
+ <section id="sect-Component_Reference-richtreeModelRecursiveAdaptor-Reference_data">
+ <title>Reference data</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>component-type</parameter>: <classname>org.richfaces.treeModelRecursiveAdaptor</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmltreeModelRecursiveAdaptor</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-family</parameter>: <classname>org.richfaces.treeModelRecursiveAdaptor</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.treeModelRecursiveAdaptorTag</classname>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ </section>
+
</section>
- -->
</chapter>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtreeModelAdaptor-Nested_richtreeModelAdaptor_components.xml_sample
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtreeModelAdaptor-Nested_richtreeModelAdaptor_components.xml_sample (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtreeModelAdaptor-Nested_richtreeModelAdaptor_components.xml_sample 2011-02-01 06:40:03 UTC (rev 21346)
@@ -0,0 +1,22 @@
+<rich:tree>
+ <rich:treeNodesAdaptor id="project" nodes="#{loaderBean.projects}" var="project">
+ <rich:treeNode>
+ <h:commandLink action="#{project.click}" value="Project: #{project.name}" />
+ </rich:treeNode>
+ <rich:treeNodesAdaptor id="srcDir" var="srcDir" nodes="#{project.srcDirs}">
+ <rich:treeNode>
+ <h:commandLink action="#{srcDir.click}" value="Source directory: #{srcDir.name}" />
+ </rich:treeNode>
+ <rich:treeNodesAdaptor id="pkg" var="pkg" nodes="#{srcDir.packages}">
+ <rich:treeNode>
+ <h:commandLink action="#{pkg.click}" value="Package: #{pkg.name}" />
+ </rich:treeNode>
+ <rich:treeNodesAdaptor id="class" var="class" nodes="#{pkg.classes}">
+ <rich:treeNode>
+ <h:commandLink action="#{class.click}" value="Class: #{class.name}" />
+ </rich:treeNode>
+ </rich:treeNodesAdaptor>
+ </rich:treeNodesAdaptor>
+ </rich:treeNodesAdaptor>
+ </rich:treeNodesAdaptor>
+</rich:tree>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage.xml_sample
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage.xml_sample (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtreeModelRecursiveAdaptor-Basic_usage.xml_sample 2011-02-01 06:40:03 UTC (rev 21346)
@@ -0,0 +1,10 @@
+<rich:tree var="item">
+ <rich:treeModelRecursiveAdaptor roots="#{fileSystemBean.sourceRoots}" nodes="#{item.directories}" >
+ <rich:treeNode>
+ #{item.shortPath}
+ </rich:treeNode>
+ <rich:treeModelAdaptor nodes="#{item.files}">
+ <rich:treeNode>#{item}</rich:treeNode>
+ </rich:treeModelAdaptor>
+ </rich:treeModelRecursiveAdaptor>
+</rich:tree>
13 years, 11 months