You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shale.apache.org by cr...@apache.org on 2006/08/13 05:09:23 UTC

svn commit: r431139 [1/2] - in /shale/framework/trunk/shale-apps: ./ shale-test-core/ shale-test-core/src/ shale-test-core/src/main/ shale-test-core/src/main/assembly/ shale-test-core/src/main/java/ shale-test-core/src/main/java/org/ shale-test-core/sr...

Author: craigmcc
Date: Sat Aug 12 20:09:20 2006
New Revision: 431139

URL: http://svn.apache.org/viewvc?rev=431139&view=rev
Log:
Add the basics for two testbed applications (one for just the core library,
and one for the core library plus Tiger Extensions) where we can put system
integration tests to validate behaviors that should be common across both
environments (such as callbacks on view controllers).

Added:
    shale/framework/trunk/shale-apps/shale-test-core/
    shale/framework/trunk/shale-apps/shale-test-core/SESSIONS.ser   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/pom.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/assembly/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/assembly/dep.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Standard.java   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Status.java   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/resources/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/META-INF/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/META-INF/context.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/faces-config.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/web.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/index.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/menu.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/standard.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/status.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/site/
    shale/framework/trunk/shale-apps/shale-test-core/src/site/site.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-core/src/site/xdoc/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/systest/
    shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/systest/IntegrationTestCase.java   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/
    shale/framework/trunk/shale-apps/shale-test-tiger/SESSIONS.ser   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/pom.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/assembly/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/assembly/dep.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Annotated.java   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Standard.java   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Status.java   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/resources/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/META-INF/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/META-INF/context.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/faces-config.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/web.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/annotated.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/index.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/menu.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/standard.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/status.jsp   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/site/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/site/site.xml   (with props)
    shale/framework/trunk/shale-apps/shale-test-tiger/src/site/xdoc/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/org/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/org/apache/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/org/apache/shale/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/org/apache/shale/examples/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/org/apache/shale/examples/test/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/org/apache/shale/examples/test/tiger/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/org/apache/shale/examples/test/tiger/systest/
    shale/framework/trunk/shale-apps/shale-test-tiger/src/test/java/org/apache/shale/examples/test/tiger/systest/IntegrationTestCase.java   (with props)
Modified:
    shale/framework/trunk/shale-apps/pom.xml

Modified: shale/framework/trunk/shale-apps/pom.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/pom.xml?rev=431139&r1=431138&r2=431139&view=diff
==============================================================================
--- shale/framework/trunk/shale-apps/pom.xml (original)
+++ shale/framework/trunk/shale-apps/pom.xml Sat Aug 12 20:09:20 2006
@@ -103,6 +103,7 @@
                 <module>mailreader-jpa</module>
                 <module>shale-mailreader-jpa</module>
                 <module>shale-sql-browser</module>
+                <module>shale-test-tiger</module>
             </modules>
         </profile>
 
@@ -178,6 +179,7 @@
         <module>shale-mailreader</module>
         <module>shale-usecases</module>
         <module>shale-clay-usecases</module>
+        <module>shale-test-core</module>
     </modules>
 
     <build>

Added: shale/framework/trunk/shale-apps/shale-test-core/SESSIONS.ser
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/SESSIONS.ser?rev=431139&view=auto
==============================================================================
Binary file - no diff available.

Propchange: shale/framework/trunk/shale-apps/shale-test-core/SESSIONS.ser
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: shale/framework/trunk/shale-apps/shale-test-core/pom.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/pom.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/pom.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/pom.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,179 @@
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ * $Id$
+ */
+-->
+<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.shale</groupId>
+        <artifactId>shale-apps-parent</artifactId>
+        <version>1.0.3-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>shale-test-core</artifactId>
+    <packaging>war</packaging>
+    <name>Shale Test App (Core Library)</name>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>htmlunit</groupId>
+            <artifactId>htmlunit</artifactId>
+            <version>1.8</version>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>pull-parser</groupId>
+                    <artifactId>pull-parser</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>javax.xml</groupId>
+                    <artifactId>jsr173</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jstl</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.codehaus.cargo</groupId>
+            <artifactId>cargo-ant</artifactId>
+            <version>0.8</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.codehaus.cargo</groupId>
+            <artifactId>cargo-core-uberjar</artifactId>
+            <version>0.8</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.shale</groupId>
+            <artifactId>shale-core</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.shale</groupId>
+            <artifactId>shale-test</artifactId>
+            <version>${version}</version>
+            <scope>test</scope>
+        </dependency>
+
+
+        <dependency>
+            <groupId>taglibs</groupId>
+            <artifactId>standard</artifactId>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <descriptors>
+                        <descriptor>src/main/assembly/dep.xml</descriptor>
+                    </descriptors>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>**/systest/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <profiles>
+        <profile>
+            <id>itest</id>
+            <activation>
+                <property>
+                    <name>itest</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>surefire-it</id>
+                                <phase>integration-test</phase>
+                                <goals>
+                                    <goal>test</goal>
+                                </goals>
+                                <configuration>
+                                    <includes>
+                                        <include>**/systest/**</include>
+                                    </includes>
+                                    <excludes>
+                                        <exclude>**/Tomcat5x**</exclude>
+                                    </excludes>
+                                    <systemProperties>
+                                        <property>
+                                            <name>url</name>
+                                            <value>http://localhost:8080/${artifactId}</value>
+                                        </property>
+                                        <!-- Define cargo.container.home ~/.m2/settings.xml or with -D on the command line -->
+                                        <property>
+                                            <name>cargo.container.home</name>
+                                            <value>${cargo.container.home}</value>
+                                        </property>
+                                        <property>
+                                            <name>cargo.container.output</name>
+                                            <value>${basedir}/target/container.output</value>
+                                        </property>
+                                        <property>
+                                            <name>cargo.container.log</name>
+                                            <value>${basedir}/target/container.log</value>
+                                        </property>
+                                        <property>
+                                            <name>cargo.deployable</name>
+                                            <value>${basedir}/target/${artifactId}.war</value>
+                                        </property>
+                                    </systemProperties>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+</project>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/assembly/dep.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/assembly/dep.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/assembly/dep.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/assembly/dep.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,64 @@
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ * $Id$
+ */
+-->
+<assembly>
+
+    <id>dist</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>true</includeBaseDirectory>
+
+    <fileSets>
+
+        <!-- Include top level directory files in the assembly -->
+        <fileSet>
+            <directory>.</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>pom.xml</include>
+                <include>*.txt</include>
+            </includes>
+        </fileSet>
+
+        <!-- Include the source code in the assembly -->
+        <fileSet>
+            <directory>./src</directory>
+            <outputDirectory>src/</outputDirectory>
+        </fileSet>
+
+        <!-- Include the website docs in the assembly -->
+        <fileSet>
+            <directory>./target/site</directory>
+            <outputDirectory>docs/</outputDirectory>
+        </fileSet>
+
+        <!-- Include the web application in the assembly -->
+        <fileSet>
+            <directory>./target</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>*.war</include>
+            </includes>
+        </fileSet>
+
+    </fileSets>
+
+</assembly>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/assembly/dep.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/assembly/dep.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Standard.java
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Standard.java?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Standard.java (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Standard.java Sat Aug 12 20:09:20 2006
@@ -0,0 +1,116 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ *
+ * $Id$
+ */
+
+package org.apache.shale.examples.test.core;
+
+import javax.faces.context.FacesContext;
+import org.apache.shale.view.AbstractViewController;
+import org.apache.shale.view.faces.FacesConstants;
+
+/**
+ * <p>View Controller class for <code>/standard.jsp</code>.
+ * This class implements the <code>ViewController</code> interface,
+ * so it should receive lifecycle event callbacks.</p>
+ */
+public class Standard extends AbstractViewController {
+    
+
+    // ------------------------------------------------------ Instance Variables
+
+
+    /**
+     * <p>Sequence number for identifying order of event callbacks.</p>
+     */
+    private int sequence = 0;
+
+
+    // -------------------------------------------------------------- Properties
+
+
+    /**
+     * <p>Calling order for the init() method.</p>
+     */
+    private int initCalled = 0;
+
+    public int getInitCalled() {
+        return initCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the preprocess() method.</p>
+     */
+    private int preprocessCalled = 0;
+
+    public int getPreprocessCalled() {
+        return preprocessCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the prerender() method.</p>
+     */
+    private int prerenderCalled = 0;
+
+    public int getPrerenderCalled() {
+        return prerenderCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the destroy() method.</p>
+     */
+    private int destroyCalled = 0;
+
+    public int getDestroyCalled() {
+        return destroyCalled;
+    }
+
+
+    // -------------------------------------------------------- Lifecycle Events
+
+
+    // Record the order in which each event was called
+
+    public void init() {
+        initCalled = ++sequence;
+    }
+
+    public void preprocess() {
+        preprocessCalled = ++sequence;
+    }
+
+    public void prerender() {
+        prerenderCalled = ++sequence;
+    }
+
+    public void destroy() {
+        destroyCalled = ++sequence;
+    }
+
+
+    // ------------------------------------------------------------- View Events
+
+
+    // Process a click on the resubmit link
+    public String resubmit() {
+        return null;
+    }
+
+
+}

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Standard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Standard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Status.java
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Status.java?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Status.java (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Status.java Sat Aug 12 20:09:20 2006
@@ -0,0 +1,85 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ *
+ * $Id$
+ */
+
+package org.apache.shale.examples.test.core;
+
+import javax.faces.context.FacesContext;
+import org.apache.shale.view.AbstractViewController;
+import org.apache.shale.view.faces.FacesConstants;
+
+/**
+ * <p>View Controller class for <code>/status.jsp</code>.</p>
+ */
+public class Status extends AbstractViewController {
+    
+
+    // -------------------------------------------------------------- Properties
+
+
+    /**
+     * <p>Return the class name of the attribute configured under name
+     * {@link FacesConstants.EXCEPTION_HANDLER}.</p>
+     */
+    public String getExceptionHandler() {
+        FacesContext context = FacesContext.getCurrentInstance();
+        Object result = context.getApplication().getVariableResolver().
+                resolveVariable(context, FacesConstants.EXCEPTION_HANDLER);
+        if (result == null) {
+            return null;
+        } else {
+            return result.getClass().getName();
+        }
+    }
+
+
+    /**
+     * <p>Return the class name of the attribute configured under name
+     * {@link FacesConstants.VIEW_CALLBACKS}.</p>
+     */
+    public String getViewCallbacks() {
+        FacesContext context = FacesContext.getCurrentInstance();
+        Object result = context.getApplication().getVariableResolver().
+                resolveVariable(context, FacesConstants.VIEW_CALLBACKS);
+        if (result == null) {
+            return null;
+        } else {
+            return result.getClass().getName();
+        }
+    }
+
+
+    /**
+     * <p>Return the class name of the attribute configured under name
+     * {@link FacesConstants.VIEW_MAPPER}.</p>
+     */
+    public String getViewMapper() {
+        FacesContext context = FacesContext.getCurrentInstance();
+        Object result = context.getApplication().getVariableResolver().
+                resolveVariable(context, FacesConstants.VIEW_MAPPER);
+        if (result == null) {
+            return null;
+        } else {
+            return result.getClass().getName();
+        }
+    }
+
+
+    // -------------------------------------------------------- Lifecycle Events
+
+
+}

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Status.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/java/org/apache/shale/examples/test/core/Status.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/META-INF/context.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/META-INF/context.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/META-INF/context.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/META-INF/context.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context path="/shale-test-core"/>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/META-INF/context.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/META-INF/context.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/faces-config.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/faces-config.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/faces-config.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+
+-->
+
+<!DOCTYPE faces-config PUBLIC
+  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+<faces-config>
+
+    <!-- ========== Global Navigation Rules ========== -->
+
+    <navigation-rule>
+        <from-view-id>*</from-view-id>
+        <navigation-case>
+            <from-outcome>menu</from-outcome>
+            <to-view-id>/menu.jsp</to-view-id>
+        </navigation-case>
+        <navigation-case>
+            <from-outcome>standard</from-outcome>
+            <to-view-id>/standard.jsp</to-view-id>
+        </navigation-case>
+        <navigation-case>
+            <from-outcome>status</from-outcome>
+            <to-view-id>/status.jsp</to-view-id>
+        </navigation-case>
+    </navigation-rule>
+
+    <!-- ========== View Controller Beans ========== -->
+
+    <managed-bean>
+        <managed-bean-name>standard</managed-bean-name>
+        <managed-bean-class>
+            org.apache.shale.examples.test.core.Standard
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>status</managed-bean-name>
+        <managed-bean-class>
+            org.apache.shale.examples.test.core.Status
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <!-- ========== Other Managed Beans ========== -->
+
+</faces-config>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/web.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/web.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/web.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+-->
+
+<web-app               xmlns="http://java.sun.com/xml/ns/j2ee"
+                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+                              http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+                      version="2.4">
+
+  <!-- Display name for this application -->
+  <display-name>Shale Test App (Tiger Extensions)</display-name>
+
+  <!-- Select JSF State Saving Mode -->
+  <context-param>
+    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+    <param-value>client</param-value>
+  </context-param>
+
+  <!-- JSF Configuration Resources (comma-separated list) -->
+  <context-param>
+    <param-name>javax.faces.CONFIG_FILES</param-name>
+    <param-value>/WEB-INF/faces-config.xml</param-value>
+  </context-param>
+
+  <!-- JavaServer Faces Servlet Configuration -->
+  <servlet>
+    <servlet-name>faces</servlet-name>
+    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+
+  <!-- JavaServer Faces Servlet Mapping -->
+  <servlet-mapping>
+    <servlet-name>faces</servlet-name>
+    <url-pattern>*.faces</url-pattern>
+  </servlet-mapping>
+
+  <!-- Welcome File List -->
+  <welcome-file-list>
+    <welcome-file>index.jsp</welcome-file>
+  </welcome-file-list>
+
+</web-app>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/index.jsp?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/index.jsp (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/index.jsp Sat Aug 12 20:09:20 2006
@@ -0,0 +1,21 @@
+<%--
+
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+
+--%>
+
+<jsp:forward page="/menu.faces"/>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/index.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/menu.jsp
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/menu.jsp?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/menu.jsp (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/menu.jsp Sat Aug 12 20:09:20 2006
@@ -0,0 +1,48 @@
+<%--
+
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+
+--%>
+
+<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
+<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
+
+<f:view>
+<html>
+<head>
+    <title>Shale Test App (Core Library)</title>
+</head>
+<body>
+
+    <h3>Shale Test App (Core Library)</h3>
+
+    <ul>
+        <li><a href="standard.faces">Standard ViewController Lifecycle Events</a></li>
+        <li><a href="status.faces">Static Status Information</a></li>
+    </ul>
+
+
+    <h3>Test Description</h3>
+
+    <p>Each page of this application is designed to be executed automatically
+    by the corresponding system integration test cases.  However, suitable
+    navigation links are included so that the pages may be executed by hand
+    as well.</p>
+
+</body>
+</html>
+</f:view>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/menu.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/menu.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/standard.jsp
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/standard.jsp?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/standard.jsp (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/standard.jsp Sat Aug 12 20:09:20 2006
@@ -0,0 +1,85 @@
+<%--
+
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+
+--%>
+
+<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
+<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
+
+<f:view>
+<html>
+<head>
+    <title>Standard ViewController Lifecycle Events</title>
+</head>
+<body>
+
+    <h3>Standard ViewController Lifecycle Events</h3>
+
+    <table cellspacing="5">
+        <tr>
+            <th align="center">Event</th>
+            <th align="center">Called Order</th>
+        </tr>
+        <tr>
+            <th align="right">init()</th>
+            <td><h:outputText id="initCalled"
+                           value="#{standard.initCalled}"/></td>
+        </tr>
+        <tr>
+            <th align="right">preprocess()</th>
+            <td><h:outputText id="preprocessCalled"
+                           value="#{standard.preprocessCalled}"/></td>
+        </tr>
+        <tr>
+            <th align="right">prerender()</th>
+            <td><h:outputText id="prerenderCalled"
+                           value="#{standard.prerenderCalled}"/></td>
+        </tr>
+        <tr>
+            <th align="right">destroy()</th>
+            <td><h:outputText id="destroyCalled"
+                           value="#{standard.destroyCalled}"/></td>
+        </tr>
+        <tr>
+            <th align="right">postBack:</th>
+            <td><h:outputText id="postBack"
+                           value="#{standard.postBack}"/></td>
+        </tr>
+    </table>
+
+    <h:form id="form">
+      <h:commandLink id="resubmit" value="Resubmit" action="#{standard.resubmit}"/>
+    </h:form>
+
+    <h3>Test Description</h3>
+
+    <p>Describes the order in which lifecycle events were called during
+    the processing of this page (zero means the method was not called).
+    When first entered from the menu, only init() and prerender() should
+    be listed.  If you click the "Resubmit" link, you should see calls
+    to init, preprocess, and prerender.</p>
+
+    <p>NOTE:  The destroy() method shows that it has never been called
+    because the view is rendered before that event occurs.  Other tests
+    will be required to validate that it is, indeed, called correctly.</p>
+
+    <p><a href="menu.faces">Back</a> to main menu</p>
+
+</body>
+</html>
+</f:view>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/standard.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/standard.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/status.jsp
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/status.jsp?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/status.jsp (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/status.jsp Sat Aug 12 20:09:20 2006
@@ -0,0 +1,65 @@
+<%--
+
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+
+--%>
+
+<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
+<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
+
+<f:view>
+<html>
+<head>
+    <title>Static Status Information</title>
+</head>
+<body>
+
+    <h3>Static Status Information</h3>
+
+    <table cellspacing="5">
+        <tr>
+            <th align="center">Label</th>
+            <th align="center">Value</th>
+        </tr>
+        <tr>
+            <th align="right">EXCEPTION_HANDLER Class:</th>
+            <td><h:outputText id="exceptionHandler"
+                           value="#{status.exceptionHandler}"/></td>
+        </tr>
+        <tr>
+            <th align="right">VIEW_CALLBACKS Class:</th>
+            <td><h:outputText id="viewCallbacks"
+                           value="#{status.viewCallbacks}"/></td>
+        </tr>
+        <tr>
+            <th align="right">VIEW_MAPPER Class:</th>
+            <td><h:outputText id="viewMapper"
+                           value="#{status.viewMapper}"/></td>
+        </tr>
+    </table>
+
+
+    <h3>Test Description</h3>
+
+    <p>Each output component listed above displays static state information
+    about the application (typically as configured at deployment time).</p>
+
+    <p><a href="menu.faces">Back</a> to main menu</p>
+
+</body>
+</html>
+</f:view>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/status.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/main/webapp/status.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/site/site.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/site/site.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/site/site.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/site/site.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="Apache Shale Framework - Blank Starter App">
+
+  <body>
+
+    <menu name="Quick Links">
+        <item name="JavaServer Faces"   
+              href="http://java.sun.com/j2ee/javaserverfaces"/>
+        <item name="MyFaces"
+              href="http://myfaces.apache.org"/>
+        <item name="Shale"             
+              href="http://shale.apache.org"/>
+        <item name="Struts"             
+              href="http://struts.apache.org"/>
+        <item name="Struts-Faces Integration Library" 
+              href="http://struts.apache.org/struts-action/struts-faces"/>
+    </menu>
+
+    <menu name="Sub-Project Documentation">
+        <item name="Clay Plug-In"       href="../../shale-clay/index.html"/>
+        <item name="Core Library"       href="../../shale-core/index.html"/>
+        <item name="Spring Integration" href="../../shale-spring/index.html"/>
+        <item name="Test Framework"     href="../../shale-test/index.html"/>
+        <item name="Tiles Integration"  href="../../shale-tiles/index.html"/>
+        <item name="Tiger Extensions"   href="../../shale-tiger/index.html"/>
+    </menu>
+
+    <menu name="Sample Apps Documentation">
+        <item name="Blank Starter"      href="../shale-blank/index.html"/>
+        <item name="Clay Use Cases"     href="../shale-clay-usecases/index.html"/>
+        <item name="Mail Reader"        href="../shale-mailreader/index.html"/>
+        <item name="SQL Browser"        href="../shale-sql-browser/index.html"/>
+        <item name="Use Cases"          href="../shale-usecases/index.html"/>
+    </menu>
+
+    ${reports}
+    
+  </body>
+
+</project>

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/systest/IntegrationTestCase.java
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/systest/IntegrationTestCase.java?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/systest/IntegrationTestCase.java (added)
+++ shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/systest/IntegrationTestCase.java Sat Aug 12 20:09:20 2006
@@ -0,0 +1,180 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ *
+ * $Id$
+ */
+
+package org.apache.shale.examples.test.core.systest;
+
+import com.gargoylesoftware.htmlunit.html.HtmlAnchor;
+import com.gargoylesoftware.htmlunit.html.HtmlElement;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import org.apache.shale.test.cargo.CargoTestSetup;
+import org.apache.shale.test.htmlunit.AbstractHtmlUnitTestCase;
+
+/**
+ * <p>Integration tests for the Shale Tiger Extensions Library.</p>
+ */
+public class IntegrationTestCase extends AbstractHtmlUnitTestCase {
+    
+
+    // ------------------------------------------------------------ Constructors
+
+
+    /**
+     * <p>Construct a new instance of this test case.</p>
+     *
+     * @param name Name of the new test case
+     */
+    public IntegrationTestCase(String name) {
+
+        super(name);
+
+    }
+
+
+    // ------------------------------------------------------ Test Setup Methods
+
+
+    /**
+     * <p>Set up the instance variables required for this test case.</p>
+     */
+    protected void setUp() throws Exception {
+
+        super.setUp();
+        page("/");
+
+    }
+
+
+    /**
+     * <p>Return the set of tests included in this test suite.</p>
+     */
+    public static Test suite() {
+
+        return new CargoTestSetup(new TestSuite(IntegrationTestCase.class));
+
+    }
+
+
+    /**
+     * <p>Tear down instance variables required by this test case.</p>
+     */
+    protected void tearDown() throws Exception {
+
+        super.tearDown();
+
+    }
+
+
+
+    // ------------------------------------------------- Individual Test Methods
+
+
+    // Test /menu.jsp
+    public void testMenu() throws Exception {
+
+        assertEquals("Shale Test App (Core Library)", title());
+
+    }
+
+
+    // Test /standard.jsp
+    public void testStandard() throws Exception {
+
+        HtmlElement element;
+        page("/standard.faces");
+        assertEquals("Standard ViewController Lifecycle Events", title());
+
+        // Validate values for initial non-postback call
+        
+        element = element("initCalled");
+        assertNotNull(element);
+        assertEquals("1", element.asText());
+
+        element = element("preprocessCalled");
+        assertNotNull(element);
+        assertEquals("0", element.asText());
+
+        element = element("prerenderCalled");
+        assertNotNull(element);
+        assertEquals("2", element.asText());
+
+        element = element("destroyCalled");
+        assertNotNull(element);
+        assertEquals("0", element.asText());
+
+        element = element("postBack");
+        assertNotNull(element);
+        assertEquals("false", element.asText());
+
+        // Click the resubmit hyperlink
+
+        HtmlAnchor anchor = (HtmlAnchor) element("form:resubmit");
+        assertNotNull(anchor);
+        link(anchor);
+
+        // Validate values for subsequent postback call
+        
+        element = element("initCalled");
+        assertNotNull(element);
+        assertEquals("1", element.asText());
+
+        element = element("preprocessCalled");
+        assertNotNull(element);
+        assertEquals("2", element.asText());
+
+        element = element("prerenderCalled");
+        assertNotNull(element);
+        assertEquals("3", element.asText());
+
+        element = element("destroyCalled");
+        assertNotNull(element);
+        assertEquals("0", element.asText());
+
+        element = element("postBack");
+        assertNotNull(element);
+        assertEquals("true", element.asText());
+
+    }
+
+
+    // Test access /status.jsp
+    public void testStatus() throws Exception {
+
+        HtmlElement element;
+        page("/status.faces");
+        assertEquals("Static Status Information", title());
+
+        element = element("exceptionHandler");
+        assertNotNull(element);
+        assertEquals("org.apache.shale.view.impl.DefaultExceptionHandler",
+                     element.asText());
+
+        element = element("viewCallbacks");
+        assertNotNull(element);
+        assertEquals("org.apache.shale.view.faces.ViewControllerCallbacks",
+                     element.asText());
+
+        element = element("viewMapper");
+        assertNotNull(element);
+        assertEquals("org.apache.shale.view.impl.DefaultViewControllerMapper",
+                     element.asText());
+
+    }
+
+
+}

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/systest/IntegrationTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-core/src/test/java/org/apache/shale/examples/test/core/systest/IntegrationTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/SESSIONS.ser
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/SESSIONS.ser?rev=431139&view=auto
==============================================================================
Binary file - no diff available.

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/SESSIONS.ser
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: shale/framework/trunk/shale-apps/shale-test-tiger/pom.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/pom.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/pom.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/pom.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,196 @@
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ * $Id$
+ */
+-->
+<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.shale</groupId>
+        <artifactId>shale-apps-parent</artifactId>
+        <version>1.0.3-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>shale-test-tiger</artifactId>
+    <packaging>war</packaging>
+    <name>Shale Test App (Tiger Extensions)</name>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>htmlunit</groupId>
+            <artifactId>htmlunit</artifactId>
+            <version>1.8</version>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>pull-parser</groupId>
+                    <artifactId>pull-parser</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>javax.xml</groupId>
+                    <artifactId>jsr173</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jstl</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.codehaus.cargo</groupId>
+            <artifactId>cargo-ant</artifactId>
+            <version>0.8</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.codehaus.cargo</groupId>
+            <artifactId>cargo-core-uberjar</artifactId>
+            <version>0.8</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.shale</groupId>
+            <artifactId>shale-core</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.shale</groupId>
+            <artifactId>shale-test</artifactId>
+            <version>${version}</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.shale</groupId>
+            <artifactId>shale-tiger</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>taglibs</groupId>
+            <artifactId>standard</artifactId>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <descriptors>
+                        <descriptor>src/main/assembly/dep.xml</descriptor>
+                    </descriptors>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>**/systest/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <configuration>
+                        <source>1.5</source>
+                        <target>1.5</target>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+
+    <profiles>
+        <profile>
+            <id>itest</id>
+            <activation>
+                <property>
+                    <name>itest</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>surefire-it</id>
+                                <phase>integration-test</phase>
+                                <goals>
+                                    <goal>test</goal>
+                                </goals>
+                                <configuration>
+                                    <includes>
+                                        <include>**/systest/**</include>
+                                    </includes>
+                                    <excludes>
+                                        <exclude>**/Tomcat5x**</exclude>
+                                    </excludes>
+                                    <systemProperties>
+                                        <property>
+                                            <name>url</name>
+                                            <value>http://localhost:8080/${artifactId}</value>
+                                        </property>
+                                        <!-- Define cargo.container.home ~/.m2/settings.xml or with -D on the command line -->
+                                        <property>
+                                            <name>cargo.container.home</name>
+                                            <value>${cargo.container.home}</value>
+                                        </property>
+                                        <property>
+                                            <name>cargo.container.output</name>
+                                            <value>${basedir}/target/container.output</value>
+                                        </property>
+                                        <property>
+                                            <name>cargo.container.log</name>
+                                            <value>${basedir}/target/container.log</value>
+                                        </property>
+                                        <property>
+                                            <name>cargo.deployable</name>
+                                            <value>${basedir}/target/${artifactId}.war</value>
+                                        </property>
+                                    </systemProperties>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+</project>

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/assembly/dep.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/src/main/assembly/dep.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/src/main/assembly/dep.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/src/main/assembly/dep.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,64 @@
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ * $Id$
+ */
+-->
+<assembly>
+
+    <id>dist</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>true</includeBaseDirectory>
+
+    <fileSets>
+
+        <!-- Include top level directory files in the assembly -->
+        <fileSet>
+            <directory>.</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>pom.xml</include>
+                <include>*.txt</include>
+            </includes>
+        </fileSet>
+
+        <!-- Include the source code in the assembly -->
+        <fileSet>
+            <directory>./src</directory>
+            <outputDirectory>src/</outputDirectory>
+        </fileSet>
+
+        <!-- Include the website docs in the assembly -->
+        <fileSet>
+            <directory>./target/site</directory>
+            <outputDirectory>docs/</outputDirectory>
+        </fileSet>
+
+        <!-- Include the web application in the assembly -->
+        <fileSet>
+            <directory>./target</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>*.war</include>
+            </includes>
+        </fileSet>
+
+    </fileSets>
+
+</assembly>

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/assembly/dep.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/assembly/dep.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Annotated.java
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Annotated.java?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Annotated.java (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Annotated.java Sat Aug 12 20:09:20 2006
@@ -0,0 +1,126 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ *
+ * $Id$
+ */
+
+package org.apache.shale.examples.test.tiger;
+
+import javax.faces.context.FacesContext;
+import org.apache.shale.tiger.view.Destroy;
+import org.apache.shale.tiger.view.Init;
+import org.apache.shale.tiger.view.Preprocess;
+import org.apache.shale.tiger.view.Prerender;
+import org.apache.shale.tiger.view.View;
+import org.apache.shale.view.faces.FacesConstants;
+
+/**
+ * <p>View Controller class for <code>/standard.jsp</code>.
+ * This class uses Tiger Extensions annotations, so it should
+ * receive lifecycle callbacks equivalent to a class that
+ * implements <code>ViewController</code>.</p>
+ */
+@View
+public class Annotated {
+    
+
+    // ------------------------------------------------------ Instance Variables
+
+
+    /**
+     * <p>Sequence number for identifying order of event callbacks.</p>
+     */
+    private int sequence = 0;
+
+
+    // -------------------------------------------------------------- Properties
+
+
+    /**
+     * <p>Calling order for the init() method.</p>
+     */
+    private int initCalled = 0;
+
+    public int getInitCalled() {
+        return initCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the preprocess() method.</p>
+     */
+    private int preprocessCalled = 0;
+
+    public int getPreprocessCalled() {
+        return preprocessCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the prerender() method.</p>
+     */
+    private int prerenderCalled = 0;
+
+    public int getPrerenderCalled() {
+        return prerenderCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the destroy() method.</p>
+     */
+    private int destroyCalled = 0;
+
+    public int getDestroyCalled() {
+        return destroyCalled;
+    }
+
+
+    // -------------------------------------------------------- Lifecycle Events
+
+
+    // Record the order in which each event was called
+
+    @Init
+    public void myInit() {
+        initCalled = ++sequence;
+    }
+
+    @Preprocess
+    public void myPreprocess() {
+        preprocessCalled = ++sequence;
+    }
+
+    @Prerender
+    public void myPrerender() {
+        prerenderCalled = ++sequence;
+    }
+
+    @Destroy
+    public void myDestroy() {
+        destroyCalled = ++sequence;
+    }
+
+
+    // ------------------------------------------------------------- View Events
+
+
+    // Process a click on the resubmit link
+    public String resubmit() {
+        return null;
+    }
+
+
+}

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Annotated.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Annotated.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Standard.java
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Standard.java?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Standard.java (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Standard.java Sat Aug 12 20:09:20 2006
@@ -0,0 +1,116 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ *
+ * $Id$
+ */
+
+package org.apache.shale.examples.test.tiger;
+
+import javax.faces.context.FacesContext;
+import org.apache.shale.view.AbstractViewController;
+import org.apache.shale.view.faces.FacesConstants;
+
+/**
+ * <p>View Controller class for <code>/standard.jsp</code>.
+ * This class implements the <code>ViewController</code> interface,
+ * so it should receive lifecycle event callbacks.</p>
+ */
+public class Standard extends AbstractViewController {
+    
+
+    // ------------------------------------------------------ Instance Variables
+
+
+    /**
+     * <p>Sequence number for identifying order of event callbacks.</p>
+     */
+    private int sequence = 0;
+
+
+    // -------------------------------------------------------------- Properties
+
+
+    /**
+     * <p>Calling order for the init() method.</p>
+     */
+    private int initCalled = 0;
+
+    public int getInitCalled() {
+        return initCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the preprocess() method.</p>
+     */
+    private int preprocessCalled = 0;
+
+    public int getPreprocessCalled() {
+        return preprocessCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the prerender() method.</p>
+     */
+    private int prerenderCalled = 0;
+
+    public int getPrerenderCalled() {
+        return prerenderCalled;
+    }
+
+
+    /**
+     * <p>Calling order for the destroy() method.</p>
+     */
+    private int destroyCalled = 0;
+
+    public int getDestroyCalled() {
+        return destroyCalled;
+    }
+
+
+    // -------------------------------------------------------- Lifecycle Events
+
+
+    // Record the order in which each event was called
+
+    public void init() {
+        initCalled = ++sequence;
+    }
+
+    public void preprocess() {
+        preprocessCalled = ++sequence;
+    }
+
+    public void prerender() {
+        prerenderCalled = ++sequence;
+    }
+
+    public void destroy() {
+        destroyCalled = ++sequence;
+    }
+
+
+    // ------------------------------------------------------------- View Events
+
+
+    // Process a click on the resubmit link
+    public String resubmit() {
+        return null;
+    }
+
+
+}

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Standard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Standard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Status.java
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Status.java?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Status.java (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Status.java Sat Aug 12 20:09:20 2006
@@ -0,0 +1,85 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ *
+ * $Id$
+ */
+
+package org.apache.shale.examples.test.tiger;
+
+import javax.faces.context.FacesContext;
+import org.apache.shale.view.AbstractViewController;
+import org.apache.shale.view.faces.FacesConstants;
+
+/**
+ * <p>View Controller class for <code>/status.jsp</code>.</p>
+ */
+public class Status extends AbstractViewController {
+    
+
+    // -------------------------------------------------------------- Properties
+
+
+    /**
+     * <p>Return the class name of the attribute configured under name
+     * {@link FacesConstants.EXCEPTION_HANDLER}.</p>
+     */
+    public String getExceptionHandler() {
+        FacesContext context = FacesContext.getCurrentInstance();
+        Object result = context.getApplication().getVariableResolver().
+                resolveVariable(context, FacesConstants.EXCEPTION_HANDLER);
+        if (result == null) {
+            return null;
+        } else {
+            return result.getClass().getName();
+        }
+    }
+
+
+    /**
+     * <p>Return the class name of the attribute configured under name
+     * {@link FacesConstants.VIEW_CALLBACKS}.</p>
+     */
+    public String getViewCallbacks() {
+        FacesContext context = FacesContext.getCurrentInstance();
+        Object result = context.getApplication().getVariableResolver().
+                resolveVariable(context, FacesConstants.VIEW_CALLBACKS);
+        if (result == null) {
+            return null;
+        } else {
+            return result.getClass().getName();
+        }
+    }
+
+
+    /**
+     * <p>Return the class name of the attribute configured under name
+     * {@link FacesConstants.VIEW_MAPPER}.</p>
+     */
+    public String getViewMapper() {
+        FacesContext context = FacesContext.getCurrentInstance();
+        Object result = context.getApplication().getVariableResolver().
+                resolveVariable(context, FacesConstants.VIEW_MAPPER);
+        if (result == null) {
+            return null;
+        } else {
+            return result.getClass().getName();
+        }
+    }
+
+
+    // -------------------------------------------------------- Lifecycle Events
+
+
+}

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Status.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/java/org/apache/shale/examples/test/tiger/Status.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/META-INF/context.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/META-INF/context.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/META-INF/context.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/META-INF/context.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context path="/shale-test-tiger"/>

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/META-INF/context.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/META-INF/context.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/faces-config.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/faces-config.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/faces-config.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+
+-->
+
+<!DOCTYPE faces-config PUBLIC
+  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+<faces-config>
+
+    <!-- ========== Global Navigation Rules ========== -->
+
+    <navigation-rule>
+        <from-view-id>*</from-view-id>
+        <navigation-case>
+            <from-outcome>annotated</from-outcome>
+            <to-view-id>/annotated.jsp</to-view-id>
+        </navigation-case>
+        <navigation-case>
+            <from-outcome>menu</from-outcome>
+            <to-view-id>/menu.jsp</to-view-id>
+        </navigation-case>
+        <navigation-case>
+            <from-outcome>standard</from-outcome>
+            <to-view-id>/standard.jsp</to-view-id>
+        </navigation-case>
+        <navigation-case>
+            <from-outcome>status</from-outcome>
+            <to-view-id>/status.jsp</to-view-id>
+        </navigation-case>
+    </navigation-rule>
+
+    <!-- ========== View Controller Beans ========== -->
+
+    <managed-bean>
+        <managed-bean-name>annotated</managed-bean-name>
+        <managed-bean-class>
+            org.apache.shale.examples.test.tiger.Annotated
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>standard</managed-bean-name>
+        <managed-bean-class>
+            org.apache.shale.examples.test.tiger.Standard
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>status</managed-bean-name>
+        <managed-bean-class>
+            org.apache.shale.examples.test.tiger.Status
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <!-- ========== Other Managed Beans ========== -->
+
+</faces-config>

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/web.xml?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/web.xml (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/web.xml Sat Aug 12 20:09:20 2006
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+-->
+
+<web-app               xmlns="http://java.sun.com/xml/ns/j2ee"
+                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+                              http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+                      version="2.4">
+
+  <!-- Display name for this application -->
+  <display-name>Shale Test App (Tiger Extensions)</display-name>
+
+  <!-- Select JSF State Saving Mode -->
+  <context-param>
+    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+    <param-value>client</param-value>
+  </context-param>
+
+  <!-- JSF Configuration Resources (comma-separated list) -->
+  <context-param>
+    <param-name>javax.faces.CONFIG_FILES</param-name>
+    <param-value>/WEB-INF/faces-config.xml</param-value>
+  </context-param>
+
+  <!-- JavaServer Faces Servlet Configuration -->
+  <servlet>
+    <servlet-name>faces</servlet-name>
+    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+
+  <!-- JavaServer Faces Servlet Mapping -->
+  <servlet-mapping>
+    <servlet-name>faces</servlet-name>
+    <url-pattern>*.faces</url-pattern>
+  </servlet-mapping>
+
+  <!-- Welcome File List -->
+  <welcome-file-list>
+    <welcome-file>index.jsp</welcome-file>
+  </welcome-file-list>
+
+</web-app>

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/annotated.jsp
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/annotated.jsp?rev=431139&view=auto
==============================================================================
--- shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/annotated.jsp (added)
+++ shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/annotated.jsp Sat Aug 12 20:09:20 2006
@@ -0,0 +1,80 @@
+<%--
+
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed 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.
+
+ $Id$
+
+--%>
+
+<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
+<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
+
+<f:view>
+<html>
+<head>
+    <title>Annotated ViewController Lifecycle Events</title>
+</head>
+<body>
+
+    <h3>Annotated ViewController Lifecycle Events</h3>
+
+    <table cellspacing="5">
+        <tr>
+            <th align="center">Event</th>
+            <th align="center">Called Order</th>
+        </tr>
+        <tr>
+            <th align="right">init()</th>
+            <td><h:outputText id="initCalled"
+                           value="#{annotated.initCalled}"/></td>
+        </tr>
+        <tr>
+            <th align="right">preprocess()</th>
+            <td><h:outputText id="preprocessCalled"
+                           value="#{annotated.preprocessCalled}"/></td>
+        </tr>
+        <tr>
+            <th align="right">prerender()</th>
+            <td><h:outputText id="prerenderCalled"
+                           value="#{annotated.prerenderCalled}"/></td>
+        </tr>
+        <tr>
+            <th align="right">destroy()</th>
+            <td><h:outputText id="destroyCalled"
+                           value="#{annotated.destroyCalled}"/></td>
+        </tr>
+    </table>
+
+    <h:form id="form">
+      <h:commandLink id="resubmit" value="Resubmit" action="#{annotated.resubmit}"/>
+    </h:form>
+
+    <h3>Test Description</h3>
+
+    <p>Describes the order in which lifecycle events were called during
+    the processing of this page (zero means the method was not called).
+    When first entered from the menu, only init() and prerender() should
+    be listed.  If you click the "Resubmit" link, you should see calls
+    to init, preprocess, and prerender.</p>
+
+    <p>NOTE:  The destroy() method shows that it has never been called
+    because the view is rendered before that event occurs.  Other tests
+    will be required to validate that it is, indeed, called correctly.</p>
+
+    <p><a href="menu.faces">Back</a> to main menu</p>
+
+</body>
+</html>
+</f:view>

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/annotated.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shale/framework/trunk/shale-apps/shale-test-tiger/src/main/webapp/annotated.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL