JBoss Rich Faces SVN: r17462 - root/dist/trunk.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2010-06-02 04:16:02 -0400 (Wed, 02 Jun 2010)
New Revision: 17462
Modified:
root/dist/trunk/readme-examples.txt
Log:
https://jira.jboss.org/browse/RFPL-607
Modified: root/dist/trunk/readme-examples.txt
===================================================================
--- root/dist/trunk/readme-examples.txt 2010-06-02 04:14:55 UTC (rev 17461)
+++ root/dist/trunk/readme-examples.txt 2010-06-02 08:16:02 UTC (rev 17462)
@@ -19,6 +19,18 @@
Type http://localhost:8080/richfaces-showcase http://localhost:8080/core-demo in your browser address bar after starting server.
+More additional information about build profiles for concrete aplications and working with them - inside readme's for application itself.
+
+Using IDE to work with examples
+-------------------------------
+ *You could use Jboss Tools with m2eclipse plugin and just import the examples as maven-based projects.
+
+ *Or if you have not using m2eclipse - execute:
+ mvn eclipse:ecllipse
+ in root example folder and import to ecplise just as existent project after build complete.
+
+
+
Learn more
----------
RichFaces Project - http://www.jboss.org/richfaces
14 years, 7 months
JBoss Rich Faces SVN: r17461 - root/docs/trunk/Developer_Guide/en-US.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2010-06-02 00:14:55 -0400 (Wed, 02 Jun 2010)
New Revision: 17461
Modified:
root/docs/trunk/Developer_Guide/en-US/chap-Developer_Guide-Getting_started_with_RichFaces.xml
Log:
Fixed reference to archetype as part of CDK
Modified: root/docs/trunk/Developer_Guide/en-US/chap-Developer_Guide-Getting_started_with_RichFaces.xml
===================================================================
--- root/docs/trunk/Developer_Guide/en-US/chap-Developer_Guide-Getting_started_with_RichFaces.xml 2010-06-01 23:42:29 UTC (rev 17460)
+++ root/docs/trunk/Developer_Guide/en-US/chap-Developer_Guide-Getting_started_with_RichFaces.xml 2010-06-02 04:14:55 UTC (rev 17461)
@@ -184,7 +184,7 @@
A Maven archetype is a template for creating projects. <productname>Maven</productname> uses an archetype to generate a directory structure and files for a particular project, as well as creating <filename>pom.xml</filename> files that contain build instructions.
</para>
<para>
- The RichFaces Component Development Kit includes a Maven archetype for generating the basic structure and requirements for a RichFaces application project. The archetype is named <filename>richfaces-archetype-simpleapp</filename> and is included as part of the RichFaces Component Development Kit (<acronym>CDK</acronym>), but Maven can obtain it from the JBoss repository at <filename>https://repository.jboss.org/nexus/content/groups/public/</filename>. Follow the procedure in this section to generate a new Maven-based RichFaces project using the archetype.
+ The RichFaces Component Development Kit includes a Maven archetype named <filename>richfaces-archetype-simpleapp</filename> for generating the basic structure and requirements for a RichFaces application project. Maven can obtain the archetype from the JBoss repository at <filename>https://repository.jboss.org/nexus/content/groups/public/</filename>. The archetype is also included with the RichFaces source code. Follow the procedure in this section to generate a new Maven-based RichFaces project using the archetype.
</para>
<procedure>
<step id="step-Developer_Guide-Using_RichFaces_with_Maven-Add_required_repositories">
14 years, 7 months
JBoss Rich Faces SVN: r17460 - in root/examples: richfaces-showcase/trunk and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-06-01 19:42:29 -0400 (Tue, 01 Jun 2010)
New Revision: 17460
Modified:
root/examples/core-demo/trunk/readme.txt
root/examples/richfaces-showcase/trunk/readme.txt
Log:
https://jira.jboss.org/browse/RFPL-607
Modified: root/examples/core-demo/trunk/readme.txt
===================================================================
--- root/examples/core-demo/trunk/readme.txt 2010-06-01 23:32:05 UTC (rev 17459)
+++ root/examples/core-demo/trunk/readme.txt 2010-06-01 23:42:29 UTC (rev 17460)
@@ -1,5 +1,5 @@
-The core-demo application: application is main test application used in daily development for testing purposes. It's more "rich" than showcase application
-from functionality coverage point of view, but the cases not intended to be implemented in user-friendly or meaningfull way.
+'core-demo' application is an application used for testing purposes in daily development. It's "richier" than showcase application
+from functionality coverage point of view, but the cases are not intended to be implemented in user-friendly or meaningful way.
1 Building and Running the application
@@ -11,21 +11,22 @@
- Apache Tomcat 6.0
- JDK 1.6
-1.2 Optional Additional Software
+1.2 Optional additional Software
- Eclipse IDE + JBoss Tools (to explore and run the application in IDE).
-- You're free to use any other IDE also but we're not checked an application in other environments.
+- You're free to use any other IDE also but we haven't tested an application in other environments.
+
1.3 Building the application
To build the project you need to navigate to the /examples/core-demo and run
-mvn clean install
+mvn clean package
-When you see the BUILD SUCCESSFUL message you can deploy the application on the server. You can deploy it on the server by copying the wae file from target to
+When you see the BUILD SUCCESSFUL message you can deploy the application on the server. You can deploy it on the server by copying .war file from 'target' folder to
the TOMCAT_HOME/webapps folder. Then, launch the startup.sh or startup.bat script from TOMCAT_HOME/bin/ directory to start the server.
-In order to explore, run and deploy the application in Eclipse IDE you could use of the next options:
+In order to explore, run and deploy the application in Eclipse IDE you can use one of the following options:
* Just import as maven project if using m2eclipse plugin.
@@ -33,9 +34,9 @@
mvn clean install eclipse:clean eclipse:eclipse
- comand and just import as existent project.
+ comand and just import as existing project.
-More details you can find in the RichFaces Getting Started Guide (visit documentation page at http://jboss.org/richfaces)
+You can find more details in the RichFaces Getting Started Guide (visit documentation page at http://jboss.org/richfaces)
Modified: root/examples/richfaces-showcase/trunk/readme.txt
===================================================================
--- root/examples/richfaces-showcase/trunk/readme.txt 2010-06-01 23:32:05 UTC (rev 17459)
+++ root/examples/richfaces-showcase/trunk/readme.txt 2010-06-01 23:42:29 UTC (rev 17460)
@@ -1,5 +1,5 @@
-The richFaces-showcase application: showcase application intended to show RichFaces components in Action. It contains set of small use-cases implemented for every component.
-Except basic samples - use-cases for demo choosen from most popular questions at user forums - so you will be able to find much usefull information there and will be able
+'richfaces-showcase' is an application intended to show RichFaces components in action. It contains set of small use-cases implemented using RichFaces components.
+Except basic samples - use-cases for demo choosen from most popular questions at user forums - so you will be able to find much useful information there and will be able
just to re-use some code to implement the same cases for your applications.
@@ -14,18 +14,19 @@
1.2 Optional Additional Software
- Eclipse IDE + JBoss Tools (to explore and run the application in IDE).
-- You're free to use any other IDE also but we're not checked an application in other environments.
+- You're free to use any other IDE also but we haven't tested an application in other environments.
1.3 Building the application
To build the project you need to navigate to the /examples/richfaces-showcase and run
-mvn clean install
+mvn clean package
-When you see the BUILD SUCCESSFUL message you can deploy the application on the server. You can deploy it on the server by copying the wae file from target to the TOMCAT_HOME/webapps folder. Then, launch the startup.sh or startup.bat script from TOMCAT_HOME/bin/ directory to start the server.
+When you see the BUILD SUCCESSFUL message you can deploy the application on the server. You can deploy it on the server by copying .war file from 'target' folder to
+the TOMCAT_HOME/webapps folder. Then, launch the startup.sh or startup.bat script from TOMCAT_HOME/bin/ directory to start the server.
-In order to explore, run and deploy the application in Eclipse IDE you could use of the next options:
+In order to explore, run and deploy the application in Eclipse IDE you can use one of the following options:
* Just import as maven project if using m2eclipse plugin.
@@ -35,7 +36,7 @@
comand and just import as existent project.
-More details you can find in the RichFaces Getting Started Guide (visit documentation page at http://jboss.org/richfaces)
+You can find more details in the RichFaces Getting Started Guide (visit documentation page at http://jboss.org/richfaces)
14 years, 7 months
JBoss Rich Faces SVN: r17459 - root/cdk/trunk/docs/guide.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2010-06-01 19:32:05 -0400 (Tue, 01 Jun 2010)
New Revision: 17459
Modified:
root/cdk/trunk/docs/guide/pom.xml
Log:
Corrected build issues with CDK docs: RF-8724
Modified: root/cdk/trunk/docs/guide/pom.xml
===================================================================
--- root/cdk/trunk/docs/guide/pom.xml 2010-06-01 23:29:06 UTC (rev 17458)
+++ root/cdk/trunk/docs/guide/pom.xml 2010-06-01 23:32:05 UTC (rev 17459)
@@ -3,16 +3,16 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.cdk.docs</groupId>
+ <groupId>org.jboss.richfaces</groupId>
<artifactId>guide-${translation}</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>1.0</version>
<packaging>jdocbook</packaging>
<name>${bookname}-(${translation})</name>
<parent>
- <groupId>org.richfaces.cdk</groupId>
+ <groupId>org.jboss.richfaces</groupId>
<artifactId>docs</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>1.0</version>
</parent>
<properties>
@@ -59,7 +59,7 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<configuration>
<formats>
@@ -96,7 +96,7 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<configuration>
<formats>
@@ -123,7 +123,7 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<configuration>
<formats>
@@ -150,7 +150,7 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<configuration>
<formats>
@@ -178,7 +178,7 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<configuration>
<formats>
@@ -217,7 +217,7 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
@@ -236,7 +236,7 @@
<sourceDocumentName>${docname}.xml</sourceDocumentName>
<sourceDirectory>.</sourceDirectory>
<imageResource>
- <directory>${project.basedir}/${translation}</directory>
+ <directory>${translation}</directory>
<includes>
<include>images/*</include>
</includes>
14 years, 7 months
JBoss Rich Faces SVN: r17458 - root/dist/trunk.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-06-01 19:29:06 -0400 (Tue, 01 Jun 2010)
New Revision: 17458
Modified:
root/dist/trunk/readme-examples.txt
root/dist/trunk/readme-ui.txt
Log:
https://jira.jboss.org/browse/RFPL-607
Modified: root/dist/trunk/readme-examples.txt
===================================================================
--- root/dist/trunk/readme-examples.txt 2010-06-01 21:08:43 UTC (rev 17457)
+++ root/dist/trunk/readme-examples.txt 2010-06-01 23:29:06 UTC (rev 17458)
@@ -8,13 +8,17 @@
-------------------------------
The core-demo and richfaces-showcase demo applications should be built using Maven 2.1.0
-tomcat6/jetty targetted build:
+tomcat6/jetty targeted build:
-1) execute "mvn install" in root application folder(examples/richfaces-showcase or examples/core-demo)
-2) Deploy to tomcat 6.x or just run using maven on jetty using "mvn jetty:run-war"
+1) execute "mvn clean package" in root application folder(examples/richfaces-showcase or examples/core-demo)
+2) Deploy to tomcat 6.x (built .war file is located in the 'target' folder) or just run using maven on jetty using "mvn clean jetty:run-war"
-Type http://localhost:8080/richfaces-showcase http://localhost:8080/core-demo in your browser command line after starting server.
+JEE6 (GlassFish 3, JBoss AS 6) server targeted build:
+1) execute "mvn clean package -Pjee6" in root application folder(examples/richfaces-showcase or examples/core-demo)
+2) Deploy built application (built .war file is located in the 'target' folder) to application server
+Type http://localhost:8080/richfaces-showcase http://localhost:8080/core-demo in your browser address bar after starting server.
+
Learn more
----------
RichFaces Project - http://www.jboss.org/richfaces
Modified: root/dist/trunk/readme-ui.txt
===================================================================
--- root/dist/trunk/readme-ui.txt 2010-06-01 21:08:43 UTC (rev 17457)
+++ root/dist/trunk/readme-ui.txt 2010-06-01 23:29:06 UTC (rev 17458)
@@ -1,6 +1,6 @@
RichFaces - Ajax enabled JSF 2.0 component library
=========================================================
-Version 4.0.0.ALPHA1
+Version 4.0.0.ALPHA2
This software is distributed under the terms of the FSF Lesser Gnu Public License (see lgpl.txt).
@@ -11,29 +11,28 @@
1.1) richfaces-commons-api-4.0.0-ALPHA2.jar
1.2) richfaces-core-api-4.0.0-ALPHA2.jar
1.3) richfaces-core-impl-4.0.0-ALPHA2.jar
- 1.4) richfaces-ui-core-ui-4.0.0-ALPHA2.jar
- 1.5) richfaces-ui-iteration-api-4.0.0-ALPHA2.jar
- 1.6) richfaces-ui-iteration-impl-4.0.0-ALPHA2.jar
- 1.7) richfaces-ui-iteration-ui-4.0.0-ALPHA2.jar
- 1.8) richfaces-ui-misc-ui-4.0.0-ALPHA2.jar
- 1.9) slf4j-api
- 1.10) slf4j-log4j12 (or whatever else - select the implementation according to logging framework that you use)
+ 1.4) richfaces-components-api-4.0.0-ALPHA2.jar
+ 1.5) richfaces-components-impl-4.0.0-ALPHA2.jar
+ 1.6) richfaces-components-ui-4.0.0-ALPHA2.jar
+ 1.7) slf4j-api
+ 1.8) slf4j-log4j12 (or whatever else - select the implementation according to logging framework that you use)
+For optimal performance it's recommended to add one of these caching frameworks to aplication classpath: EhCache, JBoss Cache, OsCache.
+
2) As opposed to the previous 3.x.y versions of RichFaces, no special configuration steps are necessary.
You don't need to modify web.xml or faces-config.xml
3) Add RichFaces namespaces/taglibs declaration to your VDL/XHTML pages which will use RichFaces components
Use xmlns:a4j="http://richfaces.org/a4j" namespace for core components
- Use xmlns:it="http://richfaces.org/iteration" namespace for Iteration components
- Use xmlns:m="http://richfaces.org/misc"namespace for Misc components
+ Use xmlns:rich="http://richfaces.org/rich" namespace for rich components
-4) Add one of the available RichFaces 4.0.A1 components to your page and try it!
- 4.1) Take a look at the RichFaces examples distribution for assistance with usage.
+4) Add one of the available RichFaces 4.0.A2 components to your page and try it!
+ 4.1) Take a look at the RichFaces examples for assistance with usage.
Available Components/Behaviors/Tags/Functions
---------------------------------
-Core module:
+Core:
---------------------------------
a4j:ajax
@@ -53,25 +52,26 @@
a4j:region
---------------------------------
-Iteration Module
+Iteration:
---------------------------------
-it:dataTable
-it:extendedDataTablesubTable
-it:dataScroller
-it:subTableToggleControl
-it:columnGroup
-it:column
+rich:dataTable
+rich:extendedDataTable
+rich:subTable
+rich:dataScroller
+rich:subTableToggleControl
+rich:columnGroup
+rich:column
---------------------------------
-Misc Module
+Miscellanous:
---------------------------------
-m:clientId
-m:element
-m:component
-m:isUserInRole
-m:findComponent
-m:componentControl
-m:hashParam
+rich:clientId
+rich:element
+rich:component
+rich:isUserInRole
+rich:findComponent
+rich:componentControl
+rich:hashParam
Learn more
----------
14 years, 7 months
JBoss Rich Faces SVN: r17457 - in root/cdk/trunk: dist and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2010-06-01 17:08:43 -0400 (Tue, 01 Jun 2010)
New Revision: 17457
Added:
root/cdk/trunk/dist/
root/cdk/trunk/dist/pom.xml
root/cdk/trunk/dist/src/
root/cdk/trunk/dist/src/main/
root/cdk/trunk/dist/src/main/resources/
root/cdk/trunk/dist/src/main/resources/assemblies/
root/cdk/trunk/dist/src/main/resources/assemblies/project.xml
Modified:
root/cdk/trunk/pom.xml
Log:
move assembly descriptor into separate project
Copied: root/cdk/trunk/dist/pom.xml (from rev 17453, root/cdk/trunk/pom.xml)
===================================================================
--- root/cdk/trunk/dist/pom.xml (rev 0)
+++ root/cdk/trunk/dist/pom.xml 2010-06-01 21:08:43 UTC (rev 17457)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>dist</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <name>JSF Components Development Kit (CDK) distribution assembly</name>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ </properties>
+
+ <!-- SCM and distribution management -->
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/root/cdk/trunk/dist</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/root/cdk/trunk/dist</developerConnection>
+ <url>http://fisheye.jboss.org/browse/Richfaces/cdk</url>
+ </scm>
+
+ <distributionManagement>
+ <downloadUrl>
+ http://labs.jboss.com/portal/jbossrichfaces/downloads
+ </downloadUrl>
+ <repository>
+ <id>jboss-releases-repository</id>
+ <uniqueVersion>false</uniqueVersion>
+ <url>${releaseRepository}</url>
+ </repository>
+ <snapshotRepository>
+ <id>jboss-snapshots-repository</id>
+ <uniqueVersion>true</uniqueVersion>
+ <url>${snapshotRepository}</url>
+ </snapshotRepository>
+ </distributionManagement>
+
+ <!-- Minimal build configuration -->
+ <build>
+ <finalName>cdk</finalName>
+ <plugins>
+ <plugin>
+ <!--
+ NOTE: We don't need a groupId specification because the group is
+ org.apache.maven.plugins ...which is assumed by default.
+ -->
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-5</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/resources/assemblies/project.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id> <!-- this is used for inheritance merges -->
+ <phase>package</phase> <!-- append to the packaging phase. -->
+ <goals>
+ <goal>single</goal> <!-- goals == mojos -->
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+
+</project>
Added: root/cdk/trunk/dist/src/main/resources/assemblies/project.xml
===================================================================
--- root/cdk/trunk/dist/src/main/resources/assemblies/project.xml (rev 0)
+++ root/cdk/trunk/dist/src/main/resources/assemblies/project.xml 2010-06-01 21:08:43 UTC (rev 17457)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>project</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>tar.bz2</format>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/..</directory>
+ <outputDirectory>/</outputDirectory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <excludes>
+ <exclude>**/.*</exclude>
+ <exclude>**/${project.build.directory}/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>
Modified: root/cdk/trunk/pom.xml
===================================================================
--- root/cdk/trunk/pom.xml 2010-06-01 20:38:21 UTC (rev 17456)
+++ root/cdk/trunk/pom.xml 2010-06-01 21:08:43 UTC (rev 17457)
@@ -20,6 +20,7 @@
<module>plugins</module>
<module>archetypes</module>
<module>docs</module>
+ <module>dist</module>
</modules>
<!-- SCM and distribution management -->
<scm>
@@ -70,28 +71,6 @@
<skip>true</skip>
</configuration>
</plugin>
- <plugin>
- <!--
- NOTE: We don't need a groupId specification because the group is
- org.apache.maven.plugins ...which is assumed by default.
- -->
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-5</version>
- <configuration>
- <descriptorRefs>
- <descriptorRef>project</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id> <!-- this is used for inheritance merges -->
- <phase>package</phase> <!-- append to the packaging phase. -->
- <goals>
- <goal>single</goal> <!-- goals == mojos -->
- </goals>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
14 years, 7 months
JBoss Rich Faces SVN: r17456 - in root/examples/richfaces-showcase/trunk: src/main/resources and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-06-01 16:38:21 -0400 (Tue, 01 Jun 2010)
New Revision: 17456
Added:
root/examples/richfaces-showcase/trunk/src/main/resources/log4j.xml
Modified:
root/examples/richfaces-showcase/trunk/pom.xml
Log:
richfaces-showcase:
- jaxb-api moved into jdk5-activated profile
- log4j.xml for INFO+ messages added
Modified: root/examples/richfaces-showcase/trunk/pom.xml
===================================================================
--- root/examples/richfaces-showcase/trunk/pom.xml 2010-06-01 20:36:23 UTC (rev 17455)
+++ root/examples/richfaces-showcase/trunk/pom.xml 2010-06-01 20:38:21 UTC (rev 17456)
@@ -29,12 +29,6 @@
<version>4.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- <version>2.2</version>
- </dependency>
-
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
@@ -64,6 +58,20 @@
</build>
<profiles>
+ <profile>
+ <id>jdk5</id>
+ <activation>
+ <jdk>1.5</jdk>
+ </activation>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.2</version>
+ </dependency>
+ </dependencies>
+ </profile>
<profile>
<id>release</id>
<build>
Added: root/examples/richfaces-showcase/trunk/src/main/resources/log4j.xml
===================================================================
--- root/examples/richfaces-showcase/trunk/src/main/resources/log4j.xml (rev 0)
+++ root/examples/richfaces-showcase/trunk/src/main/resources/log4j.xml 2010-06-01 20:38:21 UTC (rev 17456)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+ <appender name="console" class="org.apache.log4j.ConsoleAppender">
+ <param name="Target" value="System.out" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n" />
+ </layout>
+ </appender>
+ <root>
+ <priority value="info" />
+ <appender-ref ref="console" />
+ </root>
+
+</log4j:configuration>
\ No newline at end of file
14 years, 7 months
JBoss Rich Faces SVN: r17455 - in root/core/trunk/impl: src/main/java/org/ajax4jsf/webapp and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-06-01 16:36:23 -0400 (Tue, 01 Jun 2010)
New Revision: 17455
Modified:
root/core/trunk/impl/pom.xml
root/core/trunk/impl/src/main/java/org/ajax4jsf/webapp/WebXml.java
root/core/trunk/impl/src/main/java/org/richfaces/VersionBean.java
Log:
https://jira.jboss.org/browse/RFPL-609
Modified: root/core/trunk/impl/pom.xml
===================================================================
--- root/core/trunk/impl/pom.xml 2010-06-01 20:07:44 UTC (rev 17454)
+++ root/core/trunk/impl/pom.xml 2010-06-01 20:36:23 UTC (rev 17455)
@@ -151,6 +151,36 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <doCheck>false</doCheck>
+ <doUpdate>false</doUpdate>
+ <revisionOnScmFailure>unknown</revisionOnScmFailure>
+ <timestampFormat>{0,date,MM/dd/yyyy h:mm:ss a}</timestampFormat>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <SCM-Revision>${buildNumber}</SCM-Revision>
+ <SCM-Timestamp>${timestamp}</SCM-Timestamp>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
</plugins>
</build>
Modified: root/core/trunk/impl/src/main/java/org/ajax4jsf/webapp/WebXml.java
===================================================================
--- root/core/trunk/impl/src/main/java/org/ajax4jsf/webapp/WebXml.java 2010-06-01 20:07:44 UTC (rev 17454)
+++ root/core/trunk/impl/src/main/java/org/ajax4jsf/webapp/WebXml.java 2010-06-01 20:36:23 UTC (rev 17455)
@@ -21,18 +21,19 @@
package org.ajax4jsf.webapp;
+import java.io.Serializable;
+
+import javax.faces.context.FacesContext;
+import javax.servlet.ServletContext;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+
import org.ajax4jsf.config.WebXMLParser;
import org.richfaces.VersionBean;
import org.richfaces.VersionBean.Version;
import org.richfaces.log.RichfacesLogger;
import org.slf4j.Logger;
-import javax.faces.context.FacesContext;
-import javax.servlet.ServletContext;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import java.io.Serializable;
-
/**
* Parse at startup application web.xml and store servlet and filter mappings.
* at runtime, used for convert resource key to uri, and vice versa.
@@ -58,7 +59,7 @@
static {
VersionBean versionBean = new VersionBean();
Version version = versionBean.getVersion();
- String suffix = "/" + version.getMajor() + "_" + version.getMinor() + "_" + version.getRevision();
+ String suffix = "/" + version.getResourceVersion();
// that's to prevent static compile-time linkage to constant values
RESOURCE_URI_PREFIX_VERSIONED = RESOURCE_URI_PREFIX + suffix;
Modified: root/core/trunk/impl/src/main/java/org/richfaces/VersionBean.java
===================================================================
--- root/core/trunk/impl/src/main/java/org/richfaces/VersionBean.java 2010-06-01 20:07:44 UTC (rev 17454)
+++ root/core/trunk/impl/src/main/java/org/richfaces/VersionBean.java 2010-06-01 20:36:23 UTC (rev 17455)
@@ -21,83 +21,207 @@
package org.richfaces;
+import java.io.IOException;
+import java.net.JarURLConnection;
+import java.net.URL;
+import java.net.URLConnection;
+import java.security.CodeSource;
+import java.security.ProtectionDomain;
+import java.text.MessageFormat;
+import java.util.jar.Attributes;
+import java.util.jar.JarInputStream;
+import java.util.jar.Manifest;
+
+import org.richfaces.log.RichfacesLogger;
+
/**
* Vendor and version information for A4J project
*
* @author asmirnov(a)exadel.com (latest modification by $Author$)
* @version $Revision$ $Date$
*/
-public class VersionBean {
- public static final int MAJOR_VERSION = 4;
- public static final int MINOR_VERSION = 0;
- public static final String PROJECT_NAME = "Jboss Richfaces";
-
+public final class VersionBean {
+
+ private static final org.slf4j.Logger LOGGER = RichfacesLogger.APPLICATION.getLogger();
+
/**
- * Revision version, must be auto modified by CVS
- */
- public static final String REVISION = "0-SNAPSHOT";
-
- /**
- * $Revision$ $Date$";
- */
- public static final String SCM_REVISION =
- " SVN $Revision$ $Date$";
- public static final String VENDOR = "richfaces.org";
- public static final Version VERSION = new Version();
-
- public String getVendor() {
- return VENDOR;
- }
-
- public Version getVersion() {
- return VERSION;
- }
-
- public String getProjectName() {
- return PROJECT_NAME;
- }
-
- /*
- * (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
-
- // TODO Auto-generated method stub
- return getProjectName() + " by " + getVendor() + ", version " + getVersion().toString();
- }
-
- /**
* Class for incapsulate version info.
*
* @author asmirnov(a)exadel.com (latest modification by $Author$)
* @version $Revision$ $Date$
*/
public static class Version {
- public static final String VERSION_INFO = "v." + MAJOR_VERSION + '.' + MINOR_VERSION + '.' + REVISION
- + SCM_REVISION;
- public static final String RESOURCE_VERSION_INFO = MAJOR_VERSION + "_" + MINOR_VERSION + "_" + REVISION;
+
+ private static final String UNKNOWN = "";
+
+ private String implementationVendor = UNKNOWN;
- public int getMajor() {
- return MAJOR_VERSION;
+ //TODO nick - default value for manifest file absense - review
+ private String implementationVersion = "4.0.0-SNAPSHOT";
+
+ private String implementationTitle = UNKNOWN;
+
+ private String scmRevision = UNKNOWN;
+
+ private String scmTimestamp = UNKNOWN;
+
+ private String fullVersionString = UNKNOWN;
+
+ private String resourceVersion = UNKNOWN;
+
+ private boolean containsDataFromManifest = false;
+
+ public Version() {
+ initialize();
}
+
+ private String getAttributeValueOrDefault(Attributes attributes, String name) {
+ String value = attributes.getValue(name);
+ if (value == null) {
+ value = UNKNOWN;
+ }
+
+ return value;
+ }
+
+ private void initialize() {
+ Manifest manifest = null;
+ try {
+ manifest = readManifest();
+ } catch (Exception e) {
+ LOGGER.error(MessageFormat.format("Error reading project metadata: {0}", e.getMessage()), e);
+ }
+
+ if (manifest != null) {
+ initializePropertiesFromManifest(manifest);
+ initializeDerivativeProperties();
+ }
+ }
- public int getMinor() {
- return MINOR_VERSION;
+ private void initializePropertiesFromManifest(Manifest manifest) {
+ containsDataFromManifest = true;
+
+ Attributes attributes = manifest.getMainAttributes();
+ implementationVendor = getAttributeValueOrDefault(attributes, "Implementation-Vendor");
+ implementationVersion = getAttributeValueOrDefault(attributes, "Implementation-Version");
+ implementationTitle = getAttributeValueOrDefault(attributes, "Implementation-Title");
+ scmRevision = getAttributeValueOrDefault(attributes, "SCM-Revision");
+ scmTimestamp = getAttributeValueOrDefault(attributes, "SCM-Timestamp");
}
+ private void initializeDerivativeProperties() {
+ fullVersionString = MessageFormat.format("v.{0} SVN r.{1}", implementationVersion, scmRevision);
+ resourceVersion = implementationVersion.replace('.', '_') + "_" + scmRevision;
+ }
+
+ private Manifest readManifest() {
+ ProtectionDomain domain = VersionBean.class.getProtectionDomain();
+ if (domain != null) {
+ CodeSource codeSource = domain.getCodeSource();
+ if (codeSource != null) {
+ URL url = codeSource.getLocation();
+ if (url != null) {
+ JarInputStream jis = null;
+ try {
+ URLConnection urlConnection = url.openConnection();
+ urlConnection.setUseCaches(false);
+
+ if (urlConnection instanceof JarURLConnection) {
+ JarURLConnection jarUrlConnection = (JarURLConnection) urlConnection;
+ return jarUrlConnection.getManifest();
+ } else {
+ jis = new JarInputStream(urlConnection.getInputStream());
+ return jis.getManifest();
+ }
+ } catch (IOException e) {
+ LOGGER.error(MessageFormat.format("Error reading META-INF/MANIFEST.MF file: {0}", e.getMessage()), e);
+ } finally {
+ if (jis != null) {
+ try {
+ jis.close();
+ } catch (IOException e) {
+ LOGGER.error(MessageFormat.format("Error closing stream: {0}", e.getMessage()), e);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ return null;
+ }
+
+ boolean containsDataFromManifest() {
+ return containsDataFromManifest;
+ }
+
public String getRevision() {
- return REVISION;
+ return scmRevision;
}
+ public String getVersion() {
+ return fullVersionString;
+ }
+
public String getResourceVersion() {
- return RESOURCE_VERSION_INFO;
+ return resourceVersion;
}
+ public String getImplementationTitle() {
+ return implementationTitle;
+ }
+
+ public String getImplementationVendor() {
+ return implementationVendor;
+ }
+
+ public String getImplementationVersion() {
+ return implementationVersion;
+ }
+
+ public String getScmRevision() {
+ return scmRevision;
+ }
+
+ public String getScmTimestamp() {
+ return scmTimestamp;
+ }
+
@Override
public String toString() {
- return VERSION_INFO;
+ return getVersion();
}
}
+
+ public static final Version VERSION = new Version();
+
+ public String getVendor() {
+ return VERSION.getImplementationVendor();
+ }
+
+ public String getTitle() {
+ return VERSION.getImplementationTitle();
+ }
+
+ public String getRevision() {
+ return VERSION.getScmRevision();
+ }
+
+ public String getTimestamp() {
+ return VERSION.getScmTimestamp();
+ }
+
+ public Version getVersion() {
+ return VERSION;
+ }
+
+ @Override
+ public String toString() {
+ if (VERSION.containsDataFromManifest()) {
+ return getTitle() + " by " + getVendor() + ", version " + VERSION.toString();
+ } else {
+ return VERSION.toString();
+ }
+ }
+
}
14 years, 7 months
JBoss Rich Faces SVN: r17454 - in root/cdk/trunk/plugins/maven-cdk-plugin/src/it: annotated-component/src/main/java/org/richfaces and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2010-06-01 16:07:44 -0400 (Tue, 01 Jun 2010)
New Revision: 17454
Added:
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/MethodMetadata.java
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/PartialStateHolderHelper.java
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/MethodMetadata.java
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/PartialStateHolderHelper.java
Removed:
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/ajax4jsf/
Modified:
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/pom.xml
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/pom.xml
Log:
remove dependencies from the richfaces-common
Modified: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/pom.xml
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/pom.xml 2010-06-01 15:37:15 UTC (rev 17453)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/pom.xml 2010-06-01 20:07:44 UTC (rev 17454)
@@ -49,11 +49,6 @@
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.richfaces.commons</groupId>
- <artifactId>richfaces-commons-api</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>1.0</version>
Added: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/MethodMetadata.java
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/MethodMetadata.java (rev 0)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/MethodMetadata.java 2010-06-01 20:07:44 UTC (rev 17454)
@@ -0,0 +1,12 @@
+package org.richfaces;
+
+import javax.faces.view.facelets.FaceletContext;
+import javax.faces.view.facelets.Metadata;
+
+public class MethodMetadata extends Metadata {
+
+ @Override
+ public void applyMetadata(FaceletContext ctx, Object instance) {
+ }
+
+}
Property changes on: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/MethodMetadata.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/PartialStateHolderHelper.java
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/PartialStateHolderHelper.java (rev 0)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/PartialStateHolderHelper.java 2010-06-01 20:07:44 UTC (rev 17454)
@@ -0,0 +1,5 @@
+package org.richfaces;
+
+public class PartialStateHolderHelper {
+
+}
Property changes on: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/PartialStateHolderHelper.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/pom.xml
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/pom.xml 2010-06-01 15:37:15 UTC (rev 17453)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/pom.xml 2010-06-01 20:07:44 UTC (rev 17454)
@@ -50,11 +50,6 @@
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.richfaces.framework</groupId>
- <artifactId>richfaces-commons</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>1.0</version>
Added: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/MethodMetadata.java
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/MethodMetadata.java (rev 0)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/MethodMetadata.java 2010-06-01 20:07:44 UTC (rev 17454)
@@ -0,0 +1,12 @@
+package org.richfaces;
+
+import javax.faces.view.facelets.FaceletContext;
+import javax.faces.view.facelets.Metadata;
+
+public class MethodMetadata extends Metadata {
+
+ @Override
+ public void applyMetadata(FaceletContext ctx, Object instance) {
+ }
+
+}
Property changes on: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/MethodMetadata.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/PartialStateHolderHelper.java
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/PartialStateHolderHelper.java (rev 0)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/PartialStateHolderHelper.java 2010-06-01 20:07:44 UTC (rev 17454)
@@ -0,0 +1,5 @@
+package org.richfaces;
+
+public class PartialStateHolderHelper {
+
+}
Property changes on: root/cdk/trunk/plugins/maven-cdk-plugin/src/it/xml-configured-component/src/main/java/org/richfaces/PartialStateHolderHelper.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 7 months
JBoss Rich Faces SVN: r17453 - in root: examples/core-demo/trunk and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2010-06-01 11:37:15 -0400 (Tue, 01 Jun 2010)
New Revision: 17453
Modified:
root/dist/trunk/readme-examples.txt
root/dist/trunk/readme-ui.txt
root/examples/core-demo/trunk/readme.txt
root/examples/richfaces-showcase/trunk/readme.txt
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/extendedDataTable/simpleTable.xhtml
root/ui/core/trunk/readme.txt
root/ui/iteration/trunk/readme.txt
root/ui/misc/trunk/readme.txt
Log:
https://jira.jboss.org/browse/RFPL-607 + minor demo description update
Modified: root/dist/trunk/readme-examples.txt
===================================================================
--- root/dist/trunk/readme-examples.txt 2010-06-01 15:24:43 UTC (rev 17452)
+++ root/dist/trunk/readme-examples.txt 2010-06-01 15:37:15 UTC (rev 17453)
@@ -6,21 +6,15 @@
Getting up and running quickly
-------------------------------
-This demo application should be built using Maven 2.1.0
+The core-demo and richfaces-showcase demo applications should be built using Maven 2.1.0
tomcat6/jetty targetted build:
-1) execute "mvn install" in root application folder(examples/richfaces-showcase)
+
+1) execute "mvn install" in root application folder(examples/richfaces-showcase or examples/core-demo)
2) Deploy to tomcat 6.x or just run using maven on jetty using "mvn jetty:run-war"
-For JEE6 application server:
-1) execute "mvn install -P jee6" in root application folder(examples/richfaces-showcase)
-2) Deploy to Jboss 4.x or higher or some other jee6 application servers.
-3) Do not forget to change the JSF implementation shipped with application server to JSF 2 (latest SNAPSHOT)
+Type http://localhost:8080/richfaces-showcase http://localhost:8080/core-demo in your browser command line after starting server.
-To build both archives execute "mvn install -P release"
-
-Type http://localhost:8080/richfaces-showcase in your browser command line after starting server.
-
Learn more
----------
RichFaces Project - http://www.jboss.org/richfaces
Modified: root/dist/trunk/readme-ui.txt
===================================================================
--- root/dist/trunk/readme-ui.txt 2010-06-01 15:24:43 UTC (rev 17452)
+++ root/dist/trunk/readme-ui.txt 2010-06-01 15:37:15 UTC (rev 17453)
@@ -7,36 +7,72 @@
Getting up and running quickly
-------------------------------
-1) Put RichFaces libraries and its dependencies in your application libraries folder:
- 1.1) richfaces-api
- 1.2) richfaces-impl
- 1.3) core-ui
- 1.4) commons-logging
- 1.5) commons-beanutils
- 1.6) slf4j-api
- 1.7) slf4j-log4j12 (or whatever else - select the implementation according to logging framework that you use)
-
-2) As opposed to the previous 3.x.y versions of RichFaces, no special configuration steps are necessary.
-You don't need to modify web.xml or faces-config.xml
-
-3) Add RichFaces namespace/taglib declaration to your VDL/XHTML pages which will use RichFaces components
- Use xmlns:a4j="http://richfaces.org/a4j" namespace
-
+1) Put RichFaces libraries and its dependencies in your application libraries folder:
+ 1.1) richfaces-commons-api-4.0.0-ALPHA2.jar
+ 1.2) richfaces-core-api-4.0.0-ALPHA2.jar
+ 1.3) richfaces-core-impl-4.0.0-ALPHA2.jar
+ 1.4) richfaces-ui-core-ui-4.0.0-ALPHA2.jar
+ 1.5) richfaces-ui-iteration-api-4.0.0-ALPHA2.jar
+ 1.6) richfaces-ui-iteration-impl-4.0.0-ALPHA2.jar
+ 1.7) richfaces-ui-iteration-ui-4.0.0-ALPHA2.jar
+ 1.8) richfaces-ui-misc-ui-4.0.0-ALPHA2.jar
+ 1.9) slf4j-api
+ 1.10) slf4j-log4j12 (or whatever else - select the implementation according to logging framework that you use)
+
+2) As opposed to the previous 3.x.y versions of RichFaces, no special configuration steps are necessary.
+You don't need to modify web.xml or faces-config.xml
+
+3) Add RichFaces namespaces/taglibs declaration to your VDL/XHTML pages which will use RichFaces components
+ Use xmlns:a4j="http://richfaces.org/a4j" namespace for core components
+ Use xmlns:it="http://richfaces.org/iteration" namespace for Iteration components
+ Use xmlns:m="http://richfaces.org/misc"namespace for Misc components
+
4) Add one of the available RichFaces 4.0.A1 components to your page and try it!
- 4.1) Take a look at the RichFaces examples distribution for assistance with usage.
+ 4.1) Take a look at the RichFaces examples distribution for assistance with usage.
-Available Components
----------------------------------
-a4j:ajax
-a4j:commandLink
-a4j:commandButton
-a4j:push
-a4j:mediaOutput
-a4j:status
-a4j:jsFunction
-a4j:log
+Available Components/Behaviors/Tags/Functions
+
+---------------------------------
+Core module:
+---------------------------------
+
+a4j:ajax
+a4j:commandLink
+a4j:commandButton
+a4j:push
+a4j:mediaOutput
+a4j:status
+a4j:jsFunction
+a4j:log
a4j:outputPanel
+a4j:poll
+a4j:param
+a4j:queue
+a4j:attachQueue
+a4j:repeat
+a4j:region
+---------------------------------
+Iteration Module
+---------------------------------
+it:dataTable
+it:extendedDataTablesubTable
+it:dataScroller
+it:subTableToggleControl
+it:columnGroup
+it:column
+
+---------------------------------
+Misc Module
+---------------------------------
+m:clientId
+m:element
+m:component
+m:isUserInRole
+m:findComponent
+m:componentControl
+m:hashParam
+
Learn more
----------
RichFaces Project - http://www.jboss.org/richfaces
Modified: root/examples/core-demo/trunk/readme.txt
===================================================================
--- root/examples/core-demo/trunk/readme.txt 2010-06-01 15:24:43 UTC (rev 17452)
+++ root/examples/core-demo/trunk/readme.txt 2010-06-01 15:37:15 UTC (rev 17453)
@@ -0,0 +1,41 @@
+The core-demo application: application is main test application used in daily development for testing purposes. It's more "rich" than showcase application
+from functionality coverage point of view, but the cases not intended to be implemented in user-friendly or meaningfull way.
+
+
+1 Building and Running the application
+
+
+1.1. Requirements
+
+- Maven 2.1.0 or later
+- Apache Tomcat 6.0
+- JDK 1.6
+
+1.2 Optional Additional Software
+- Eclipse IDE + JBoss Tools (to explore and run the application in IDE).
+- You're free to use any other IDE also but we're not checked an application in other environments.
+
+
+1.3 Building the application
+
+To build the project you need to navigate to the /examples/core-demo and run
+
+mvn clean install
+
+When you see the BUILD SUCCESSFUL message you can deploy the application on the server. You can deploy it on the server by copying the wae file from target to
+the TOMCAT_HOME/webapps folder. Then, launch the startup.sh or startup.bat script from TOMCAT_HOME/bin/ directory to start the server.
+
+In order to explore, run and deploy the application in Eclipse IDE you could use of the next options:
+
+ * Just import as maven project if using m2eclipse plugin.
+
+ * without m2eclipse - build it with the
+
+ mvn clean install eclipse:clean eclipse:eclipse
+
+ comand and just import as existent project.
+
+More details you can find in the RichFaces Getting Started Guide (visit documentation page at http://jboss.org/richfaces)
+
+
+
Modified: root/examples/richfaces-showcase/trunk/readme.txt
===================================================================
--- root/examples/richfaces-showcase/trunk/readme.txt 2010-06-01 15:24:43 UTC (rev 17452)
+++ root/examples/richfaces-showcase/trunk/readme.txt 2010-06-01 15:37:15 UTC (rev 17453)
@@ -1,4 +1,6 @@
-The RichFaces application: short description
+The richFaces-showcase application: showcase application intended to show RichFaces components in Action. It contains set of small use-cases implemented for every component.
+Except basic samples - use-cases for demo choosen from most popular questions at user forums - so you will be able to find much usefull information there and will be able
+just to re-use some code to implement the same cases for your applications.
1 Building and Running the application
@@ -17,7 +19,7 @@
1.3 Building the application
-To build the project you need to navigate to the /exmaples/richfaces-showcase and run
+To build the project you need to navigate to the /examples/richfaces-showcase and run
mvn clean install
Modified: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/extendedDataTable/simpleTable.xhtml
===================================================================
--- root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/extendedDataTable/simpleTable.xhtml 2010-06-01 15:24:43 UTC (rev 17452)
+++ root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/extendedDataTable/simpleTable.xhtml 2010-06-01 15:37:15 UTC (rev 17453)
@@ -16,7 +16,7 @@
<h:form>
<it:extendedDataTable value="#{carsBean.allInventoryItems}" var="car"
- id="table" frozenColumns="2" style="height:300px; width:500px;" rowClasses="qwe, qe">
+ id="table" frozenColumns="2" style="height:300px; width:500px;">
<f:facet name="header">
<h:outputText value="Cars marketplace" />
</f:facet>
@@ -64,6 +64,8 @@
</it:column>
</it:extendedDataTable>
</h:form>
+ <p>In order to turn on Ajax loading - just specify clientRows attribute with number of rows
+ to be loaded on the client</p>
</ui:composition>
</html>
\ No newline at end of file
Modified: root/ui/core/trunk/readme.txt
===================================================================
--- root/ui/core/trunk/readme.txt 2010-06-01 15:24:43 UTC (rev 17452)
+++ root/ui/core/trunk/readme.txt 2010-06-01 15:37:15 UTC (rev 17453)
@@ -0,0 +1,18 @@
+core module consist of next components:
+Since A1
+ * a4j:ajax
+ * a4j:commandButton
+ * a4j:commandLink
+ * a4j:jsFunction
+ * a4j:push
+ * a4j:outputPanel
+ * a4j:status
+ * a4j:mediaOutput
+ * a4j:log
+Since A2
+ * a4j:poll
+ * a4j:param
+ * a4j:queue
+ * a4j:attachQueue
+ * a4j:repeat
+ * a4j:region
Modified: root/ui/iteration/trunk/readme.txt
===================================================================
--- root/ui/iteration/trunk/readme.txt 2010-06-01 15:24:43 UTC (rev 17452)
+++ root/ui/iteration/trunk/readme.txt 2010-06-01 15:37:15 UTC (rev 17453)
@@ -0,0 +1,9 @@
+This module contains of next components:
+
+
+dataTable
+extendedDataTablesubTable
+dataScroller
+subTableToggleControl
+columnGroup
+column
Modified: root/ui/misc/trunk/readme.txt
===================================================================
--- root/ui/misc/trunk/readme.txt 2010-06-01 15:24:43 UTC (rev 17452)
+++ root/ui/misc/trunk/readme.txt 2010-06-01 15:37:15 UTC (rev 17453)
@@ -0,0 +1,12 @@
+misc module contains of next set of components tags and behaviors:
+
+componentControl
+hashParam
+
+Also there are next functions:
+
+clientId
+element
+component
+isUserInRole
+findComponent
14 years, 7 months