geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r987411 - in /geronimo/server/trunk/testsuite/javaee6-testsuite: ./ jsf2.0-test/ jsf2.0-test/src/ jsf2.0-test/src/main/ jsf2.0-test/src/main/java/ jsf2.0-test/src/main/java/org/ jsf2.0-test/src/main/java/org/apache/ jsf2.0-test/src/main/jav...
Date Fri, 20 Aug 2010 08:54:46 GMT
Author: xiaming
Date: Fri Aug 20 08:54:45 2010
New Revision: 987411

URL: http://svn.apache.org/viewvc?rev=987411&view=rev
Log:
GERONIMO-5528 add test case to verify simple jsf 2.0 new features: facelet and ajax support, provided by Zhen Zhang

Added:
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/default.css   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/header.html   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.html   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.xhtml
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sample-docu.jsp   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sections/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sections/header.xhtml
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/templates/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/templates/masterLayout.xhtml
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java   (with props)
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/testng.xml   (with props)
Modified:
    geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml Fri Aug 20 08:54:45 2010
@@ -0,0 +1,140 @@
+<?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.testsuite</groupId>
+		<artifactId>javaee6-testsuite</artifactId>
+		<version>3.0-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>jsf2.0-test</artifactId>
+	<name>Geronimo TestSuite :: Java EE 6 Testsuite :: jsf2.0-test</name>
+	<packaging>war</packaging>
+
+	<dependencies>
+
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-servlet_3.0_spec</artifactId>
+			<scope>provided</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-ejb_3.1_spec</artifactId>
+			<scope>provided</scope>
+		</dependency>
+	
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-jsp_2.2_spec</artifactId>
+			<scope>provided</scope>
+		</dependency>		
+	
+		<dependency>
+        <groupId>org.apache.myfaces.core</groupId>
+        <artifactId>myfaces-api</artifactId>
+        <version>2.0.0</version>
+        <scope>provided</scope>
+        <exclusions>
+          <exclusion>
+            <artifactId>commons-logging</artifactId>
+            <groupId>commons-logging</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>validation-api</artifactId>
+            <groupId>javax.validation</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>el-api</artifactId>
+            <groupId>javax.el</groupId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+		
+	</dependencies>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-war-plugin</artifactId>
+				<configuration>
+					<archiveClasses>false</archiveClasses>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+	<profiles>
+		<profile>
+			<id>it</id>
+			<activation>
+				<property>
+					<name>it</name>
+				</property>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>selenium-maven-plugin</artifactId>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.geronimo.buildsupport</groupId>
+						<artifactId>geronimo-maven-plugin</artifactId>
+						<executions>
+							<execution>
+								<id>deploy-wars</id>
+								<phase>pre-integration-test</phase>
+								<goals>
+									<goal>deploy-module</goal>
+								</goals>
+								<configuration>
+									<moduleArchive>${project.build.directory}/${project.artifactId}-${project.version}.war</moduleArchive>
+								</configuration>
+							</execution>
+							<execution>
+								<id>undeploy-war-as-moduleId</id>
+								<phase>post-integration-test</phase>
+								<goals>
+									<goal>undeploy-module</goal>
+								</goals>
+								<configuration>
+									<moduleId>${project.groupId}/${project.artifactId}/${project.version}/car</moduleId>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-failsafe-plugin</artifactId>
+						<configuration>
+							<suiteXmlFiles>
+								<suiteXmlFile>${project.build.testOutputDirectory}/testng.xml</suiteXmlFile>
+							</suiteXmlFiles>
+							<systemPropertyVariables>
+								<appContext>${project.artifactId}</appContext>
+							</systemPropertyVariables>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
+</project>

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java Fri Aug 20 08:54:45 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/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java Fri Aug 20 08:54:45 2010
@@ -0,0 +1,108 @@
+/**
+ *  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";
+	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();
+		try{
+
+		for (Currency currency : currencyList) {
+			ConvertedValue cv = new ConvertedValue();
+			cv.setName("<" + currency.getName() + ">");
+			cv.setActualVaule(Double.parseDouble(value) / currency.getRate());
+			this.convertedList.add(cv);
+		}
+		}catch(Exception e){
+		}
+		
+	}
+
+	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/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java Fri Aug 20 08:54:45 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/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/geronimo-web.xml?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/geronimo-web.xml Fri Aug 20 08:54:45 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.testsuite</sys:groupId>
+      <sys:artifactId>jsf2.0-test</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/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/web.xml?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/web.xml Fri Aug 20 08:54:45 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/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/default.css
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/default.css?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/default.css (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/default.css Fri Aug 20 08:54:45 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/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/default.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/default.css
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/css/default.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/header.html
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/header.html?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/header.html (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/header.html Fri Aug 20 08:54:45 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/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.html?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.html (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.html Fri Aug 20 08:54:45 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 id="index1" src="./header.html" name="headerFrame" title="Header" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no">
+    <FRAME id="index2" src="./faces/index.xhtml" name="sampleDocumentFrame" title="Sample Document Description" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="yes">
+</FRAMESET>
+  
+</html>

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.xhtml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.xhtml?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.xhtml (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/index.xhtml Fri Aug 20 08:54:45 2010
@@ -0,0 +1,75 @@
+<?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:composite="http://java.sun.com/jsf/composite"
+	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>
+
+	<ui:composition template="/templates/masterLayout.xhtml">
+	
+
+
+	
+	<ui:define name="content">
+	<h3> Please input a number, or else you can't get a reply!
+	</h3>
+		<h:form>
+			<h:outputText value="RMB:"/>
+			<h:inputText id="in" value="#{ConverterBean.value}">
+				
+			<f:ajax event="keyup" execute="@this" render="out1" />
+			
+				
+			</h:inputText>
+			<!--
+			<h:commandButton id="submit" type="submit" value="submit" onclick="jsf.ajax.request(this,event,{execute:'@this', render: 'out1'});return false;"  />
+			-->
+
+			<h:dataTable id="out1" value="#{ConverterBean.convertedList}" var="item">
+				<h:column>
+					<f:facet name="header">
+						<h:outputText value="Currency" />
+					</f:facet>
+					<h:outputText id="out2" value="#{item.name}" />
+				</h:column>
+				<h:column>
+					<f:facet name="header">
+						<h:outputText value="Actual Value" />
+					</f:facet>
+					<h:outputText id="out3" value="#{item.actualValue}" />
+				</h:column>
+			</h:dataTable>
+		</h:form>
+	</ui:define>
+	
+	</ui:composition>
+</h:body>
+
+</html>

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sample-docu.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sample-docu.jsp?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sample-docu.jsp (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sample-docu.jsp Fri Aug 20 08:54:45 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/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sample-docu.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sections/header.xhtml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sections/header.xhtml?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sections/header.xhtml (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/sections/header.xhtml Fri Aug 20 08:54:45 2010
@@ -0,0 +1,60 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!--
+ * 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 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">
+   <head><title>IGNORED</title></head>
+   <body>
+      <ui:composition>
+         <div class="header">
+		 <h1 align = "center">Converter-A Facelets and AJAX Example In JSF2.0 </h1>
+		 </div>
+		 
+		 <div id="top" class="top"><ui:insert name="top"></ui:insert>
+	</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>
+      </ui:composition>
+   </body>
+</html>
\ No newline at end of file

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/templates/masterLayout.xhtml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/templates/masterLayout.xhtml?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/templates/masterLayout.xhtml (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/webapp/templates/masterLayout.xhtml Fri Aug 20 08:54:45 2010
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * 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 xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:h="http://java.sun.com/jsf/html">
+	<h:head>
+      <title><ui:insert name="title">Apache Geronimo Sample Application</ui:insert></title>
+
+      <h:outputStylesheet library="css" name="basic.css"/>
+</h:head>
+  
+   
+   <h:body>   
+      <div id="header">
+         <ui:insert name="header">
+            <ui:include src="/sections/header.xhtml"/>
+         </ui:insert>
+      </div>
+      
+      <div id="content">
+         <ui:insert name="content"/>
+      </div>
+      <ui:debug/>
+   </h:body>
+</html>
\ No newline at end of file

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java Fri Aug 20 08:54:45 2010
@@ -0,0 +1,78 @@
+/**
+ *  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.testsuite.myfaces2;
+ 
+import org.testng.annotations.Test;
+import org.apache.geronimo.testsupport.SeleniumTestSupport;
+
+public class TestMyfaces2 extends SeleniumTestSupport {
+	
+	
+	@Test 
+	public void testJSF2() throws Exception {  
+	    selenium.open("/converter-javaee6/index.html");
+		Thread.sleep(3000);
+		
+		selenium.selectFrame("sampleDocumentFrame");
+		assertTrue(selenium.isTextPresent("Converter-A Facelets and AJAX Example In JSF2.0"));
+		assertTrue(selenium.isTextPresent("Please input a number, or else you can't get a reply!")); 
+		selenium.type("j_id1983071270_7ac218fa:in", "1000");
+		selenium.keyUp("j_id1983071270_7ac218fa:in", "0");
+
+		
+		Thread.sleep(5000);
+		assertTrue(selenium.isTextPresent("<USD>"));
+		assertTrue(selenium.isTextPresent("<HKD>"));
+		assertTrue(selenium.isTextPresent("<JPY>"));
+		assertTrue(selenium.isTextPresent("<EUR>"));
+		assertTrue(selenium.isTextPresent("<GBP>"));
+		assertTrue(selenium.isTextPresent("146.47"));
+		assertTrue(selenium.isTextPresent("1137.82"));
+		assertTrue(selenium.isTextPresent("132625.99"));
+		assertTrue(selenium.isTextPresent("103.37"));
+		assertTrue(selenium.isTextPresent("90.08"));
+		
+		selenium.click("button1");
+		Thread.sleep(5000);
+		
+		assertTrue(selenium.isTextPresent("USD"));
+		assertTrue(selenium.isTextPresent("HKD"));
+		assertTrue(selenium.isTextPresent("JPY"));
+		assertTrue(selenium.isTextPresent("EUR"));
+		assertTrue(selenium.isTextPresent("GBP"));
+		assertTrue(selenium.isTextPresent("6.8269"));
+		assertTrue(selenium.isTextPresent("0.87887"));
+		assertTrue(selenium.isTextPresent("0.00754"));
+		assertTrue(selenium.isTextPresent("9.6734"));
+		assertTrue(selenium.isTextPresent("11.1009"));
+	}
+	
+	
+}
+		
+
+		
+		
+		
+
+
+
+
+
+

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/testng.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/testng.xml?rev=987411&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/testng.xml (added)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/testng.xml Fri Aug 20 08:54:45 2010
@@ -0,0 +1,32 @@
+<?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$ -->
+
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+
+<suite name="Suite1" verbose="1">
+	<test name="javaee6-testsuite-myfaces2">
+		<packages>
+			<package name="org.apache.geronimo.testsuite.myfaces2" />
+		</packages>
+	</test>
+</suite>
+

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/testng.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/testng.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/resources/testng.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml?rev=987411&r1=987410&r2=987411&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml (original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/pom.xml Fri Aug 20 08:54:45 2010
@@ -66,6 +66,7 @@
 -->
         <module>commonannotation1.1-test</module>
         <module>jta1.1-test</module>
+        <module>jsf2.0-test</module>
     </modules>
 
 </project>



Mime
View raw message