JBoss Rich Faces SVN: r6478 - in trunk: samples/inplaceInput-sample and 10 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-02 22:53:57 -0500 (Sun, 02 Mar 2008)
New Revision: 6478
Added:
trunk/samples/inplaceInput-sample/
trunk/samples/inplaceSelect-sample/
trunk/samples/sortingFilteringDemo/
trunk/ui/fileUpload/
trunk/ui/inplaceInput/
trunk/ui/inplaceSelect/
Removed:
trunk/sandbox/samples/fileUploadDemo/
trunk/sandbox/samples/inplaceInput-sample/
trunk/sandbox/samples/inplaceSelect-sample/
trunk/sandbox/samples/sortingFilteringDemo/
trunk/sandbox/ui/fileUpload/
trunk/sandbox/ui/inplaceInput/
trunk/sandbox/ui/inplaceSelect/
Modified:
trunk/samples/inplaceInput-sample/pom.xml
trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp
trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml
trunk/samples/inplaceSelect-sample/pom.xml
trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp
trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml
trunk/samples/pom.xml
trunk/samples/sortingFilteringDemo/pom.xml
trunk/sandbox/samples/pom.xml
trunk/sandbox/ui/pom.xml
trunk/ui/fileUpload/pom.xml
trunk/ui/inplaceInput/pom.xml
trunk/ui/inplaceSelect/pom.xml
trunk/ui/pom.xml
Log:
fileUpload, inplaceInput, inplaceSelect components & demos; data table sorting & filtering demo moved to main build
Copied: trunk/samples/inplaceInput-sample (from rev 6477, trunk/sandbox/samples/inplaceInput-sample)
Modified: trunk/samples/inplaceInput-sample/pom.xml
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/samples/inplaceInput-sample/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -1,11 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>samples</artifactId>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces</groupId>
+ <groupId>org.richfaces.samples</groupId>
<artifactId>inplaceInput-sample</artifactId>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
@@ -14,7 +14,7 @@
</build>
<dependencies>
<dependency>
- <groupId>org.richfaces.sandbox.ui</groupId>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>inplaceInput</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
Modified: trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp 2008-03-03 03:53:57 UTC (rev 6478)
@@ -1,7 +1,7 @@
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
-<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/ui/inplaceInput" prefix="ii"%>
+<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/inplaceInput" prefix="ii"%>
<html>
<head>
<title></title>
Modified: trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -4,7 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:ii="http://labs.jboss.com/jbossrichfaces/ui/ui/inplaceInput">
+ xmlns:ii="http://labs.jboss.com/jbossrichfaces/ui/inplaceInput">
<head>
<title></title>
Copied: trunk/samples/inplaceSelect-sample (from rev 6477, trunk/sandbox/samples/inplaceSelect-sample)
Modified: trunk/samples/inplaceSelect-sample/pom.xml
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/samples/inplaceSelect-sample/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -1,46 +1,17 @@
<?xml version="1.0"?><project>
<parent>
<artifactId>samples</artifactId>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces</groupId>
+ <groupId>org.richfaces.samples</groupId>
<artifactId>inplaceSelect-sample</artifactId>
<packaging>war</packaging>
<name>JSF Maven Webapp</name>
- <version>3.2.0-SNAPSHOT</version>
<build>
<finalName>inplaceSelect-sample</finalName>
- <plugins>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.1</version>
- <configuration>
- <scanIntervalSeconds>10</scanIntervalSeconds>
- <connectors>
- <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
- <port>8080</port>
- <maxIdleTime>60000</maxIdleTime>
- </connector>
- </connectors>
- </configuration>
- </plugin>
- </plugins>
</build>
- <pluginRepositories>
- <pluginRepository>
- <id>mortbay-repo</id>
- <name>mortbay-repo</name>
- <url>http://www.mortbay.org/maven2/snapshot</url>
- </pluginRepository>
- <pluginRepository>
- <id>repository.jboss.com</id>
- <name>Jboss Repository for Maven Artifacts</name>
- <url>http://repository.jboss.com/maven2</url>
- </pluginRepository>
- </pluginRepositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -54,7 +25,7 @@
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.richfaces.sandbox.ui</groupId>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>inplaceSelect</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
Modified: trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp 2008-03-03 03:53:57 UTC (rev 6478)
@@ -1,6 +1,6 @@
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/ui/inplaceSelect" prefix="is"%>
+<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/inplaceSelect" prefix="is"%>
<html>
<head>
<title></title>
Modified: trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -4,7 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:is="http://labs.jboss.com/jbossrichfaces/ui/ui/inplaceSelect">
+ xmlns:is="http://labs.jboss.com/jbossrichfaces/ui/inplaceSelect">
<head>
Modified: trunk/samples/pom.xml
===================================================================
--- trunk/samples/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/samples/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -464,6 +464,10 @@
<module>pickList-sample</module>
<module>progressBarDemo</module>
<module>jira-data</module>
- <module>stdcomponents-sample</module>
+ <module>stdcomponents-sample</module>
+ <module>fileUploadDemo</module>
+ <module>sortingFilteringDemo</module>
+ <module>inplaceInput-sample</module>
+ <module>inplaceSelect-sample</module>
</modules>
</project>
\ No newline at end of file
Copied: trunk/samples/sortingFilteringDemo (from rev 6477, trunk/sandbox/samples/sortingFilteringDemo)
Modified: trunk/samples/sortingFilteringDemo/pom.xml
===================================================================
--- trunk/sandbox/samples/sortingFilteringDemo/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/samples/sortingFilteringDemo/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -2,24 +2,24 @@
<project>
<parent>
<artifactId>samples</artifactId>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces.samples</groupId>
<artifactId>sortingFilteringDemo</artifactId>
<packaging>war</packaging>
<name>sortingFilteringDemo Maven Webapp</name>
- <version>3.2.0-SNAPSHOT</version>
<build>
<finalName>sortingFilteringDemo</finalName>
</build>
<dependencies>
- <dependency>
- <groupId>org.richfaces.sandbox.ui</groupId>
+ <!--dependency>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>sortableHeader</artifactId>
<version>3.2.0-SNAPSHOT</version>
- </dependency>
+ </dependency-->
+
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core</artifactId>
@@ -41,7 +41,7 @@
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.richfaces.sandbox.ui</groupId>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>inplaceInput</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
Modified: trunk/sandbox/samples/pom.xml
===================================================================
--- trunk/sandbox/samples/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/sandbox/samples/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -17,9 +17,5 @@
<module>simpleTogglePanel2-sample</module>
<!--module>contextMenuDemo</module-->
<module>fileUploadPOC</module>
- <module>fileUploadDemo</module>
- <module>sortingFilteringDemo</module>
- <module>inplaceInput-sample</module>
- <module>inplaceSelect-sample</module>
</modules>
</project>
\ No newline at end of file
Modified: trunk/sandbox/ui/pom.xml
===================================================================
--- trunk/sandbox/ui/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/sandbox/ui/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -19,8 +19,5 @@
<module>rex-messageBox</module>
<!--module>rex-button</module-->
<module>sortableHeader</module>
- <module>fileUpload</module>
- <module>inplaceInput</module>
- <module>inplaceSelect</module>
</modules>
</project>
\ No newline at end of file
Copied: trunk/ui/fileUpload (from rev 6477, trunk/sandbox/ui/fileUpload)
Modified: trunk/ui/fileUpload/pom.xml
===================================================================
--- trunk/sandbox/ui/fileUpload/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/ui/fileUpload/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><project>
<parent>
<artifactId>ui</artifactId>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.sandbox.ui</groupId>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>fileUpload</artifactId>
<name>fileUpload</name>
<version>3.2.0-SNAPSHOT</version>
Copied: trunk/ui/inplaceInput (from rev 6477, trunk/sandbox/ui/inplaceInput)
Modified: trunk/ui/inplaceInput/pom.xml
===================================================================
--- trunk/sandbox/ui/inplaceInput/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/ui/inplaceInput/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><project>
<parent>
<artifactId>ui</artifactId>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.sandbox.ui</groupId>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>inplaceInput</artifactId>
<name>inplaceInput</name>
<version>3.2.0-SNAPSHOT</version>
@@ -32,7 +32,7 @@
</executions>
<configuration>
<library>
- <prefix>org.richfaces.sandbox.ui</prefix>
+ <prefix>org.richfaces.ui</prefix>
<taglib>
<shortName>inplaceInput</shortName>
</taglib>
Copied: trunk/ui/inplaceSelect (from rev 6477, trunk/sandbox/ui/inplaceSelect)
Modified: trunk/ui/inplaceSelect/pom.xml
===================================================================
--- trunk/sandbox/ui/inplaceSelect/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/ui/inplaceSelect/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -1,11 +1,11 @@
<?xml version="1.0"?><project>
<parent>
<artifactId>ui</artifactId>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.sandbox.ui</groupId>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>inplaceSelect</artifactId>
<name>inplaceSelect</name>
<version>3.2.0-SNAPSHOT</version>
@@ -64,7 +64,7 @@
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.richfaces.sandbox.ui</groupId>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>inplaceInput</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
Modified: trunk/ui/pom.xml
===================================================================
--- trunk/ui/pom.xml 2008-03-03 01:41:29 UTC (rev 6477)
+++ trunk/ui/pom.xml 2008-03-03 03:53:57 UTC (rev 6478)
@@ -105,6 +105,9 @@
<module>combobox</module>
<module>pickList</module>
<module>progressBAR</module>
+ <module>fileUpload</module>
+ <module>inplaceInput</module>
+ <module>inplaceSelect</module>
</modules>
<dependencies>
<dependency>
@@ -161,4 +164,4 @@
<scope>provided</scope>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
16 years, 9 months
JBoss Rich Faces SVN: r6477 - trunk/ui/tree/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-02 20:41:29 -0500 (Sun, 02 Mar 2008)
New Revision: 6477
Modified:
trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
Log:
UITree.java: check for illegal value and diagnostic exception added
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2008-03-03 01:40:37 UTC (rev 6476)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2008-03-03 01:41:29 UTC (rev 6477)
@@ -53,6 +53,7 @@
import org.richfaces.component.state.events.ExpandAllCommandEvent;
import org.richfaces.component.state.events.ExpandNodeCommandEvent;
import org.richfaces.component.state.events.TreeStateCommandEvent;
+import org.richfaces.component.util.MessageUtil;
import org.richfaces.event.DragEvent;
import org.richfaces.event.DragListener;
import org.richfaces.event.DropEvent;
@@ -523,7 +524,7 @@
}
return treeDataModel;
- } else {
+ } else if (value instanceof javax.swing.tree.TreeNode) {
TreeDataModel<javax.swing.tree.TreeNode> swingTreeDataModel = new SwingTreeDataModel();
swingTreeDataModel.setWrappedData(value);
@@ -532,6 +533,12 @@
}
return swingTreeDataModel;
+ } else {
+ throw new IllegalArgumentException("Value of tree component " +
+ MessageUtil.getLabel(FacesContext.getCurrentInstance(), this) +
+ "[" + value + "]" +
+ "is not an instance of neither " + TreeNode.class.getName() +
+ "nor " + javax.swing.tree.TreeNode.class.getName() + "!");
}
} else {
//TODO implement request caching
16 years, 9 months
JBoss Rich Faces SVN: r6476 - trunk/ui/treeModel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-02 20:40:37 -0500 (Sun, 02 Mar 2008)
New Revision: 6476
Modified:
trunk/ui/treeModel/src/main/config/component/recursiveTreeNodesAdaptor.xml
trunk/ui/treeModel/src/main/config/component/treeNodesAdaptor.xml
Log:
Tests generation enabled for tree model
Modified: trunk/ui/treeModel/src/main/config/component/recursiveTreeNodesAdaptor.xml
===================================================================
--- trunk/ui/treeModel/src/main/config/component/recursiveTreeNodesAdaptor.xml 2008-03-03 01:35:22 UTC (rev 6475)
+++ trunk/ui/treeModel/src/main/config/component/recursiveTreeNodesAdaptor.xml 2008-03-03 01:40:37 UTC (rev 6476)
@@ -6,6 +6,10 @@
<family>org.richfaces.RecursiveTreeNodesAdaptor</family>
<classname>org.richfaces.component.html.HtmlRecursiveTreeNodesAdaptor</classname>
<superclass>org.richfaces.component.UIRecursiveTreeNodesAdaptor</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlRecursiveTreeNodesAdaptorComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Modified: trunk/ui/treeModel/src/main/config/component/treeNodesAdaptor.xml
===================================================================
--- trunk/ui/treeModel/src/main/config/component/treeNodesAdaptor.xml 2008-03-03 01:35:22 UTC (rev 6475)
+++ trunk/ui/treeModel/src/main/config/component/treeNodesAdaptor.xml 2008-03-03 01:40:37 UTC (rev 6476)
@@ -6,6 +6,10 @@
<family>org.richfaces.TreeNodesAdaptor</family>
<classname>org.richfaces.component.html.HtmlTreeNodesAdaptor</classname>
<superclass>org.richfaces.component.UITreeNodesAdaptor</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlTreeNodesAdaptorComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
16 years, 9 months
JBoss Rich Faces SVN: r6475 - in trunk/ui: core/src/main and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-02 20:35:22 -0500 (Sun, 02 Mar 2008)
New Revision: 6475
Added:
trunk/ui/core/src/main/config/resources/resources-config.xml
trunk/ui/core/src/main/resources/
Removed:
trunk/ui/core/src/main/resources/META-INF/
trunk/ui/stdcomponents-skinning/
Modified:
trunk/ui/pom.xml
Log:
Skinning for std. components moved to core
Added: trunk/ui/core/src/main/config/resources/resources-config.xml
===================================================================
--- trunk/ui/core/src/main/config/resources/resources-config.xml (rev 0)
+++ trunk/ui/core/src/main/config/resources/resources-config.xml 2008-03-03 01:35:22 UTC (rev 6475)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<resource-config>
+ <resource>
+ <name>org/richfaces/renderkit/html/css/basic.xcss</name>
+ <path>org/richfaces/renderkit/html/css/basic.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/renderkit/html/css/basic_classes.xcss</name>
+ <path>org/richfaces/renderkit/html/css/basic_classes.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/renderkit/html/css/extended.xcss</name>
+ <path>org/richfaces/renderkit/html/css/extended.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/renderkit/html/css/extended_classes.xcss</name>
+ <path>org/richfaces/renderkit/html/css/extended_classes.xcss</path>
+ </resource>
+</resource-config>
Copied: trunk/ui/core/src/main/resources (from rev 6463, trunk/ui/stdcomponents-skinning/src/main/resources)
Modified: trunk/ui/pom.xml
===================================================================
--- trunk/ui/pom.xml 2008-03-03 01:33:34 UTC (rev 6474)
+++ trunk/ui/pom.xml 2008-03-03 01:35:22 UTC (rev 6475)
@@ -105,7 +105,6 @@
<module>combobox</module>
<module>pickList</module>
<module>progressBAR</module>
- <module>stdcomponents-skinning</module>
</modules>
<dependencies>
<dependency>
16 years, 9 months
JBoss Rich Faces SVN: r6474 - in trunk/ui: core/src/main/config/component and 13 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-02 20:33:34 -0500 (Sun, 02 Mar 2008)
New Revision: 6474
Added:
trunk/ui/dataTable/src/test/java/org/richfaces/component/AbstractColumnComponentTest.java
trunk/ui/dataTable/src/test/java/org/richfaces/component/AbstractDataTableComponentTest.java
Modified:
trunk/ui/componentControl/src/main/config/component/componentControl.xml
trunk/ui/core/src/main/config/component/support.xml
trunk/ui/dataTable/src/main/config/component/colgroup.xml
trunk/ui/dataTable/src/main/config/component/column.xml
trunk/ui/dataTable/src/main/config/component/dataGrid.xml
trunk/ui/dataTable/src/main/config/component/dataList.xml
trunk/ui/dataTable/src/main/config/component/dataTable.xml
trunk/ui/dataTable/src/main/config/component/subTable.xml
trunk/ui/drag-drop/src/main/config/component/dragSupport.xml
trunk/ui/drag-drop/src/main/config/component/dropSupport.xml
trunk/ui/dropdown-menu/src/main/config/component/dropdownmenu.xml
trunk/ui/listShuttle/pom.xml
trunk/ui/listShuttle/src/main/config/component/listShuttle.xml
trunk/ui/menu-components/src/main/config/component/menucomponents.xml
trunk/ui/orderingList/src/main/config/component/orderinglist.xml
trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
trunk/ui/pickList/pom.xml
trunk/ui/progressBAR/src/main/config/component/progressBar.xml
trunk/ui/scrollableDataTable/pom.xml
trunk/ui/scrollableDataTable/src/test/java/org/richfaces/component/AbstractScrollableDataTableTestCase.java
Log:
Test generation enabled
Modified: trunk/ui/componentControl/src/main/config/component/componentControl.xml
===================================================================
--- trunk/ui/componentControl/src/main/config/component/componentControl.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/componentControl/src/main/config/component/componentControl.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,9 +6,13 @@
<family>org.richfaces.ComponentControl</family>
<classname>org.richfaces.component.html.HtmlComponentControl</classname>
<superclass>org.richfaces.component.UIComponentControl</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlComponentControlTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
- ]]>
+ ]]>
</description>
<renderer generate="true" override="true">
<name>org.richfaces.ComponentControlRenderer</name>
Modified: trunk/ui/core/src/main/config/component/support.xml
===================================================================
--- trunk/ui/core/src/main/config/component/support.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/core/src/main/config/component/support.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -11,6 +11,10 @@
<family>org.ajax4jsf.AjaxSupport</family>
<classname>org.ajax4jsf.component.html.HtmlAjaxSupport</classname>
<superclass>org.ajax4jsf.component.UIAjaxSupport</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlAjaxSupportComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
Adds the AJAX functionality for those UIComponent-based
component that have properties for JavaScript events.
Modified: trunk/ui/dataTable/src/main/config/component/colgroup.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/colgroup.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/dataTable/src/main/config/component/colgroup.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.ColumnGroup</family>
<classname>org.richfaces.component.html.HtmlColumnGroup</classname>
<superclass>org.richfaces.component.UIColumnGroup</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlColumnGroupComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Modified: trunk/ui/dataTable/src/main/config/component/column.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/column.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/dataTable/src/main/config/component/column.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.Column</family>
<classname>org.richfaces.component.html.HtmlColumn</classname>
<superclass>org.richfaces.component.UIColumn</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlColumnComponentTest</classname>
+ <superclassname>org.richfaces.component.AbstractColumnComponentTest</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Modified: trunk/ui/dataTable/src/main/config/component/dataGrid.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataGrid.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/dataTable/src/main/config/component/dataGrid.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.DataGrid</family>
<classname>org.richfaces.component.html.HtmlDataGrid</classname>
<superclass>org.richfaces.component.UIDataGrid</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlDataGridComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Modified: trunk/ui/dataTable/src/main/config/component/dataList.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataList.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/dataTable/src/main/config/component/dataList.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.DataList</family>
<classname>org.richfaces.component.html.HtmlDataList</classname>
<superclass>org.richfaces.component.UIDataList</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlDataListComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
@@ -85,6 +89,10 @@
<family>org.richfaces.DataOrderedList</family>
<classname>org.richfaces.component.html.HtmlDataOrderedList</classname>
<superclass>org.richfaces.component.UIDataList</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlDataOrderedListComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
@@ -152,6 +160,10 @@
<family>org.richfaces.DataDefinitionList</family>
<classname>org.richfaces.component.html.HtmlDataDefinitionList</classname>
<superclass>org.richfaces.component.UIDataDefinitionList</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlDataDefinitionListComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Modified: trunk/ui/dataTable/src/main/config/component/dataTable.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataTable.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/dataTable/src/main/config/component/dataTable.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.DataTable</family>
<classname>org.richfaces.component.html.HtmlDataTable</classname>
<superclass>org.richfaces.component.UIDataTable</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlDataTableComponentTest</classname>
+ <superclassname>org.richfaces.component.AbstractDataTableComponentTest</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Modified: trunk/ui/dataTable/src/main/config/component/subTable.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/subTable.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/dataTable/src/main/config/component/subTable.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.SubTable</family>
<classname>org.richfaces.component.html.HtmlSubTable</classname>
<superclass>org.richfaces.component.UISubTable</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlSubTableComponentTest</classname>
+ <superclassname>org.richfaces.component.AbstractDataTableComponentTest</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Added: trunk/ui/dataTable/src/test/java/org/richfaces/component/AbstractColumnComponentTest.java
===================================================================
--- trunk/ui/dataTable/src/test/java/org/richfaces/component/AbstractColumnComponentTest.java (rev 0)
+++ trunk/ui/dataTable/src/test/java/org/richfaces/component/AbstractColumnComponentTest.java 2008-03-03 01:33:34 UTC (rev 6474)
@@ -0,0 +1,66 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.component;
+
+import java.util.Comparator;
+
+import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
+
+/**
+ * Created 01.03.2008
+ * @author Nick Belaevski
+ * @since 3.2
+ */
+
+public abstract class AbstractColumnComponentTest extends AbstractAjax4JsfTestCase {
+
+ /**
+ * @param name
+ */
+ public AbstractColumnComponentTest(String name) {
+ super(name);
+ }
+
+ private Comparator comparator0 = new Comparator() {
+
+ public int compare(Object o1, Object o2) {
+ throw new UnsupportedOperationException();
+ }
+
+ };
+
+ private Comparator comparator1 = new Comparator() {
+
+ public int compare(Object o1, Object o2) {
+ throw new UnsupportedOperationException();
+ }
+
+ };
+
+ protected Comparator<Object> createTestData_0_comparator() {
+ return comparator0;
+ }
+
+ protected Comparator<Object> createTestData_1_comparator() {
+ return comparator1;
+ }
+}
Added: trunk/ui/dataTable/src/test/java/org/richfaces/component/AbstractDataTableComponentTest.java
===================================================================
--- trunk/ui/dataTable/src/test/java/org/richfaces/component/AbstractDataTableComponentTest.java (rev 0)
+++ trunk/ui/dataTable/src/test/java/org/richfaces/component/AbstractDataTableComponentTest.java 2008-03-03 01:33:34 UTC (rev 6474)
@@ -0,0 +1,77 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.component;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
+
+/**
+ * Created 01.03.2008
+ * @author Nick Belaevski
+ * @since 3.2
+ */
+
+public abstract class AbstractDataTableComponentTest extends AbstractAjax4JsfTestCase {
+
+ /**
+ * @param name
+ */
+ public AbstractDataTableComponentTest(String name) {
+ super(name);
+ }
+
+ protected List<Object> createTestData_0_sortFields() {
+ List<Object> list = new ArrayList<Object>();
+ list.add("Column1");
+ list.add("Column2");
+ list.add("Column3");
+
+ return list;
+ }
+
+ protected List<Object> createTestData_1_sortFields() {
+ List<Object> list = new ArrayList<Object>();
+ list.add("NameA");
+ list.add("NameB");
+
+ return list;
+ }
+
+ protected List<Object> createTestData_0_filterFields() {
+ List<Object> list = new ArrayList<Object>();
+ list.add("FColumn0");
+ list.add("FColumn1");
+
+ return list;
+ }
+
+ protected List<Object> createTestData_1_filterFields() {
+ List<Object> list = new ArrayList<Object>();
+ list.add("FNameA");
+ list.add("FNameB");
+ list.add("FNameC");
+
+ return list;
+ }
+}
Modified: trunk/ui/drag-drop/src/main/config/component/dragSupport.xml
===================================================================
--- trunk/ui/drag-drop/src/main/config/component/dragSupport.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/drag-drop/src/main/config/component/dragSupport.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -19,6 +19,7 @@
<classname>org.richfaces.renderkit.html.DragSupportRenderer</classname>
</renderer>
<tag>
+ <test />
<name>dragSupport</name>
<classname>org.richfaces.taglib.DragSupportTag</classname>
<superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
Modified: trunk/ui/drag-drop/src/main/config/component/dropSupport.xml
===================================================================
--- trunk/ui/drag-drop/src/main/config/component/dropSupport.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/drag-drop/src/main/config/component/dropSupport.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -20,6 +20,7 @@
<classname>org.richfaces.renderkit.html.DropSupportRenderer</classname>
</renderer>
<tag>
+ <test />
<name>dropSupport</name>
<classname>org.richfaces.taglib.DropSupportTag</classname>
<superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
Modified: trunk/ui/dropdown-menu/src/main/config/component/dropdownmenu.xml
===================================================================
--- trunk/ui/dropdown-menu/src/main/config/component/dropdownmenu.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/dropdown-menu/src/main/config/component/dropdownmenu.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.DropDownMenu</family>
<classname>org.richfaces.component.html.HtmlDropDownMenu</classname>
<superclass>org.richfaces.component.UIDropDownMenu</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlDropDownMenuComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[ ]]>
</description>
Modified: trunk/ui/listShuttle/pom.xml
===================================================================
--- trunk/ui/listShuttle/pom.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/listShuttle/pom.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -21,7 +21,14 @@
<goal>generate</goal>
</goals>
</execution>
- </executions>
+ <execution>
+ <id>generate-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>generate-tests</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
<library>
<prefix>org.richfaces</prefix>
Modified: trunk/ui/listShuttle/src/main/config/component/listShuttle.xml
===================================================================
--- trunk/ui/listShuttle/src/main/config/component/listShuttle.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/listShuttle/src/main/config/component/listShuttle.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.ListShuttle</family>
<classname>org.richfaces.component.html.HtmlListShuttle</classname>
<superclass>org.richfaces.component.UIListShuttle</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlListShuttleComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Modified: trunk/ui/menu-components/src/main/config/component/menucomponents.xml
===================================================================
--- trunk/ui/menu-components/src/main/config/component/menucomponents.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/menu-components/src/main/config/component/menucomponents.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.DropDownMenu</family>
<classname>org.richfaces.component.html.HtmlMenuGroup</classname>
<superclass>org.richfaces.component.UIMenuGroup</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlMenuGroupComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
Defines expandable group of items inside popup list or another group. Should accept only "menuItem", "menuGroup" and "menuSeparator" components as children.
@@ -155,6 +159,10 @@
<family>org.richfaces.DropDownMenu</family>
<classname>org.richfaces.component.html.HtmlMenuItem</classname>
<superclass>org.richfaces.component.UIMenuItem</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlMenuItemComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[ ]]>
</description>
@@ -279,6 +287,10 @@
<family>org.richfaces.DropDownMenu</family>
<classname>org.richfaces.component.html.HtmlMenuSeparator</classname>
<superclass>org.richfaces.component.UIMenuSeparator</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlMenuSeparatorComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description><![CDATA[
A horizontal separator to use in the menu.
]]></description>
Modified: trunk/ui/orderingList/src/main/config/component/orderinglist.xml
===================================================================
--- trunk/ui/orderingList/src/main/config/component/orderinglist.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/orderingList/src/main/config/component/orderinglist.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.OrderingList</family>
<classname>org.richfaces.component.html.HtmlOrderingList</classname>
<superclass>org.richfaces.component.UIOrderingList</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlOrderingListComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
</description>
Modified: trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -4,6 +4,10 @@
<component>
<name>org.richfaces.PanelMenu</name>
<family>org.richfaces.PanelMenu</family>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>Defines the menu on the page and the set of the child elements properties in
layout.</description>
<superclass>org.richfaces.component.UIPanelMenu</superclass>
@@ -366,6 +370,10 @@
<component>
<name>org.richfaces.PanelMenuGroup</name>
<family>org.richfaces.PanelMenuGroup</family>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuGroupComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>Defines expandable group of items inside the panel menu or other group.</description>
<superclass>org.richfaces.component.UIPanelMenuGroup</superclass>
<classname>org.richfaces.component.html.HtmlPanelMenuGroup</classname>
@@ -550,6 +558,10 @@
<component>
<name>org.richfaces.PanelMenuItem</name>
<family>org.richfaces.PanelMenuItem</family>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuItemComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>Defines single Item inside popup list.</description>
<superclass>org.richfaces.component.UIPanelMenuItem</superclass>
<classname>org.richfaces.component.html.HtmlPanelMenuItem</classname>
Modified: trunk/ui/pickList/pom.xml
===================================================================
--- trunk/ui/pickList/pom.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/pickList/pom.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -22,6 +22,13 @@
<goal>generate</goal>
</goals>
</execution>
+ <execution>
+ <id>generate-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>generate-tests</goal>
+ </goals>
+ </execution>
</executions>
<configuration>
<library>
Modified: trunk/ui/progressBAR/src/main/config/component/progressBar.xml
===================================================================
--- trunk/ui/progressBAR/src/main/config/component/progressBar.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/progressBAR/src/main/config/component/progressBar.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -6,6 +6,10 @@
<family>org.richfaces.ProgressBar</family>
<classname>org.richfaces.component.html.HtmlProgressBar</classname>
<superclass>org.richfaces.component.UIProgressBar</superclass>
+ <test>
+ <classname>org.richfaces.component.html.HtmlProgressBarComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<description>
<![CDATA[
]]>
Modified: trunk/ui/scrollableDataTable/pom.xml
===================================================================
--- trunk/ui/scrollableDataTable/pom.xml 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/scrollableDataTable/pom.xml 2008-03-03 01:33:34 UTC (rev 6474)
@@ -7,7 +7,6 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
<artifactId>scrollableDataTable</artifactId>
- <version>3.2.0-SNAPSHOT</version>
<name>Scrollable Data Table</name>
<build>
<plugins>
@@ -79,4 +78,4 @@
<version>3.2.0-SNAPSHOT</version>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
Modified: trunk/ui/scrollableDataTable/src/test/java/org/richfaces/component/AbstractScrollableDataTableTestCase.java
===================================================================
--- trunk/ui/scrollableDataTable/src/test/java/org/richfaces/component/AbstractScrollableDataTableTestCase.java 2008-03-03 01:22:24 UTC (rev 6473)
+++ trunk/ui/scrollableDataTable/src/test/java/org/richfaces/component/AbstractScrollableDataTableTestCase.java 2008-03-03 01:33:34 UTC (rev 6474)
@@ -41,8 +41,8 @@
import org.richfaces.event.sort.SortEvent;
import org.richfaces.event.sort.SortListener;
import org.richfaces.model.DataModelCache;
+import org.richfaces.model.SortField;
import org.richfaces.model.SortOrder;
-import org.richfaces.model.internal.ComponentSortableDataModel;
import org.richfaces.model.selection.Selection;
import org.richfaces.model.selection.SimpleSelection;
@@ -50,7 +50,7 @@
* @author Maksim Kaszynski
*
*/
-public abstract class AbstractScrollableDataTableTestCase extends AbstractAjax4JsfTestCase {
+public class AbstractScrollableDataTableTestCase extends AbstractAjax4JsfTestCase {
private UIScrollableDataTable table;
@@ -79,14 +79,6 @@
}
- protected SortOrder createTestData_sortOrder() {
- return new SortOrder();
- }
-
- protected Selection createTestData_selection() {
- return new SimpleSelection();
- }
-
/* (non-Javadoc)
* @see org.ajax4jsf.tests.AbstractAjax4JsfTestCase#tearDown()
*/
@@ -95,6 +87,37 @@
super.tearDown();
}
+ protected SortOrder createTestData_0_sortOrder() {
+ SortField[] fields = new SortField[] {
+ new SortField("aaa", 1, Boolean.TRUE),
+ new SortField("bb", 0, Boolean.FALSE)
+ };
+ return new SortOrder(fields);
+ }
+
+ protected Selection createTestData_0_selection() {
+ SimpleSelection selection = new SimpleSelection();
+ selection.addKey(Integer.valueOf(5));
+ return selection;
+ }
+
+ protected SortOrder createTestData_1_sortOrder() {
+ SortField[] fields = new SortField[] {
+ new SortField("column3", 2, null),
+ new SortField("column1", 1, Boolean.TRUE),
+ new SortField("column2", 0, Boolean.FALSE)
+ };
+ return new SortOrder(fields);
+ }
+
+ protected Selection createTestData_1_selection() {
+ SimpleSelection selection = new SimpleSelection();
+ selection.addKey(Integer.valueOf(9));
+ selection.addKey(Integer.valueOf(8));
+ selection.addKey(Integer.valueOf(10));
+ return selection;
+ }
+
private class SortListener1 implements SortListener {
private boolean triggered = false;
public void processSort(SortEvent e) {
16 years, 9 months
JBoss Rich Faces SVN: r6473 - trunk/samples/stdcomponents-sample.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-02 20:22:24 -0500 (Sun, 02 Mar 2008)
New Revision: 6473
Modified:
trunk/samples/stdcomponents-sample/pom.xml
Log:
Fixed dependencies for StdComponents sample
Modified: trunk/samples/stdcomponents-sample/pom.xml
===================================================================
--- trunk/samples/stdcomponents-sample/pom.xml 2008-03-03 01:19:26 UTC (rev 6472)
+++ trunk/samples/stdcomponents-sample/pom.xml 2008-03-03 01:22:24 UTC (rev 6473)
@@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
- <artifactId>stdcomponents-skinning</artifactId>
+ <artifactId>core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
16 years, 9 months
JBoss Rich Faces SVN: r6472 - in trunk/cdk/generator/src/main: resources/META-INF/templates12 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-02 20:19:26 -0500 (Sun, 02 Mar 2008)
New Revision: 6472
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/TestDataGenerator.java
trunk/cdk/generator/src/main/resources/META-INF/templates12/componenttest.vm
Log:
CDK tests generation:
- test data for java.util.Date added
- java.lang.Enum support added
- several (two) test data sets added
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/TestDataGenerator.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/TestDataGenerator.java 2008-03-02 14:32:15 UTC (rev 6471)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/TestDataGenerator.java 2008-03-03 01:19:26 UTC (rev 6472)
@@ -3,6 +3,7 @@
*/
package org.ajax4jsf.builder.generator;
+import java.util.Date;
import java.util.HashMap;
import java.util.Map;
@@ -38,6 +39,8 @@
testData.put(Float.class.getName(), "new Float(2.05f)");
testData.put(Double.class.getName(), "new Double(1.34d)");
+ testData.put(Date.class.getName(), "java.text.DateFormat.getDateInstance(" +
+ "java.text.DateFormat.SHORT, java.util.Locale.US).parse(\"09/08/2007\")");
}
private static Map<String, String> testData1 = new HashMap<String, String>();
@@ -60,6 +63,8 @@
testData1.put(Float.class.getName(), "new Float(1.05f)");
testData1.put(Double.class.getName(), "new Double(1.44d)");
+ testData1.put(Date.class.getName(), "java.text.DateFormat.getDateInstance(" +
+ "java.text.DateFormat.SHORT, java.util.Locale.US).parse(\"02/29/2008\")");
}
private static Map<String, Class> primitiveToWrapper = new HashMap<String, Class>();
@@ -137,7 +142,7 @@
}
- return "createTestData_" + propertyName + "()";
+ return "createTestData_" + number + "_" + propertyName + "()";
}
public String getTestData(PropertyBean propertyBean) {
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates12/componenttest.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates12/componenttest.vm 2008-03-02 14:32:15 UTC (rev 6471)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates12/componenttest.vm 2008-03-03 01:19:26 UTC (rev 6472)
@@ -115,22 +115,35 @@
testRestoreState(state);
}
- public void testGetters() {
+ public void testGetters() throws Exception {
${component.simpleClassName} component = new ${component.simpleClassName}();
#foreach( $prop in $component.properties )
- #if(!$prop.exist && !$prop.elonly && !$prop.classname.startsWith("javax.faces."))
- component.setValueBinding("${prop.name}", new MockValueBinding($testDataGenerator.getTestVeData(${prop}), ${testDataGenerator.getTestVeClass(${prop})}.class));
- assertEquals($testDataGenerator.getTestData(${prop}), component.${prop.getterName}());
- component.${prop.setterName}($testDataGenerator.getTestData1(${prop}) );
- assertEquals($testDataGenerator.getTestData1(${prop}), component.${prop.getterName}());
- #end
+ #if(!$prop.exist && !$prop.elonly && !$prop.classname.startsWith("javax.faces.") && !$prop.classname.startsWith("javax.el."))
+ #if( $prop.isInstanceof("java.lang.Enum") )
+ $prop.classname[] ${prop.name}Values = ${prop.classname}.values();
+ for (int i = 0; i < ${prop.name}Values.length; i++) {
+ component.setValueBinding("${prop.name}", new MockValueBinding(${prop.name}Values[i], ${prop.classname}.class));
+ assertEquals(${prop.name}Values[i], component.${prop.getterName}());
+ }
+
+ for (int i = ${prop.name}Values.length - 1; i >=0 ; i--) {
+ component.${prop.setterName}(${prop.name}Values[i]);
+ assertEquals(${prop.name}Values[i], component.${prop.getterName}());
+ }
+ #else
+ component.setValueBinding("${prop.name}", new MockValueBinding($testDataGenerator.getTestVeData(${prop}), ${testDataGenerator.getTestVeClass(${prop})}.class));
+ assertEquals($testDataGenerator.getTestData(${prop}), component.${prop.getterName}());
+ component.${prop.setterName}($testDataGenerator.getTestData1(${prop}) );
+ assertEquals($testDataGenerator.getTestData1(${prop}), component.${prop.getterName}());
+ #end
+ #end
#end
}
- private void testRestoreState(Object state){
+ public void testRestoreState(Object state){
${component.simpleClassName} restoredComponent = new ${component.simpleClassName}();
restoredComponent.restoreState(facesContext, state);
16 years, 9 months
JBoss Rich Faces SVN: r6471 - in trunk/samples/richfaces-demo/src/main: java/org/richfaces/demo/pickList and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-02 09:32:15 -0500 (Sun, 02 Mar 2008)
New Revision: 6471
Added:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/pickList/
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/pickList/PickListBean.java
trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/items.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/simple.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/usage.xhtml
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
Log:
http://jira.jboss.com/jira/browse/RF-1768
Added: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/pickList/PickListBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/pickList/PickListBean.java (rev 0)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/pickList/PickListBean.java 2008-03-02 14:32:15 UTC (rev 6471)
@@ -0,0 +1,51 @@
+/**
+ *
+ */
+package org.richfaces.demo.pickList;
+
+import java.util.ArrayList;
+
+import javax.faces.model.SelectItem;
+
+/**
+ * @author Admin
+ *
+ */
+public class PickListBean {
+
+ private ArrayList<String> result;
+
+ private SelectItem[] optionsAvailable;
+
+ public SelectItem[] getOptionsAvailable() {
+ return optionsAvailable;
+ }
+
+ public void setOptionsAvailable(SelectItem[] optionsAvailable) {
+ this.optionsAvailable = optionsAvailable;
+ }
+
+ public PickListBean() {
+ optionsAvailable = new SelectItem[5];
+ for (int i = 0; i < optionsAvailable.length; i++) {
+ optionsAvailable[i] = new SelectItem();
+ optionsAvailable[i].setLabel("Generated Option " + i);
+ optionsAvailable[i].setValue(i);
+ }
+ }
+
+ public ArrayList<String> getResult() {
+ return result;
+ }
+
+ public void setResult(ArrayList<String> result) {
+ this.result = result;
+ }
+
+ public Integer getItems() {
+ if (result == null){
+ return 0;
+ }
+ return result.size();
+ }
+}
Modified: trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
--- trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2008-03-02 11:41:16 UTC (rev 6470)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2008-03-02 14:32:15 UTC (rev 6471)
@@ -70,5 +70,6 @@
effect= richMisc, Effect, /images/ico_common.gif, /images/cn_Effect.gif, RichFacesComponentsLibrary.html#effect, jbossrichfaces/freezone/docs/tlddoc/rich/effect.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIEffect.html, /richfaces/effect.jsf
contextMenu= richMenu, Context Menu, /images/ico_dropDownMenu.gif, /images/cn_contextMenu.gif, RichFacesComponentsLibrary.html\#contextMenu, jbossrichfaces/freezone/docs/tlddoc/rich/contextMenu.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIContextMenu.html, /richfaces/contextMenu.jsf
componentControl= richMisc, Component Control, /images/ico_common.gif, /images/cn_componentControl.gif, RichFacesComponentsLibrary.html\#componentControl, jbossrichfaces/freezone/docs/tlddoc/rich/componentControl.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIcomponentControl.html, /richfaces/componentControl.jsf
-orderingList= richSelect, Ordering List, /images/ico_DataTable.gif, /images/cn_orderingList.gif, RichFacesComponentsLibrary.html\#orderingList, jbossrichfaces/freezone/docs/tlddoc/rich/orderingList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIorderingList.html, /richfaces/orderingList.jsf
-listShuttle= richSelect, List Shuttle, /images/ico_DataTable.gif, /images/cn_listShuttle.gif, RichFacesComponentsLibrary.html\#listShuttle, jbossrichfaces/freezone/docs/tlddoc/rich/listShuttle.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIlistShuttle.html, /richfaces/listShuttle.jsf
\ No newline at end of file
+orderingList=richSelect, Ordering List, \t /images/ico_DataTable.gif, /images/cn_orderingList.gif, RichFacesComponentsLibrary.html\#orderingList, jbossrichfaces/freezone/docs/tlddoc/rich/orderingList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIorderingList.html, /richfaces/orderingList.jsf
+listShuttle=richSelect, List Shuttle, \t\t/images/ico_DataTable.gif, /images/cn_listShuttle.gif, RichFacesComponentsLibrary.html\#listShuttle, jbossrichfaces/freezone/docs/tlddoc/rich/listShuttle.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIlistShuttle.html, /richfaces/listShuttle.jsf
+pickList=richSelect, Pick List, \t\t/images/ico_DataTable.gif, /images/cn_listShuttle.gif, RichFacesComponentsLibrary.html\#pickList, jbossrichfaces/freezone/docs/tlddoc/rich/pickList.html, \t\tjbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIpickList.html, /richfaces/pickList.jsf
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-03-02 11:41:16 UTC (rev 6470)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-03-02 14:32:15 UTC (rev 6471)
@@ -1,174 +1,174 @@
-<?xml version="1.0"?>
-<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
- "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
-<faces-config>
- <converter>
- <converter-id>listShuttleconverter</converter-id>
- <converter-class>org.richfaces.demo.listShuttle.Converter</converter-class>
- </converter>
- <managed-bean>
- <managed-bean-name>skinBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.common.SkinBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>skin</property-name>
- <property-class>java.lang.String</property-class>
- <value>blueSky</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>capitalsBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.capitals.CapitalsBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>ddmenu</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.ddmenu.Menu</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>calendarBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.calendar.CalendarBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>profile</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.wizard.Profile</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>userBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.ajaxsupport.UserBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>name</property-name>
- <property-class>java.lang.String</property-class>
- <value/>
- </managed-property>
- <managed-property>
- <property-name>screenWidth</property-name>
- <property-class>java.lang.Integer</property-class>
- <null-value/>
- </managed-property>
- <managed-property>
- <property-name>screenHeight</property-name>
- <property-class>java.lang.Integer</property-class>
- <null-value/>
- </managed-property>
- <managed-property>
- <property-name>job</property-name>
- <property-class>java.lang.String</property-class>
- <null-value/>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>dfsBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.datafilterslider.DemoSliderBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>demoInventoryList</property-name>
- <value>#{inventoryList}</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>dataTableScrollerBean</managed-bean-name>
- <managed-bean-class>org.richfaces.datatablescroller.DataTableScrollerBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>toggleBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.togglePanel.ToggleBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>inventoryList</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.datafilterslider.DemoInventoryList</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>suggestionBox</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.sb.SuggestionBox</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>gmBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.gmap.Bean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>zoom</property-name>
- <property-class>int</property-class>
- <value>17</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>environment</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.common.Environment</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>params</property-name>
- <property-class>java.util.Map</property-class>
- <map-entries>
- <map-entry>
- <key>devguide-location</key>
- <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/devguide</value>
- </map-entry>
- <map-entry>
- <key>tld-doc-location</key>
- <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/tlddoc</value>
- </map-entry>
- <map-entry>
- <key>java-doc-location</key>
- <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/apidoc</value>
- </map-entry>
- </map-entries>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>insValueBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.inputnumberslider.ValueBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>componentNavigator</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.common.ComponentNavigator</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>report</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.datatable.Report</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>tbBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.toolBar.TbBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>paintBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.paint2d.PaintBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>paintData</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.paint2d.PaintData</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- <managed-property>
- <property-name>color</property-name>
- <property-class>int</property-class>
- <value>1000</value>
- </managed-property>
- <managed-property>
- <property-name>scale</property-name>
- <property-class>float</property-class>
- <value>2</value>
- </managed-property>
- <managed-property>
- <property-name>text</property-name>
- <property-class>java.lang.String</property-class>
- <value>Paint 2D</value>
- </managed-property>
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+<faces-config>
+ <converter>
+ <converter-id>listShuttleconverter</converter-id>
+ <converter-class>org.richfaces.demo.listShuttle.Converter</converter-class>
+ </converter>
+ <managed-bean>
+ <managed-bean-name>skinBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.SkinBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>skin</property-name>
+ <property-class>java.lang.String</property-class>
+ <value>blueSky</value>
+ </managed-property>
</managed-bean>
<managed-bean>
+ <managed-bean-name>capitalsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.capitals.CapitalsBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>ddmenu</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.ddmenu.Menu</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>calendarBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.calendar.CalendarBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>profile</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.wizard.Profile</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>userBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.ajaxsupport.UserBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>name</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>screenWidth</property-name>
+ <property-class>java.lang.Integer</property-class>
+ <null-value/>
+ </managed-property>
+ <managed-property>
+ <property-name>screenHeight</property-name>
+ <property-class>java.lang.Integer</property-class>
+ <null-value/>
+ </managed-property>
+ <managed-property>
+ <property-name>job</property-name>
+ <property-class>java.lang.String</property-class>
+ <null-value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dfsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datafilterslider.DemoSliderBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>demoInventoryList</property-name>
+ <value>#{inventoryList}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dataTableScrollerBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.datatablescroller.DataTableScrollerBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>toggleBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.togglePanel.ToggleBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>inventoryList</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datafilterslider.DemoInventoryList</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>suggestionBox</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.sb.SuggestionBox</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>gmBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.gmap.Bean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>zoom</property-name>
+ <property-class>int</property-class>
+ <value>17</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>environment</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.Environment</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>params</property-name>
+ <property-class>java.util.Map</property-class>
+ <map-entries>
+ <map-entry>
+ <key>devguide-location</key>
+ <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/devguide</value>
+ </map-entry>
+ <map-entry>
+ <key>tld-doc-location</key>
+ <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/tlddoc</value>
+ </map-entry>
+ <map-entry>
+ <key>java-doc-location</key>
+ <value>http://www.jboss.org/projects/jbossrichfaces/freezone/docs/apidoc</value>
+ </map-entry>
+ </map-entries>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>insValueBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.inputnumberslider.ValueBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>componentNavigator</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.ComponentNavigator</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>report</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datatable.Report</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>tbBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.toolBar.TbBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>paintBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.paint2d.PaintBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>paintData</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.paint2d.PaintData</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>color</property-name>
+ <property-class>int</property-class>
+ <value>1000</value>
+ </managed-property>
+ <managed-property>
+ <property-name>scale</property-name>
+ <property-class>float</property-class>
+ <value>2</value>
+ </managed-property>
+ <managed-property>
+ <property-name>text</property-name>
+ <property-class>java.lang.String</property-class>
+ <value>Paint 2D</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
<managed-bean-name>treeDemoStateAdvisor</managed-bean-name>
<managed-bean-class>org.richfaces.treemodeladaptor.TreeDemoStateAdvisor</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
@@ -178,127 +178,132 @@
<managed-bean-class>org.richfaces.treemodeladaptor.FileSystemBean</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
- <managed-bean>
- <managed-bean-name>simpleTreeBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.tree.SimpleTreeBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>library</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.tree.Library</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>dndBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.dnd.DndBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>eventBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.dnd.EventBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- <managed-property>
- <property-name>dndBean</property-name>
- <property-class>org.richfaces.demo.dnd.DndBean</property-class>
- <value>#{dndBean}</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>toolTipData</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.tooltip.ToolTipData</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>rsBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.ajaxSamples.rsBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>rsBean2</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.ajaxSamples.rsBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>auctionDataModel</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.extendeddatamodel.AuctionDataModel</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- <managed-property>
- <property-name>dataProvider</property-name>
- <property-class>org.richfaces.demo.extendeddatamodel.AuctionDataProvider</property-class>
- <value>#{auctionDataProvider}</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>mediaBean</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.media.MediaBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>mediaData</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.media.MediaData</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>auctionDataProvider</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.extendeddatamodel.AuctionDataProvider</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>salesReport</managed-bean-name>
- <managed-bean-class>org.richfaces.datatable.SalesReport</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>updateBean</managed-bean-name>
- <managed-bean-class>org.richfaces.datatable.UpdateBean</managed-bean-class>
- <managed-bean-scope>request</managed-bean-scope>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>panelMenu</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.pmenu.PanelMenu</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- <managed-property>
- <property-name>current</property-name>
- <property-class>java.lang.String</property-class>
- <value>Nothing</value>
- </managed-property>
- <managed-property>
- <property-name>singleMode</property-name>
- <property-class>boolean</property-class>
- <value>true</value>
- </managed-property>
- </managed-bean>
- <managed-bean>
- <managed-bean-name>toolBar</managed-bean-name>
- <managed-bean-class>org.richfaces.demo.listShuttle.ToolBar</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
- <navigation-rule>
- <from-view-id>/richfaces/include/examples/wstep1.xhtml</from-view-id>
- <navigation-case>
- <from-outcome>next</from-outcome>
- <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
- </navigation-case>
- </navigation-rule>
- <navigation-rule>
- <from-view-id>/richfaces/include/examples/wstep2.xhtml</from-view-id>
- <navigation-case>
- <from-outcome>previous</from-outcome>
- <to-view-id>/richfaces/include/examples/wstep1.xhtml</to-view-id>
- </navigation-case>
- <navigation-case>
- <from-outcome>next</from-outcome>
- <to-view-id>/richfaces/include/examples/finalStep.xhtml</to-view-id>
- </navigation-case>
- </navigation-rule>
- <navigation-rule>
- <from-view-id>/richfaces/include/examples/finalStep.xhtml</from-view-id>
- <navigation-case>
- <from-outcome>previous</from-outcome>
- <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
- </navigation-case>
+ <managed-bean>
+ <managed-bean-name>simpleTreeBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tree.SimpleTreeBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>library</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tree.Library</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dndBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.dnd.DndBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>eventBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.dnd.EventBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>dndBean</property-name>
+ <property-class>org.richfaces.demo.dnd.DndBean</property-class>
+ <value>#{dndBean}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>toolTipData</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tooltip.ToolTipData</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>rsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.ajaxSamples.rsBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>rsBean2</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.ajaxSamples.rsBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>auctionDataModel</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.extendeddatamodel.AuctionDataModel</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>dataProvider</property-name>
+ <property-class>org.richfaces.demo.extendeddatamodel.AuctionDataProvider</property-class>
+ <value>#{auctionDataProvider}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>mediaBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.media.MediaBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>mediaData</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.media.MediaData</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>auctionDataProvider</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.extendeddatamodel.AuctionDataProvider</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>salesReport</managed-bean-name>
+ <managed-bean-class>org.richfaces.datatable.SalesReport</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>updateBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.datatable.UpdateBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>panelMenu</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.pmenu.PanelMenu</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>current</property-name>
+ <property-class>java.lang.String</property-class>
+ <value>Nothing</value>
+ </managed-property>
+ <managed-property>
+ <property-name>singleMode</property-name>
+ <property-class>boolean</property-class>
+ <value>true</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>toolBar</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.listShuttle.ToolBar</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>pickListBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.pickList.PickListBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <navigation-rule>
+ <from-view-id>/richfaces/include/examples/wstep1.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>next</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
+ </navigation-case>
</navigation-rule>
- <lifecycle>
- <phase-listener>org.richfaces.treemodeladaptor.PostbackPhaseListener</phase-listener>
- </lifecycle>
-</faces-config>
+ <navigation-rule>
+ <from-view-id>/richfaces/include/examples/wstep2.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>previous</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep1.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>next</from-outcome>
+ <to-view-id>/richfaces/include/examples/finalStep.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <navigation-rule>
+ <from-view-id>/richfaces/include/examples/finalStep.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>previous</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <lifecycle>
+ <phase-listener>org.richfaces.treemodeladaptor.PostbackPhaseListener</phase-listener>
+ </lifecycle>
+</faces-config>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/items.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/items.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/items.xhtml 2008-03-02 14:32:15 UTC (rev 6471)
@@ -0,0 +1,26 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <h:form>
+ <h:panelGrid columns="2">
+ <rich:pickList value="#{pickListBean.result}">
+ <f:selectItems value="#{pickListBean.optionsAvailable}"/>
+ <a4j:support event="ondblclick" reRender="result"/>
+ </rich:pickList>
+
+ <rich:panel id="result">
+ <f:facet name="header">
+ <h:outputText value="#{pickListBean.items} Options Choosen"></h:outputText>
+ </f:facet>
+ <rich:dataTable value="#{pickListBean.result}" var="pickList" rendered="#{pickListBean.items>0}">
+ <rich:column>
+ <h:outputText value="#{pickList}"/>
+ </rich:column>
+ </rich:dataTable>
+ </rich:panel>
+ </h:panelGrid>
+ </h:form>
+</ui:composition>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/simple.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/simple.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/simple.xhtml 2008-03-02 14:32:15 UTC (rev 6471)
@@ -0,0 +1,14 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <rich:pickList>
+ <f:selectItem itemLabel="Option 1" itemValue="1"/>
+ <f:selectItem itemLabel="Option 2" itemValue="2"/>
+ <f:selectItem itemLabel="Option 3" itemValue="3"/>
+ <f:selectItem itemLabel="Option 4" itemValue="4"/>
+ <f:selectItem itemLabel="Option 5" itemValue="5"/>
+ </rich:pickList>
+</ui:composition>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/usage.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList/usage.xhtml 2008-03-02 14:32:15 UTC (rev 6471)
@@ -0,0 +1,39 @@
+<!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:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p>
+ SHORT DESCRIPTION
+ </p>
+
+
+ <div class="sample-container" >
+
+ <ui:include src="/richfaces/pickList/examples/simple.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/pickList/examples/simple.xhtml"/>
+ </ui:include>
+ </div>
+
+ <p>
+ DESCRIPTION
+ </p>
+
+ <div class="sample-container" >
+
+ <ui:include src="/richfaces/pickList/examples/items.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/pickList/examples/items.xhtml"/>
+ </ui:include>
+ </div>
+
+ </ui:define>
+
+
+ </ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/pickList.xhtml 2008-03-02 14:32:15 UTC (rev 6471)
@@ -0,0 +1,20 @@
+<!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:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Pick List component</ui:define>
+ <ui:define name="body">
+ <rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+ <rich:tab label="Usage">
+ <ui:include src="/richfaces/pickList/usage.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="a4j/pickList"/>
+ </ui:include>
+ </rich:tabPanel>
+ </ui:define>
+</ui:composition>
+</html>
16 years, 9 months
JBoss Rich Faces SVN: r6470 - management/design/columnSortFilterFeatures.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-02 06:41:16 -0500 (Sun, 02 Mar 2008)
New Revision: 6470
Modified:
management/design/columnSortFilterFeatures/FuncSpec - Sorting Feature.doc
management/design/columnSortFilterFeatures/Sorting and Filtering Features Vision.doc
Log:
Modified: management/design/columnSortFilterFeatures/FuncSpec - Sorting Feature.doc
===================================================================
(Binary files differ)
Modified: management/design/columnSortFilterFeatures/Sorting and Filtering Features Vision.doc
===================================================================
(Binary files differ)
16 years, 9 months
JBoss Rich Faces SVN: r6469 - in management/design: inplaceSelect and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-02 06:28:13 -0500 (Sun, 02 Mar 2008)
New Revision: 6469
Modified:
management/design/inplaceInput/FuncSpec - InplaceInput.doc
management/design/inplaceSelect/FuncSpec - InplaceSelect.doc
Log:
Modified: management/design/inplaceInput/FuncSpec - InplaceInput.doc
===================================================================
(Binary files differ)
Modified: management/design/inplaceSelect/FuncSpec - InplaceSelect.doc
===================================================================
(Binary files differ)
16 years, 9 months