geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r938800 - in /geronimo/samples/trunk/samples/javaee6: ./ converter-javaee6/ converter-javaee6/converter-javaee6-jetty/ converter-javaee6/converter-javaee6-jetty/src/ converter-javaee6/converter-javaee6-jetty/src/main/ converter-javaee6/conv...
Date Wed, 28 Apr 2010 06:50:59 GMT
Author: xiaming
Date: Wed Apr 28 06:50:58 2010
New Revision: 938800

URL: http://svn.apache.org/viewvc?rev=938800&view=rev
Log:
GERONIMO-5272 A sample to demo JSF and AJAX interaction

Added:
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/pom.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/plan.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/pom.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/plan.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/header.html   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.html   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.xhtml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/sample-docu.jsp   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/pom.xml   (with props)
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/src/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/src/main/
    geronimo/samples/trunk/samples/javaee6/converter-javaee6/src/main/resources/
Modified:
    geronimo/samples/trunk/samples/javaee6/pom.xml

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/pom.xml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/pom.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/pom.xml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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.apache.geronimo.samples</groupId>
+        <artifactId>converter-javaee6</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>converter-javaee6-jetty</artifactId>
+    <name>Geronimo Samples :: converter-javaee6 Plugin for Jetty</name>
+    <packaging>car</packaging>
+
+    <description>Geronimo Samples. converter-javaee6 Plugin for Jetty</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>converter-javaee6-ear</artifactId>
+            <version>${version}</version>
+            <type>war</type>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>${jetty}-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>openejb-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>persistence-jpa20-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+        
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.buildsupport</groupId>
+                <artifactId>car-maven-plugin</artifactId>
+                <configuration>
+                    <deploymentConfigs>
+                        <deploymentConfig>${gbeanDeployer}</deploymentConfig>
+                        <deploymentConfig>${j2eeDeployer}</deploymentConfig>
+                        <deploymentConfig>${jettyDeployer}</deploymentConfig>
+                        <deploymentConfig>${jasperDeployer}</deploymentConfig>
+                        <deploymentConfig>${openejbDeployer}</deploymentConfig>
+                        <deploymentConfig>${jpaDeployer}</deploymentConfig>
+                    </deploymentConfigs>
+                    <module>
+                        <groupId>org.apache.geronimo.samples</groupId>
+                        <artifactId>converter-javaee6-ear</artifactId>
+                        <version>${version}</version>
+                        <type>war</type>
+                    </module>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
+

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/plan.xml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/plan.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/plan.xml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
+         xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+         xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
+         xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+  <sys:environment>
+    <sys:moduleId>
+      <sys:groupId>${pom.groupId}</sys:groupId>
+      <sys:artifactId>converter-javaee6</sys:artifactId>
+      <sys:version>${version}</sys:version>
+      <sys:type>car</sys:type>
+    </sys:moduleId>
+    <sys:dependencies/>
+    <sys:hidden-classes/>
+    <sys:non-overridable-classes/>
+  </sys:environment>
+
+  <context-root>/converter-javaee6</context-root>
+
+</web-app>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/pom.xml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/pom.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/pom.xml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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.apache.geronimo.samples</groupId>
+        <artifactId>converter-javaee6</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>converter-javaee6-tomcat</artifactId>
+    <name>Geronimo Samples :: converter-javaee6 Plugin for Tomcat</name>
+    <packaging>car</packaging>
+
+    <description>Geronimo Samples. converter-javaee6 Plugin for Tomcat</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>converter-javaee6-war</artifactId>
+            <version>${version}</version>
+            <type>war</type>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>tomcat7-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>openejb-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>persistence-jpa20-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+        
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.buildsupport</groupId>
+                <artifactId>car-maven-plugin</artifactId>
+                <configuration>
+                    <deploymentConfigs>
+                        <deploymentConfig>${gbeanDeployer}</deploymentConfig>
+                        <deploymentConfig>${j2eeDeployer}</deploymentConfig>
+                        <deploymentConfig>${tomcatDeployer}</deploymentConfig>
+                        <deploymentConfig>${jasperDeployer}</deploymentConfig>
+                        <deploymentConfig>${openejbDeployer}</deploymentConfig>
+                        <deploymentConfig>${jpaDeployer}</deploymentConfig>
+                    </deploymentConfigs>
+                    <module>
+                        <groupId>org.apache.geronimo.samples</groupId>
+                        <artifactId>converter-javaee6-ear</artifactId>
+                        <version>${version}</version>
+                        <type>war</type>
+                    </module>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+</project>
+

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/plan.xml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/plan.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/plan.xml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" 
+         xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2" 
+         xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" 
+         xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+  <sys:environment>
+    <sys:moduleId>
+      <sys:groupId>org.apache.geronimo.samples</sys:groupId>
+      <sys:artifactId>converter-javaee6</sys:artifactId>
+      <sys:version>${version}</sys:version>
+      <sys:type>car</sys:type>
+    </sys:moduleId>
+    <sys:dependencies/>
+    <sys:hidden-classes/>
+    <sys:non-overridable-classes/>
+  </sys:environment>
+
+  <context-root>/converter-javaee6</context-root>
+
+</web-app>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to you under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
+
+	<!--
+		$Rev$ $Date$
+	-->
+
+<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.apache.geronimo.samples</groupId>
+		<artifactId>converter-javaee6</artifactId>
+		<version>3.0-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>converter-javaee6-war</artifactId>
+	<name>Geronimo Samples :: converter-javaee6 :: WAR</name>
+	<packaging>war</packaging>
+
+	<description>Geronimo Samples. WEB Module</description>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.myfaces.core</groupId>
+			<artifactId>myfaces-api</artifactId>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-jpa_2.0_spec</artifactId>
+			<scope>provided</scope>
+		</dependency>
+	</dependencies>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<id>copy-parent-site</id>
+						<goals>
+							<goal>run</goal>
+						</goals>
+						<configuration>
+							<tasks>
+								<echo>Copying site directory from parent</echo>
+								<copy
+									todir="${project.build.directory}/${pom.artifactId}-3.0-SNAPSHOT"
+									failonerror="false" overwrite="true">
+									<fileset dir="${pom.basedir}/../docs" />
+								</copy>
+							</tasks>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-war-plugin</artifactId>
+				<configuration>
+					<archiveClasses>false</archiveClasses>                    
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>	
+</project>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java Wed Apr 28 06:50:58 2010
@@ -0,0 +1,39 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.samples.javaee6.converter;
+
+public class ConvertedValue {
+	private String name;
+	private double actualValue;
+
+	public double getActualValue() {
+		return actualValue;
+	}
+
+	public void setActualVaule(double actualValue) {
+		this.actualValue = actualValue;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+
+}

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java Wed Apr 28 06:50:58 2010
@@ -0,0 +1,104 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.samples.javaee6.converter;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Resource;
+import javax.faces.bean.ManagedBean;
+import javax.faces.bean.RequestScoped;
+import javax.faces.event.ActionEvent;
+
+@ManagedBean(name = "ConverterBean")
+@RequestScoped
+public class ConverterBean {
+	
+	private String inf = "Hide the rate table";
+	private String msg = "Hello@ConverterBean";
+	private String value = "1.0";
+	private List<ConvertedValue> convertedList;
+	private List<Currency> currencyList;
+	private Boolean render = false;
+
+	public String getMsg() {
+		return msg;
+	}
+
+	public Boolean getRender() {
+		return render;
+	}
+
+	@SuppressWarnings( { "UnusedDeclaration" })
+	public void toggle(ActionEvent ae) {
+		render = !render;
+	}
+
+	public void setMsg(String msg) {
+		this.msg = msg;
+	}
+
+	public List getConvertedList() {
+		return this.convertedList;
+	}
+
+	private void setConvertedList() {
+		this.convertedList = new ArrayList();
+
+		for (Currency currency : currencyList) {
+			ConvertedValue cv = new ConvertedValue();
+			cv.setName("<" + currency.getName() + ">");
+			cv.setActualVaule(Double.parseDouble(value) / currency.getRate());
+			this.convertedList.add(cv);
+		}
+	}
+
+	public List getCurrencyList() {
+		return currencyList;
+	}
+
+	public void setCurrencyList(List currencyList) {
+		this.currencyList = currencyList;
+		setConvertedList();
+	}
+
+	/** Creates a new instance of ConverterBean */
+	public ConverterBean() {
+		this.currencyList = new ArrayList();
+		Currency c = new Currency("USD", 6.8269);
+		currencyList.add(c);
+		c = new Currency("HKD", 0.87887);
+		currencyList.add(c);
+		c = new Currency("JPY", 0.00754);
+		currencyList.add(c);
+		c = new Currency("EUR", 9.6734);
+		currencyList.add(c);
+		c = new Currency("GBP", 11.1009);
+		currencyList.add(c);
+		setConvertedList();		
+	}
+
+	public String getValue() {
+		return value;
+	}
+
+	public void setValue(String value) {
+		this.value = value;
+		setConvertedList();
+	}
+}
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java Wed Apr 28 06:50:58 2010
@@ -0,0 +1,53 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.samples.javaee6.converter;
+
+public class Currency {
+	private String name;
+	private double rate;
+	private double actualVaule;
+
+	public double getActualVaule() {
+		return actualVaule;
+	}
+
+	public void setActualVaule(double actualVaule) {
+		this.actualVaule = actualVaule;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public Currency(String name, double rate) {
+		this.name = name;
+		this.rate = rate;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	public double getRate() {
+		return rate;
+	}
+
+	public void setRate(double rate) {
+		this.rate = rate;
+	}
+
+}

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" 
+         xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2" 
+         xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" 
+         xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+  <sys:environment>
+    <sys:moduleId>
+      <sys:groupId>org.apache.geronimo.samples</sys:groupId>
+      <sys:artifactId>converter-javaee6</sys:artifactId>
+      <sys:version>${version}</sys:version>
+      <sys:type>car</sys:type>
+    </sys:moduleId>
+    <sys:dependencies/>
+    <sys:hidden-classes/>
+    <sys:non-overridable-classes/>
+  </sys:environment>
+
+  <context-root>/converter-javaee6</context-root>
+
+</web-app>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/web.xml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/web.xml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<web-app version="3.0" 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_3_0.xsd" id="jpa20demo-javaee6">
+
+    <description>jpa20demo-javaee6 Sample</description>
+    <context-param>
+        <param-name>javax.faces.PROJECT_STAGE</param-name>
+        <param-value>Development</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>/faces/*</url-pattern>
+    </servlet-mapping>    
+    <session-config>
+        <session-timeout>
+            30
+        </session-timeout>
+    </session-config>
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+        <!--<welcome-file>faces/criteriaapi/index.xhtml</welcome-file>-->
+    </welcome-file-list>
+
+</web-app>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css Wed Apr 28 06:50:58 2010
@@ -0,0 +1,61 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+body {
+    background-color: #ffffff;
+    font-size: 11px;
+    font-family: Verdana, arial, sans-serif;
+    color: #000000;  
+    font-weight: normal;
+}
+
+
+#top {
+    position: relative;
+    background-color: #036fab;
+    color: white;
+    padding: 5px;
+    margin: 0px 0px 10px 0px;
+}
+
+
+#left {
+    position: relative;
+    float: left;
+    background-color: #ece300;
+    padding: 5px;
+    width: 20%;
+}
+
+#right {
+    position: relative;
+    float: right;
+    background-color: #ece300;
+    padding: 5px;
+    width: 20%;
+}
+
+.right_content {
+    background-color: #dddddd;
+    padding: 5px;
+    margin: 0px 170px 0px 170px;
+}
+
+
+
+
+
+

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/css/default.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/header.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/header.html?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/header.html (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/header.html Wed Apr 28 06:50:58 2010
@@ -0,0 +1,55 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<html>
+    <head>
+        <link type="text/css" rel="stylesheet" href="http://geronimo.apache.org/style/default.css">
+        <link rel="SHORTCUT ICON" href="http://geronimo.apache.org/images/favicon.ico">   
+        <script src="http://geronimo.apache.org/functions.js" type="text/javascript"></script><title>Apache Geronimo Sample Applications</title>
+        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    </head>
+    
+    <body onload="init()">
+        
+        <table valign="top" background="http://geronimo.apache.org/images/header_bg_1x86.gif" border="0" cellpadding="0" cellspacing="0" width="100%">
+            <tbody>
+                <tr>
+                    <td valing="top" align="left">
+                        <a href="http://geronimo.apache.org/"><img src="http://geronimo.apache.org/images/topleft_logo_437x64.gif" border="0"></a>
+                    </td>
+                    <td width="100%">
+                        &nbsp;
+                    </td>
+                </tr>
+            </tbody>
+        </table>
+        
+        <table border="0" cellpadding="2" cellspacing="0" width="100%">
+            <tbody>
+                <tr class="topBar">
+                    <td class="topBarDiv" align="left" nowrap="true" valign="middle" width="100%">
+                        &nbsp;<a href="http://geronimo.apache.org/" title="Apache Geronimo Home" target="_blank">Apache Geronimo Home</a> | <a href="http://cwiki.apache.org/geronimo/" title="Geronimo Documentation"target="_blank">Documentation</a> | <a href="http://cwiki.apache.org/GMOxSAMPLES/" title="Sample Applications"target="_blank">Sample Applications</a>
+                    </td>
+                    <td class="topBarDiv" align="left" nowrap="true" valign="middle">
+                        <a href="xref/index.html" target="source_window">Source Code</a> | <a href="apidocs/index.html" target="source_window">Java Docs</a>&nbsp;&nbsp;
+                    </td>
+                </tr>
+            </tbody>
+        </table>
+
+    </body>
+</html>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.html?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.html (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.html Wed Apr 28 06:50:58 2010
@@ -0,0 +1,29 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd class="cell"">
+<html>
+<head>
+  <title>Apache Geronimo Sample Application</title>
+  <meta content="text/html; CHARSET=UTF-8" http-equiv="Content-Type">
+</head>
+
+<FRAMESET rows="86px,*" frameborder="0">
+    <FRAME src="./header.html" name="headerFrame" title="Header" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no">
+    <FRAME src="./faces/index.xhtml" name="sampleDocumentFrame" title="Sample Document Description" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no">
+</FRAMESET>
+  
+</html>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.xhtml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.xhtml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.xhtml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.xhtml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,86 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:h="http://java.sun.com/jsf/html"
+	xmlns:f="http://java.sun.com/jsf/core"
+	xmlns:ui="http://java.sun.com/jsf/facelets"
+	xmlns:c="http://java.sun.com/jsp/jstl/core">
+
+<h:head>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+	<link href="./css/default.css" rel="stylesheet"
+		type="text/css" />
+	<title>Converter Sample</title>
+</h:head>
+
+<h:body>
+
+
+	<div id="top" class="top"><ui:insert name="top">Converter - A JSF and AJAX Example</ui:insert>
+	</div>
+	<div>
+	<div id="left"><ui:insert name="left">
+		<h:commandButton id="button1" value="Show Exchange Rate"
+			onclick="jsf.ajax.request(this, event, {execute: 'button1', render: 'pg1'}); return false;"
+			actionListener="#{ConverterBean.toggle}" />
+		<h:panelGroup id="pg1">
+			<h:dataTable id="out1" value="#{ConverterBean.currencyList}" var="item"
+				rendered="#{ConverterBean.render}">
+				<h:column>
+					<f:facet name="header">
+						<h:outputText value="Currency" />
+					</f:facet>
+					<h:outputText value="#{item.name}" />
+				</h:column>
+				<h:column>
+					<f:facet name="header">
+						<h:outputText value="Rate" />
+					</f:facet>
+					<h:outputText value="#{item.rate}" />
+				</h:column>
+			</h:dataTable>
+		</h:panelGroup>
+	</ui:insert></div>
+	<div id="content" class="left_content"><ui:insert name="content">
+		<h:form>
+			<h:outputText value="RMB:"/>
+			<h:inputText value="#{ConverterBean.value}">
+				<f:ajax event="keyup" execute="@this" render="out1" />
+			</h:inputText>
+
+			<h:dataTable id="out1" value="#{ConverterBean.convertedList}" var="item">
+				<h:column>
+					<f:facet name="header">
+						<h:outputText value="Currency" />
+					</f:facet>
+					<h:outputText value="#{item.name}" />
+				</h:column>
+				<h:column>
+					<f:facet name="header">
+						<h:outputText value="Actual Value" />
+					</f:facet>
+					<h:outputText value="#{item.actualValue}" />
+				</h:column>
+			</h:dataTable>
+		</h:form>
+	</ui:insert></div>
+	</div>
+</h:body>
+
+</html>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/index.xhtml
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/sample-docu.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/sample-docu.jsp?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/sample-docu.jsp (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/sample-docu.jsp Wed Apr 28 06:50:58 2010
@@ -0,0 +1,32 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd class="cell"">
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<html>
+<head>
+  <title>Sample of jpa20demo-javaee6</title>
+  <meta content="text/html; CHARSET=UTF-8" http-equiv="Content-Type">
+</head>
+
+<BODY>
+  <font face="Verdana, Helvetica, Arial">
+<ul>
+<li><a href="faces/criteriaapi/index.xhtml">Criteria API Demo</a></li>
+</ul>
+  </FONT>
+</body>
+</html>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/javaee6/converter-javaee6/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/pom.xml?rev=938800&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/pom.xml (added)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/pom.xml Wed Apr 28 06:50:58 2010
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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.apache.geronimo.samples</groupId>
+        <artifactId>javaee6</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+    
+    <artifactId>converter-javaee6</artifactId>
+    <name>Geronimo Samples :: converter-javaee6</name>
+    <packaging>pom</packaging>
+    
+    <description>
+        Geronimo converter-javaee6 sample to demo JSF and AJAX
+    </description>
+
+    <dependencyManagement>
+        <dependencies>
+            <!-- Import Geronimo Server used dependency versions -->
+            <dependency>
+                <groupId>org.apache.geronimo.plugins</groupId>
+                <artifactId>myfaces</artifactId>
+                <version>${geronimoVersion}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>           
+        </dependencies>
+    </dependencyManagement>   
+   
+
+   <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-site-plugin</artifactId>
+                <inherited>false</inherited>
+                <configuration>
+                  <outputDirectory>${project.basedir}/docs</outputDirectory>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <modules>
+                <module>converter-javaee6-war</module>
+                <module>converter-javaee6-jetty</module>
+                <module>converter-javaee6-tomcat</module>
+            </modules>
+        </profile>
+        <profile>
+            <id>no-plugin</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>        
+                <property>
+                    <name>buildPlugin</name>
+                    <value>false</value>
+                </property>        
+            </activation>
+            <modules>
+                <module>converter-javaee6-war</module>
+            </modules>
+        </profile>
+    </profiles>   
+</project>

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee6/converter-javaee6/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/samples/trunk/samples/javaee6/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/pom.xml?rev=938800&r1=938799&r2=938800&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/pom.xml (original)
+++ geronimo/samples/trunk/samples/javaee6/pom.xml Wed Apr 28 06:50:58 2010
@@ -158,6 +158,7 @@
                 <module>cviewer-javaee6</module>
                 <module>jpa20demo-javaee6</module>
                 <module>fileupload-javaee6</module>
+                <module>converter-javaee6</module>
             </modules>
         </profile>
         <profile>
@@ -173,6 +174,7 @@
                 <module>cviewer-javaee6</module>
                 <module>jpa20demo-javaee6</module>
                 <module>fileupload-javaee6</module>
+                <module>converter-javaee6</module>
             </modules>
         </profile>
     </profiles>  



Mime
View raw message