Author: msorokin
Date: 2009-03-16 07:30:36 -0400 (Mon, 16 Mar 2009)
New Revision: 12959
Added:
trunk/test-applications/richfaces-docs/
trunk/test-applications/richfaces-docs/ear/
trunk/test-applications/richfaces-docs/ear/pom.xml
trunk/test-applications/richfaces-docs/ear/src/
trunk/test-applications/richfaces-docs/ear/src/main/
trunk/test-applications/richfaces-docs/ear/src/main/application/
trunk/test-applications/richfaces-docs/ear/src/main/application/security.drl
trunk/test-applications/richfaces-docs/ejb/
trunk/test-applications/richfaces-docs/ejb/pom.xml
trunk/test-applications/richfaces-docs/ejb/src/
trunk/test-applications/richfaces-docs/ejb/src/main/
trunk/test-applications/richfaces-docs/ejb/src/main/java/
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/domain/
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/domain/Person.java
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Manager.java
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/ManagerAction.java
trunk/test-applications/richfaces-docs/ejb/src/main/resources/
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/ejb-jar.xml
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/persistence.xml
trunk/test-applications/richfaces-docs/ejb/src/main/resources/components.properties
trunk/test-applications/richfaces-docs/ejb/src/main/resources/helloworld-ds.xml
trunk/test-applications/richfaces-docs/ejb/src/main/resources/import.sql
trunk/test-applications/richfaces-docs/ejb/src/main/resources/seam.properties
trunk/test-applications/richfaces-docs/pom.xml
trunk/test-applications/richfaces-docs/web/
trunk/test-applications/richfaces-docs/web/pom.xml
trunk/test-applications/richfaces-docs/web/src/
trunk/test-applications/richfaces-docs/web/src/main/
trunk/test-applications/richfaces-docs/web/src/main/java/
trunk/test-applications/richfaces-docs/web/src/main/java/org/
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/ColorPicker.java
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/Editor.java
trunk/test-applications/richfaces-docs/web/src/main/resources/
trunk/test-applications/richfaces-docs/web/src/main/resources/messages_en.properties
trunk/test-applications/richfaces-docs/web/src/main/webapp/
trunk/test-applications/richfaces-docs/web/src/main/webapp/META-INF/
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.pages.xml.spdia
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/components.xml
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/lib/
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/pages.xml
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/datatable.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/error.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/img/
trunk/test-applications/richfaces-docs/web/src/main/webapp/img/Thumbs.db
trunk/test-applications/richfaces-docs/web/src/main/webapp/img/dtpick.gif
trunk/test-applications/richfaces-docs/web/src/main/webapp/img/error.gif
trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/display.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/edit.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/
trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css
Log:
https://jira.jboss.org/jira/browse/RF-6419
Richfaces Docs Application
Added: trunk/test-applications/richfaces-docs/ear/pom.xml
===================================================================
--- trunk/test-applications/richfaces-docs/ear/pom.xml (rev 0)
+++ trunk/test-applications/richfaces-docs/ear/pom.xml 2009-03-16 11:30:36 UTC (rev
12959)
@@ -0,0 +1,96 @@
+<?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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>richfaces-docs</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>${projectName}-ear</artifactId>
+ <name>EAR module</name>
+ <packaging>ear</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>${projectName}-web</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-api</artifactId>
+ <version>${richfacesVersion}</version>
+ </dependency>
+
+ <!-- EJB -->
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ <version>${seamVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-pdf</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jboss</groupId>
+ <artifactId>javassist</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>${projectName}-ejb</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>ejb</type>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>${projectName}-ear-1.0-SNAPSHOT</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>2.3.1</version>
+ <configuration>
+ <generateApplicationXml>true</generateApplicationXml>
+ <includeJar>false</includeJar>
+ <defaultLibBundleDir>lib</defaultLibBundleDir>
+ <loader-repository>seam.jboss.org:loader=${project.build.finalName}</loader-repository>
+ <modules>
+ <webModule>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>${projectName}-web</artifactId>
+ <contextRoot>/${projectName}</contextRoot>
+ </webModule>
+ <ejbModule>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>${projectName}-ejb</artifactId>
+ </ejbModule>
+ </modules>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+</project>
Added: trunk/test-applications/richfaces-docs/ear/src/main/application/security.drl
===================================================================
--- trunk/test-applications/richfaces-docs/ear/src/main/application/security.drl
(rev 0)
+++
trunk/test-applications/richfaces-docs/ear/src/main/application/security.drl 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,6 @@
+package Permissions;
+
+import java.security.Principal;
+
+import org.jboss.seam.security.PermissionCheck;
+import org.jboss.seam.security.Role;
\ No newline at end of file
Property changes on:
trunk/test-applications/richfaces-docs/ear/src/main/application/security.drl
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/ejb/pom.xml
===================================================================
--- trunk/test-applications/richfaces-docs/ejb/pom.xml (rev 0)
+++ trunk/test-applications/richfaces-docs/ejb/pom.xml 2009-03-16 11:30:36 UTC (rev
12959)
@@ -0,0 +1,147 @@
+<?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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>richfaces-docs</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>${projectName}-ejb</artifactId>
+ <name>EJB module</name>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>ejb</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-remoting</artifactId>
+ <version>${seamVersion}</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>javassist</artifactId>
+ <groupId>jboss</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-ui</artifactId>
+ <version>${seamVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-debug</artifactId>
+ <version>${seamVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-pdf</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>${faceletsVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-impl</artifactId>
+ <version>${richfacesVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui</artifactId>
+ <version>${richfacesVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-core</artifactId>
+ <version>${droolsVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-compiler</artifactId>
+ <version>${droolsVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.ejb</groupId>
+ <artifactId>ejb-api</artifactId>
+ <version>3.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>persistence-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>3.0.0.ga</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Added:
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/domain/Person.java
===================================================================
---
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/domain/Person.java
(rev 0)
+++
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/domain/Person.java 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,38 @@
+package org.richfaces.helloworld.domain;
+
+import java.io.Serializable;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+
+import org.jboss.seam.annotations.Name;
+
+@Entity
+@Name("person")
+public class Person implements Serializable {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+ private long id;
+ private String name;
+
+ @Id
+ @GeneratedValue
+ public long getId() {
+ return id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
\ No newline at end of file
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/domain/Person.java
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java
===================================================================
---
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java
(rev 0)
+++
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,26 @@
+package org.richfaces.helloworld.service;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.security.Identity;
+
+
+@Name("authenticator")
+public class Authenticator
+{
+ @Logger Log log;
+
+ @In Identity identity;
+
+ public boolean authenticate()
+ {
+ log.info("authenticating #0", identity.getUsername());
+ //write your authentication logic here,
+ //return true if the authentication was
+ //successful, false otherwise
+ identity.addRole("admin");
+ return true;
+ }
+}
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Manager.java
===================================================================
---
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Manager.java
(rev 0)
+++
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Manager.java 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,8 @@
+package org.richfaces.helloworld.service;
+
+import javax.ejb.Local;
+
+@Local
+public interface Manager {
+ public String sayHello();
+}
\ No newline at end of file
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/Manager.java
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/ManagerAction.java
===================================================================
---
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/ManagerAction.java
(rev 0)
+++
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/ManagerAction.java 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,30 @@
+package org.richfaces.helloworld.service;
+
+import java.util.List;
+
+import javax.ejb.Stateless;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Out;
+import org.richfaces.helloworld.domain.Person;
+
+@Stateless
+@Name("manager")
+public class ManagerAction implements Manager {
+ @In @Out
+ private Person person;
+ @Out
+ private List<Person> fans;
+ @PersistenceContext
+ private EntityManager em;
+
+ public String sayHello() {
+ em.persist(person);
+ person = new Person();
+ fans = em.createQuery("select p from Person p").getResultList();
+ return null;
+ }
+}
\ No newline at end of file
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/java/org/richfaces/helloworld/service/ManagerAction.java
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/ejb-jar.xml
===================================================================
--- trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/ejb-jar.xml
(rev 0)
+++
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/ejb-jar.xml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
+ version="3.0">
+
+ <interceptors>
+ <interceptor>
+
<interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
+ </interceptor>
+ </interceptors>
+
+ <assembly-descriptor>
+ <interceptor-binding>
+ <ejb-name>*</ejb-name>
+
<interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
+ </interceptor-binding>
+ </assembly-descriptor>
+
+</ejb-jar>
\ No newline at end of file
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/persistence.xml
===================================================================
---
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/persistence.xml
(rev 0)
+++
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/persistence.xml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Persistence deployment descriptor for dev profile -->
+<persistence
xmlns="http://java.sun.com/xml/ns/persistence"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <persistence-unit name="helloworld">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <jta-data-source>java:/helloworldDatasource</jta-data-source>
+ <properties>
+ <property name="hibernate.dialect"
value="org.hibernate.dialect.HSQLDialect"/>
+ <property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
+ <property name="hibernate.show_sql" value="true"/>
+ <property name="hibernate.format_sql" value="true"/>
+ <property name="jboss.entity.manager.factory.jndi.name"
value="java:/helloworldEntityManagerFactory"/>
+ </properties>
+ </persistence-unit>
+
+</persistence>
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/resources/META-INF/persistence.xml
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/ejb/src/main/resources/components.properties
===================================================================
--- trunk/test-applications/richfaces-docs/ejb/src/main/resources/components.properties
(rev 0)
+++
trunk/test-applications/richfaces-docs/ejb/src/main/resources/components.properties 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,4 @@
+#
+#Mon Sep 15 14:29:32 EEST 2008
+jndiPattern=${deployName}-ear-1.0-SNAPSHOT/#{ejbName}/local
+embeddedEjb=false
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/resources/components.properties
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/ejb/src/main/resources/helloworld-ds.xml
===================================================================
--- trunk/test-applications/richfaces-docs/ejb/src/main/resources/helloworld-ds.xml
(rev 0)
+++
trunk/test-applications/richfaces-docs/ejb/src/main/resources/helloworld-ds.xml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE datasources
+ PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
+
+<datasources>
+
+ <local-tx-datasource>
+ <jndi-name>helloworldDatasource</jndi-name>
+ <connection-url>jdbc:hsqldb:.</connection-url>
+ <driver-class>org.hsqldb.jdbcDriver</driver-class>
+ <user-name>sa</user-name>
+ <password></password>
+<!--
+ <exception-sorter-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
+ </exception-sorter-class-name>
+ <metadata>
+ <type-mapping>mySQL</type-mapping>
+ </metadata>
+-->
+ </local-tx-datasource>
+
+</datasources>
+
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/resources/helloworld-ds.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/ejb/src/main/resources/import.sql
===================================================================
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/resources/import.sql
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/ejb/src/main/resources/seam.properties
===================================================================
Property changes on:
trunk/test-applications/richfaces-docs/ejb/src/main/resources/seam.properties
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/pom.xml
===================================================================
--- trunk/test-applications/richfaces-docs/pom.xml (rev 0)
+++ trunk/test-applications/richfaces-docs/pom.xml 2009-03-16 11:30:36 UTC (rev 12959)
@@ -0,0 +1,94 @@
+<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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>richfaces-docs</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>richfaces-docs</name>
+ <properties>
+ <projectName>richfaces-docs</projectName>
+ <richfacesVersion>3.3.1-SNAPSHOT</richfacesVersion>
+ <seamVersion>2.0.1.GA</seamVersion>
+
+ <droolsVersion>4.0.0</droolsVersion>
+ <faceletsVersion>1.1.14</faceletsVersion>
+
+ </properties>
+ <repositories>
+
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>Snapshot Jboss Repository for Maven</name>
+ <
url>http://snapshots.jboss.org/maven2/</url>
+ </repository>
+
+<repository>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <
url>http://repository.jboss.com/maven2/</url>
+ </repository>
+
+
+
+
+
+ <repository>
+ <id>repository.exadel.com</id>
+ <name>Exadel Maven 2 Repository</name>
+ <
url>http://repository.exadel.com/</url>
+ </repository>
+
+
+ </repositories>
+
+ <modules>
+ <module>ear</module>
+ <module>ejb</module>
+ <module>web</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ <downloadJavadocs>false</downloadJavadocs>
+ <projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
+ <wtpmanifest>true</wtpmanifest>
+ <wtpapplicationxml>true</wtpapplicationxml>
+ <wtpversion>2.0</wtpversion>
+ <classpathContainers>
+ <classpathContainer>org.eclipse.jdt.launching.JDK_CONTAINER</classpathContainer>
+ </classpathContainers>
+ </configuration>
+ </plugin>
+
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
Property changes on: trunk/test-applications/richfaces-docs/pom.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/pom.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/pom.xml (rev 0)
+++ trunk/test-applications/richfaces-docs/web/pom.xml 2009-03-16 11:30:36 UTC (rev
12959)
@@ -0,0 +1,20 @@
+<?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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>richfaces-docs</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>${projectName}-web</artifactId>
+ <name>WAR module</name>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>war</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/ColorPicker.java
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/ColorPicker.java
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/ColorPicker.java 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,45 @@
+package org.docs;
+
+public class ColorPicker {
+
+ String value;
+
+ String showEvent;
+
+ String colorMode;
+
+ String flat;
+
+ public String getValue() {
+ return value;
+ }
+ public void setValue(String value) {
+ this.value = value;
+ }
+ public String getShowEvent() {
+ return showEvent;
+ }
+ public void setShowEvent(String showEvent) {
+ this.showEvent = showEvent;
+ }
+ public String getColorMode() {
+ return colorMode;
+ }
+ public void setColorMode(String colorMode) {
+ this.colorMode = colorMode;
+ }
+ public String getFlat() {
+ return flat;
+ }
+ public void setFlat(String flat) {
+ this.flat = flat;
+ }
+
+
+
+
+
+
+
+
+}
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/ColorPicker.java
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/Editor.java
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/Editor.java
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/Editor.java 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,18 @@
+package org.docs;
+
+public class Editor {
+
+ String edit;
+
+ public String getEdit() {
+ return edit;
+ }
+
+ public void setEdit(String edit) {
+ this.edit = edit;
+ }
+
+
+
+
+}
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/Editor.java
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/web/src/main/resources/messages_en.properties
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/resources/messages_en.properties
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/resources/messages_en.properties 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,90 @@
+up=\u2191
+down=\u2193
+left=\u2039
+right=\u203A
+
+validator.assertFalse=validation failed
+validator.assertTrue=validation failed
+validator.future=must be a future date
+validator.length=length must be between {min} and {max}
+validator.max=must be less than or equal to {value}
+validator.min=must be greater than or equal to {value}
+validator.notNull=may not be null
+validator.past=must be a past date
+validator.pattern=must match "{regex}"
+validator.range=must be between {min} and {max}
+validator.size=size must be between {min} and {max}
+validator.email=must be a well-formed email address
+
+org.jboss.seam.loginFailed=Login failed
+org.jboss.seam.loginSuccessful=Welcome, #0
+
+org.jboss.seam.TransactionFailed=Transaction failed
+org.jboss.seam.NoConversation=The conversation ended, timed out or was processing another
request
+org.jboss.seam.IllegalNavigation=Illegal navigation
+org.jboss.seam.ProcessEnded=Process #0 already ended
+org.jboss.seam.ProcessNotFound=Process #0 not found
+org.jboss.seam.TaskEnded=Task #0 already ended
+org.jboss.seam.TaskNotFound=Task #0 not found
+org.jboss.seam.NotLoggedIn=Please log in first
+
+javax.faces.component.UIInput.CONVERSION=value could not be converted to the expected
type
+javax.faces.component.UIInput.REQUIRED=value is required
+javax.faces.component.UIInput.UPDATE=an error occurred when processing your submitted
information
+javax.faces.component.UISelectOne.INVALID=value is not valid
+javax.faces.component.UISelectMany.INVALID=value is not valid
+
+javax.faces.converter.BigDecimalConverter.DECIMAL=value must be a number
+javax.faces.converter.BigDecimalConverter.DECIMAL_detail=value must be a signed decimal
number consisting of zero or more digits, optionally followed by a decimal point and
fraction, eg. {1}
+javax.faces.converter.BigIntegerConverter.BIGINTEGER=value must be an integer
+javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed
integer number consisting of zero or more digits
+javax.faces.converter.BooleanConverter.BOOLEAN=value must be true or false
+javax.faces.converter.BooleanConverter.BOOLEAN_detail=value must be true or false (any
value other than true will evaluate to false)
+javax.faces.converter.ByteConverter.BYTE=value must be a number between 0 and 255
+javax.faces.converter.ByteConverter.BYTE_detail=value must be a number between 0 and 255
+javax.faces.converter.CharacterConverter.CHARACTER=value must be a character
+javax.faces.converter.CharacterConverter.CHARACTER_detail=value must be a valid ASCII
character
+javax.faces.converter.DateTimeConverter.DATE=value must be a date
+javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1}
+javax.faces.converter.DateTimeConverter.TIME=value must be a time
+javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1}
+javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time
+javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time,
eg. {1}
+javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be
specified to convert the value
+javax.faces.converter.DoubleConverter.DOUBLE=value must be a number
+javax.faces.converter.DoubleConverter.DOUBLE_detail=value must be a number between
4.9E-324 and 1.7976931348623157E308
+javax.faces.converter.EnumConverter.ENUM=value must be convertible to an enum
+javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum or
from the enum that contains the constant {1}
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum or
from the enum, but no enum class provided
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an
enum or from the enum, but no enum class provided
+javax.faces.converter.FloatConverter.FLOAT=value must be a number
+javax.faces.converter.FloatConverter.FLOAT_detail=value must be a number between 1.4E-45
and 3.4028235E38
+javax.faces.converter.IntegerConverter.INTEGER=value must be an integer
+javax.faces.converter.IntegerConverter.INTEGER_detail=value must be an integer number
between -2147483648 and 2147483647
+javax.faces.converter.LongConverter.LONG=value must be an integer
+javax.faces.converter.LongConverter.LONG_detail=must be an integer number between
-9223372036854775808 and 9223372036854775807
+javax.faces.converter.NumberConverter.CURRENCY=value must be a currency amount
+javax.faces.converter.NumberConverter.CURRENCY_detail=value must be a currency amount,
eg. {1}
+javax.faces.converter.NumberConverter.PERCENT=value must be a percentage amount
+javax.faces.converter.NumberConverter.PERCENT_detail=value must be a percentage amount,
eg. {1}
+javax.faces.converter.NumberConverter.NUMBER=value must be a number
+javax.faces.converter.NumberConverter.NUMBER_detail=value must be a number
+javax.faces.converter.NumberConverter.PATTERN=value must be a number
+javax.faces.converter.NumberConverter.PATTERN_detail=value must be a number
+javax.faces.converter.ShortConverter.SHORT=value must be an integer
+javax.faces.converter.ShortConverter.SHORT_detail=value must be an integer number between
-32768 and 32767
+
+javax.faces.validator.DoubleRangeValidator.MAXIMUM=value must be less than or equal to
{0}
+javax.faces.validator.DoubleRangeValidator.MINIMUM=value must be greater than or equal to
{0}
+javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=value must be between {0} and
{1}
+javax.faces.validator.DoubleRangeValidator.TYPE=value is not of the correct type
+javax.faces.validator.LengthValidator.MAXIMUM=value is must be shorter than or equal to
{0} characters
+javax.faces.validator.LengthValidator.MINIMUM=value is must be longer than or equal to
{0} characters
+javax.faces.validator.LongRangeValidator.MAXIMUM=value must be less than or equal to {0}
+javax.faces.validator.LongRangeValidator.MINIMUM=value must be greater than or equal to
{0}
+javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.validator.LongRangeValidator.TYPE=value is not of the correct type
+
+javax.faces.validator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.converter.STRING=value could not be converted to a string
+
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/resources/messages_en.properties
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia
===================================================================
---
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS model-entity="JSFProcess"/>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.faces-config.xml.jsfdia
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.pages.xml.spdia
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.pages.xml.spdia
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.pages.xml.spdia 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<diagram model-entity="SeamPagesDiagram">
+ <item ID="*" NAME="*" PATH="*"
SHAPE="24,17,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/home.xhtml" NAME="output"
PATH="/home.xhtml"
+ TARGET="#xhome.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="org.jboss.seam.framework.EntityNotFoundException"
+ NAME="exception:org.jboss.seam.framework.EntityNotFoundException"
+ PATH="org.jboss.seam.framework.EntityNotFoundException"
+ SHAPE="24,121,0,0" TYPE="exception"
model-entity="SeamPagesDiagramItem">
+ <output ID="/error.xhtml" NAME="output"
PATH="/error.xhtml"
+ TARGET="#xerror.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="javax.persistence.EntityNotFoundException"
+ NAME="exception:javax.persistence.EntityNotFoundException"
+ PATH="javax.persistence.EntityNotFoundException"
SHAPE="24,225,0,0"
+ TYPE="exception" model-entity="SeamPagesDiagramItem">
+ <output ID="/error.xhtml" NAME="output"
PATH="/error.xhtml"
+ TARGET="#xerror.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="javax.persistence.OptimisticLockException"
+ NAME="exception:javax.persistence.OptimisticLockException"
+ PATH="javax.persistence.OptimisticLockException"
SHAPE="24,329,0,0"
+ TYPE="exception" model-entity="SeamPagesDiagramItem">
+ <output ID="/error.xhtml" NAME="output"
PATH="/error.xhtml"
+ TARGET="#xerror.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="org.jboss.seam.security.AuthorizationException"
+ NAME="exception:org.jboss.seam.security.AuthorizationException"
+ PATH="org.jboss.seam.security.AuthorizationException"
+ SHAPE="24,433,0,0" TYPE="exception"
model-entity="SeamPagesDiagramItem">
+ <output ID="/error.xhtml" NAME="output"
PATH="/error.xhtml"
+ TARGET="#xerror.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="org.jboss.seam.security.NotLoggedInException"
+ NAME="exception:org.jboss.seam.security.NotLoggedInException"
+ PATH="org.jboss.seam.security.NotLoggedInException"
SHAPE="24,745,0,0"
+ TYPE="exception" model-entity="SeamPagesDiagramItem">
+ <output ID="/login.xhtml" NAME="output"
PATH="/login.xhtml"
+ TARGET="#xlogin.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="javax.faces.application.ViewExpiredException"
+ NAME="exception:javax.faces.application.ViewExpiredException"
+ PATH="javax.faces.application.ViewExpiredException"
SHAPE="24,537,0,0"
+ TYPE="exception" model-entity="SeamPagesDiagramItem">
+ <output ID="/error.xhtml" NAME="output"
PATH="/error.xhtml"
+ TARGET="#xerror.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item NAME="exception:" SHAPE="24,641,0,0"
TYPE="exception" model-entity="SeamPagesDiagramItem">
+ <output ID="/error.xhtml" NAME="output"
PATH="/error.xhtml"
+ TARGET="#xerror.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item NAME="#xhome.xhtml" PATH="/home.xhtml"
SHAPE="344,17,0,0"
+ TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item NAME="#xlogin.xhtml" PATH="/login.xhtml"
SHAPE="344,745,0,0"
+ TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item NAME="#xerror.xhtml" PATH="/error.xhtml"
SHAPE="472,121,0,0"
+ TYPE="page" model-entity="SeamPagesDiagramItem"/>
+</diagram>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/.pages.xml.spdia
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/components.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/components.xml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/components.xml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<components
xmlns="http://jboss.com/products/seam/components"
+
xmlns:core="http://jboss.com/products/seam/core"
+
xmlns:persistence="http://jboss.com/products/seam/persistence"
+
xmlns:drools="http://jboss.com/products/seam/drools"
+
xmlns:bpm="http://jboss.com/products/seam/bpm"
+
xmlns:security="http://jboss.com/products/seam/security"
+
xmlns:mail="http://jboss.com/products/seam/mail"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://jboss.com/products/seam/core
http://jboss.com/products/seam/core-2.0.xsd
+
http://jboss.com/products/seam/persistence
http://jboss.com/products/seam/persistence-2.0.xsd
+
http://jboss.com/products/seam/drools
http://jboss.com/products/seam/drools-2.0.xsd
+
http://jboss.com/products/seam/bpm
http://jboss.com/products/seam/bpm-2.0.xsd
+
http://jboss.com/products/seam/security
http://jboss.com/products/seam/security-2.0.xsd
+
http://jboss.com/products/seam/mail
http://jboss.com/products/seam/mail-2.0.xsd
+
http://jboss.com/products/seam/components
http://jboss.com/products/seam/components-2.0.xsd">
+
+ <core:init debug="true" jndi-pattern="@jndiPattern@"/>
+
+ <core:manager concurrent-request-timeout="500"
+ conversation-timeout="120000"
+ conversation-id-parameter="cid"/>
+
+ <persistence:managed-persistence-context name="entityManager"
+ auto-create="true"
+
persistence-unit-jndi-name="java:/helloworldEntityManagerFactory"/>
+
+<drools:rule-base name="securityRules">
+ <drools:rule-files>
+ <value>/security.drl</value>
+ </drools:rule-files>
+ </drools:rule-base>
+
+ <security:identity security-rules="#{securityRules}"
authenticate-method="#{authenticator.authenticate}"
remember-me="true"/>
+
+ <event type="org.jboss.seam.security.notLoggedIn">
+ <action execute="#{redirect.captureCurrentView}"/>
+ </event>
+ <event type="org.jboss.seam.security.loginSuccessful">
+ <action execute="#{redirect.returnToCapturedView}"/>
+ </event>
+
+</components>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/components.xml
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xi="http://www.w3.org/2001/XInclude"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+ <managed-bean>
+ <managed-bean-name>editor</managed-bean-name>
+ <managed-bean-class>org.docs.Editor</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>edit</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>colorPicker</managed-bean-name>
+ <managed-bean-class>org.docs.ColorPicker</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>colorMode</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>flat</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>showEvent</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>value</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <application>
+ <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
+ <locale-config>
+ <default-locale>en</default-locale>
+ <supported-locale>bg</supported-locale>
+ <supported-locale>de</supported-locale>
+ <supported-locale>en</supported-locale>
+ <supported-locale>fr</supported-locale>
+ <supported-locale>tr</supported-locale>
+ </locale-config>
+ </application>
+</faces-config>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/pages.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/pages.xml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/pages.xml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pages
xmlns="http://jboss.com/products/seam/pages"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://jboss.com/products/seam/pages
http://jboss.com/products/seam/pages-2.0.xsd"
+
+ no-conversation-view-id="/home.xhtml">
+
+ <page view-id="*">
+ <navigation>
+ <rule if-outcome="home">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <exception class="org.jboss.seam.framework.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.OptimisticLockException">
+ <end-conversation/>
+ <redirect view-id="/error.xhtml">
+ <message>Another user changed the same data, please try
again</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.AuthorizationException">
+ <redirect view-id="/error.xhtml">
+ <message>You don't have permission to do this</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.NotLoggedInException">
+ <redirect view-id="/login.xhtml">
+ <message>Please log in first</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.faces.application.ViewExpiredException">
+ <redirect view-id="/error.xhtml">
+ <message>Your session has timed out, please try again</message>
+ </redirect>
+ </exception>
+
+ <exception>
+ <redirect view-id="/error.xhtml">
+ <message>Unexpected error, please try again</message>
+ </redirect>
+ </exception>
+
+</pages>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/pages.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,86 @@
+<?xml version="1.0" ?>
+<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ version="2.5">
+
+ <!-- Ajax4jsf -->
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>ajax4jsf</filter-name>
+ <url-pattern>*.seam</url-pattern>
+ </filter-mapping>
+
+ <context-param>
+ <param-name>org.richfaces.SKIN</param-name>
+ <param-value>blueSky</param-value>
+ </context-param>
+
+ <!-- Seam -->
+
+ <listener>
+ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+ </listener>
+
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <servlet>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+
<servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <url-pattern>/seam/resource/*</url-pattern>
+ </servlet-mapping>
+
+ <!-- Facelets development mode (disable in production) -->
+
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <!-- JSF -->
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.seam</url-pattern>
+ </servlet-mapping>
+
+ <security-constraint>
+ <display-name>Restrict raw XHTML Documents</display-name>
+ <web-resource-collection>
+ <web-resource-name>XHTML</web-resource-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </web-resource-collection>
+ <auth-constraint/>
+ </security-constraint>
+
+
+
+</web-app>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,29 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">The rich:colorPicker component</f:facet>
+
+ <h:form>
+ <rich:colorPicker value="#{colorPicker.value}"
colorMode="hex" />
+ <h:commandButton value="Submit" />
+
+ </h:form>
+ <h:outputText value="#{colorPicker.value}" />
+
+ </rich:panel>
+
+
+</ui:define>
+</ui:composition>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/datatable.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/datatable.xhtml
(rev 0)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/datatable.xhtml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,27 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
template="layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message" />
+ <h:form>
+ Please enter your name:<br />
+ <h:inputText value="#{person.name}" size="15" />
+ <br />
+ <h:commandButton type="submit" value="Say Hello"
+ action="#{manager.sayHello}" />
+ </h:form>
+ <h:dataTable value="#{fans}" var="fan">
+ <h:column>
+ <h:outputText value="#{fan.name}" />
+ </h:column>
+ </h:dataTable>
+
+ </ui:define>
+</ui:composition>
\ No newline at end of file
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/datatable.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/error.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/error.xhtml
(rev 0)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/error.xhtml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,18 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Error</h1>
+ <p>Something bad happened :-(</p>
+
+ <h:messages styleClass="message"/>
+
+</ui:define>
+</ui:composition>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/error.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml
(rev 0)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,39 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">Welcome!</f:facet>
+ <p>This empty shell application includes:</p>
+ <ul>
+
+ <li>Ant build script</li>
+ <li>Deployment to JBoss AS (EAR or WAR)</li>
+ <li>Development and production profiles</li>
+ <li>Integration testing using TestNG and Embedded JBoss</li>
+ <li>JavaBean or EJB 3.0 Seam components</li>
+ <li>JPA entity classes</li>
+ <li>A configurable DataSource and JPA EntityManager</li>
+ <li>Templated Facelets views</li>
+ <li>RichFaces panels and tables</li>
+ <li>Default CSS stylesheet</li>
+ <li>Internationalization support</li>
+
+ </ul>
+ <rich:colorPicker value="" />
+
+
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/img/Thumbs.db
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/img/Thumbs.db
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/img/dtpick.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/img/dtpick.gif
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/img/error.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/img/error.gif
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html
(rev 0)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.seam">
+</head>
+</html>
\ No newline at end of file
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/display.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/display.xhtml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/display.xhtml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,16 @@
+<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:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+ <span class="name">
+ <ui:insert name="label"/>
+ </span>
+ <span class="value">
+ <ui:insert/>
+ </span>
+ </div>
+
+</ui:composition>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/display.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/edit.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/edit.xhtml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/edit.xhtml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,27 @@
+<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:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+
+ <s:label styleClass="name
#{invalid?'errors':''}">
+ <ui:insert name="label"/>
+ <s:span styleClass="required"
rendered="#{required}">*</s:span>
+ </s:label>
+
+ <span class="value #{invalid?'errors':''}">
+ <s:validateAll>
+ <ui:insert/>
+ </s:validateAll>
+ </span>
+
+ <span class="error">
+ <h:graphicImage value="/img/error.gif"
rendered="#{invalid}" styleClass="errors"/>
+ <s:message styleClass="errors"/>
+ </span>
+
+ </div>
+
+</ui:composition>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/edit.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,19 @@
+<rich:toolBar
+
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:s="http://jboss.com/products/seam/taglib"
+
xmlns:rich="http://richfaces.org/rich">
+ <rich:toolBarGroup>
+ <h:outputText value="#{projectName}:"/>
+ <s:link view="/home.xhtml" value="Home"/>
+
+ </rich:toolBarGroup>
+ <!-- @newMenuItem@ -->
+ <rich:toolBarGroup location="right">
+
+
+ <s:link view="/home.xhtml" action="#{identity.logout}"
value="Logout" rendered="#{identity.loggedIn}"/>
+ </rich:toolBarGroup>
+</rich:toolBar>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,30 @@
+<!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:s="http://jboss.com/products/seam/taglib">
+<head>
+ <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
+ <title>RichFaces Docs</title>
+ <link href="stylesheet/theme.css" rel="stylesheet"
type="text/css" />
+</head>
+
+<body>
+
+ <ui:include src="menu.xhtml">
+ <ui:param name="projectName" value="RichFaces Docs"/>
+ </ui:include>
+
+ <div class="body">
+ <ui:insert name="body"/>
+ </div>
+
+ <div class="footer">
+ Powered by <a
href="http://jboss.com/products/seam">Seam</a>.
+ Generated by seam-gen.
+ </div>
+
+</body>
+</html>
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css 2009-03-16
11:30:36 UTC (rev 12959)
@@ -0,0 +1,117 @@
+body {
+ font-size: 12px;
+}
+
+a:active, a:link, a:visited {
+ color: #0D5798;
+}
+a:hover {
+ color: #8CAFCD;
+}
+
+input, textarea {
+ border: 1px solid #BBBBBB;
+ font-size: 10px;
+ background: #F0F8FF;
+ color: black;
+}
+
+input[type='submit'], input[type='button'] {
+ background: #4477AA;
+ color: white;
+ margin: 5px;
+ border-color: gray;
+}
+
+.tableControl, .actionButtons {
+ width: 100%;
+}
+
+.tableControl a {
+ padding-left: 10px;
+}
+
+.tableControl {
+ text-align: right;
+}
+
+.footer {
+ text-align: center;
+ font-size: 10px;
+}
+
+.rich-table {
+ width:100%;
+}
+
+h1 {
+ font-family: Arial,sans-serif;
+ color: #578BB8;
+ font-size: 1.6em;
+ margin-top: 0;
+}
+
+body {
+ margin: 0px;
+ font-family: Arial,sans-serif;
+ color: #616161;
+}
+
+.body {
+ padding: 30px;
+}
+
+.columnHeader:hover
+{
+ color: #FF6600;
+}
+
+.message {
+ border: 1px solid #FFCC00;
+ padding: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: #F0F8FF;
+ font-size: 12px;
+}
+
+.name {
+ vertical-align: top;
+ font-weight: bold;
+ width: 115px;
+ float: left;
+ padding: 5px;
+ margin-top: 3px;
+ clear: left;
+}
+.value {
+ float: left;
+ padding: 5px;
+}
+
+.error {
+ float: left;
+ padding: 5px;
+}
+.errors {
+ color: red;
+ vertical-align: middle;
+}
+img.errors {
+ padding-right: 5px;
+}
+.errors input {
+ border: 1px solid red;
+}
+.errors textarea {
+ border: 1px solid red;
+}
+
+.required {
+ color: red;
+ padding-left: 2px;
+}
+
+.rich-stglpanel-body {
+ overflow: auto;
+}
Property changes on:
trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css
___________________________________________________________________
Name: svn:executable
+ *