Author: craigmcc Date: Sat Jul 30 13:44:59 2005 New Revision: 226576 URL: http://svn.apache.org/viewcvs?rev=226576&view=rev Log: Finish up refactoring in core-library, and remove deprecated DialogController.
Add an overview page for the Core Library javadocs, summarizing the intended target audience and API stability level of each package. Remove unused portions of the Use Cases application that were based on the now removed DialogController API. Added: struts/shale/trunk/core-library/src/java/org/apache/shale/resources/ struts/shale/trunk/core-library/src/java/org/apache/shale/resources/Bundle.properties struts/shale/trunk/core-library/src/java/org/apache/shale/resources/package.html struts/shale/trunk/core-library/src/java/org/apache/shale/view/impl/package.html struts/shale/trunk/core-library/src/java/overview.html Removed: struts/shale/trunk/core-library/src/java/org/apache/shale/Bundle.properties struts/shale/trunk/core-library/src/java/org/apache/shale/Constants.java struts/shale/trunk/core-library/src/java/org/apache/shale/DialogController.java struts/shale/trunk/core-library/src/java/org/apache/shale/package.html struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/logon/Dialog.java struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/logon/Logon.gif struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/logon/Logon.java struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/logon/Profile1.java struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/logon/Profile2.java struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/logon/Profile3.java struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/logon/package.html struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/view/BaseDialogController.java struts/shale/trunk/use-cases/src/web/logon/logon.jsp struts/shale/trunk/use-cases/src/web/logon/profile1.jsp struts/shale/trunk/use-cases/src/web/logon/profile2.jsp struts/shale/trunk/use-cases/src/web/logon/profile3.jsp Modified: struts/shale/trunk/core-library/build.xml struts/shale/trunk/core-library/src/java/org/apache/shale/component/Subview.java struts/shale/trunk/core-library/src/java/org/apache/shale/component/Token.java struts/shale/trunk/core-library/src/java/org/apache/shale/dialog/ViewState.java struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleViewHandler.java struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleWebContext.java struts/shale/trunk/use-cases/src/web/WEB-INF/faces-config.xml Modified: struts/shale/trunk/core-library/build.xml URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/build.xml?rev=226576&r1=226575&r2=226576&view=diff ============================================================================== --- struts/shale/trunk/core-library/build.xml (original) +++ struts/shale/trunk/core-library/build.xml Sat Jul 30 13:44:59 2005 @@ -358,6 +358,7 @@ author="false" private="true" version="true" + overview="src/java/overview.html" packagenames="org.apache.shale.*" windowtitle="${project.name} (Version ${project.version})" doctitle="${project.name} (Version ${project.version})" Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/component/Subview.java URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/component/Subview.java?rev=226576&r1=226575&r2=226576&view=diff ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/component/Subview.java (original) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/component/Subview.java Sat Jul 30 13:44:59 2005 @@ -55,7 +55,7 @@ * <p>Message resources for this class.</p> */ private static Messages messages = - new Messages("org.apache.shale.Bundle", + new Messages("org.apache.shale.resources.Bundle", Subview.class.getClassLoader()); Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/component/Token.java URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/component/Token.java?rev=226576&r1=226575&r2=226576&view=diff ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/component/Token.java (original) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/component/Token.java Sat Jul 30 13:44:59 2005 @@ -48,7 +48,7 @@ * <p>Message resources for this class */ private static Messages messages = - new Messages("org.apache.shale.Bundle", + new Messages("org.apache.shale.resources.Bundle", Token.class.getClassLoader()); Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/dialog/ViewState.java URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/dialog/ViewState.java?rev=226576&r1=226575&r2=226576&view=diff ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/dialog/ViewState.java (original) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/dialog/ViewState.java Sat Jul 30 13:44:59 2005 @@ -19,7 +19,7 @@ /** * <p>A [EMAIL PROTECTED] ViewState} encapsulates the rendering of a JavaServer Faces * <em>view</em>, identified by a specified view identifier. When the - * view is rendered, standard [EMAIL PROTECTED] org.apache.shale.ViewController} + * view is rendered, standard [EMAIL PROTECTED] org.apache.shale.view.ViewController} * functionality will be supported if there is such a corresponding backing * bean. The logical outcome returned by a [EMAIL PROTECTED] ViewState} will be the * one returned by the JavaServer Faces action method that was invoked Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java?rev=226576&r1=226575&r2=226576&view=diff ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java (original) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java Sat Jul 30 13:44:59 2005 @@ -182,7 +182,7 @@ * <p>Message resources for this class.</p> */ private static Messages messages = - new Messages("org.apache.shale.Bundle", + new Messages("org.apache.shale.resources.Bundle", ShaleApplicationFilter.class.getClassLoader()); Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleViewHandler.java URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleViewHandler.java?rev=226576&r1=226575&r2=226576&view=diff ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleViewHandler.java (original) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleViewHandler.java Sat Jul 30 13:44:59 2005 @@ -72,7 +72,7 @@ * <p>Message resources for this class.</p> */ private static Messages messages = - new Messages("org.apache.shale.Bundle", + new Messages("org.apache.shale.resources.Bundle", ShaleViewHandler.class.getClassLoader()); Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleWebContext.java URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleWebContext.java?rev=226576&r1=226575&r2=226576&view=diff ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleWebContext.java (original) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleWebContext.java Sat Jul 30 13:44:59 2005 @@ -78,7 +78,7 @@ * <p>Message resources for this class.</p> */ private static Messages messages = - new Messages("org.apache.shale.Bundle", + new Messages("org.apache.shale.resources.Bundle", ShaleWebContext.class.getClassLoader()); Added: struts/shale/trunk/core-library/src/java/org/apache/shale/resources/Bundle.properties URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/resources/Bundle.properties?rev=226576&view=auto ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/resources/Bundle.properties (added) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/resources/Bundle.properties Sat Jul 30 13:44:59 2005 @@ -0,0 +1,52 @@ +# Resource Strings for Shale Framework +# +# Copyright 2004-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$ + +# org.apache.shale.application.ShaleApplicationFilter +filter.creatingCatalog=Creating catalog {0} +filter.destroyException=Exception during init command +filter.finalizing=Finalizing Shale Application Filter +filter.initException=Exception occurred during init command +filter.initializing=Initializing Shale Application Filter +filter.parsingResource=Parsing default resource {0} +filter.vcmAccess=ViewControllerMapper class {0} does not have a public no-args constructor +filter.vcmCast=Class {0} does not implement ViewControllerMapper +filter.vcmClass=Cannot find ViewControllerMapper class {0} +filter.vcmInstantiate=ViewControllerMapper class {0} instance cannot be instantiated + +# org.apache.shale.application.ShaleViewHandler +view.notViewController=Bean for viewId {0} under name {1} is not a ViewController +view.noViewController=No ViewController for viewId {0} found under name {1} +view.noViewControllerMapper=No ViewControllerMapper has been configured for this application + +# org.apache.shale.application.ShaleWebContext +context.requestWrapper=Must be an HttpServletRequestWrapper +context.responseWrapper=Must be an HttpServletResponseWrapper + +# org.apache.shale.component.Subview +subview.noBean=No managed bean for subview {0} +subview.noPhase=Not currently in a JSF phase, so no subview support provided +subview.noType=Managed bean for subview {0} is not a ViewController + +# org.apache.shale.component.Token +token.invalid=Invalid resubmit of the same form + +# org.apache.shale.tiles.TilesViewHandler +tiles.renderingView=Rendering view {0}, looking for tile {1} +tiles.dispatchingToTile=Dispatching to tile {0} +tiles.dispatchingToViewHandler=Dispatching {0} to the default view handler + Added: struts/shale/trunk/core-library/src/java/org/apache/shale/resources/package.html URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/resources/package.html?rev=226576&view=auto ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/resources/package.html (added) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/resources/package.html Sat Jul 30 13:44:59 2005 @@ -0,0 +1,24 @@ +<!-- + * Copyright 2004-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$ --> + +<body> + +<p>This package defines the localizable resources +for the overall Shale architecture.</p> + +</body> Added: struts/shale/trunk/core-library/src/java/org/apache/shale/view/impl/package.html URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/view/impl/package.html?rev=226576&view=auto ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/view/impl/package.html (added) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/view/impl/package.html Sat Jul 30 13:44:59 2005 @@ -0,0 +1,25 @@ +<!-- + * Copyright 2004-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$ --> + +<body> + +<p>This package contains default implementations for framework functionality +required by the application APIs in the <code>org.apache.shale.view</code> +package.</p> + +</body> Added: struts/shale/trunk/core-library/src/java/overview.html URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/overview.html?rev=226576&view=auto ============================================================================== --- struts/shale/trunk/core-library/src/java/overview.html (added) +++ struts/shale/trunk/core-library/src/java/overview.html Sat Jul 30 13:44:59 2005 @@ -0,0 +1,262 @@ +<!-- + * Copyright 2004-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$ --> + +<html> +<head> +<title>Shale Framework Overview</title> +</head> +<body> +<p>The <strong>Shale Framework</strong> is a loosely coupled set of value +added services focused on providing improved functionality and ease of +development for applications based on the +<a href="http://java.sun.com/j2ee/javaserverfaces/">JavaServer Faces</a> +(JSF) standard API. In addition to providing API for building user +interface components, JSF provides a <em>front controller</em> MVC +architecture, similar to what you see in many other Java based web +frameworks. Shale leverages the extensibility points that are also +built into JSF, and avoids the redundant implementation of features +that JSF already provides.</p> + +<h3>API Package Target Audiences and Stability Ratings</h3> + +<p>The core services provided by Shale are packaged in a series of +JAR files, so that applications not utiizing some of the optional services +need not include them. For each service, the APIs in particular Java +packages are intended for public use by application developers, while +other packages represent the internal implementation of Shale features, +and would only be accessed directly if you intend to modify Shale's +standard functionality. In the tables below, the intended target +audience of each package is described by one of the following terms:</p> +<ul> +<li><em>Application</em> - Applications based on Shale may + depend on APIs provided by this package. In general, + such APIs will focus on avoiding backwards incompatble + changes as they evolve.</li> +<li><em>Framework</em> - Developers who wish to extend or + modify the default implementation of Shale features + may depend on APIs provided by this package. Stability + of APIs across releases will still be a goal, but + ongoing evolution will likely lead to some incompatible + changes.</li> +<li><em>Private</em> - This package is not intended for public + use by developers, and its APIs are subject to change + in later releases at any time.</li> +</ul> + +<p>In addition to the intent described above, each package is also annotated +with a stability rating, which is an indication of the expected rate of +future change, described by one of the following terms:</p> +<ul> +<li><em>Private</em> - This package is not intended for public + use by developers, and its APIs are subject to change + in later releases at any time.</li> +<li><em>Developing</em> - This package is under active development, + and changes (including backwards incompatible changes) are likely + in future versions.</li> +<li><em>Evolving</em> - This package is continuing to be developed, + but changes will generally add new features only, while maintaing + backwards compatibility.</li> +<li><em>Stable</em> - This package may continue to be developed, + but offers the highest possible assurance of backwards compatibility + in both public API and in functionality.</li> +<li><em>Deprecated</em> - This package contains API that was available + in previous versions, and is maintained (for a short while) for + backwards compatibility purposes. However, dependencies on these + APIs should be migrated appropriately, as at some point in time + the package will be subject to removal.</li> +</ul> + + +<h3>Packages Delivered in <em>shale-core.jar</em></h3> + +<table border="1"> + <thead> + <tr> + <th width="30%">Package Name</th> + <th width="10%">Target</th> + <th width="10%">Stability</th> + <th width="50%">Comments</th> + </tr> + </thead> + <tbody> + <tr> + <td><a href="org/apache/shale/application/package-summary.html"> + org.apache.shale.application</a></td> + <td>Framework</td> + <td>Developing</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/component/package-summary.html"> + org.apache.shale.component</a></td> + <td>Application</td> + <td>Evolving</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/dialog/package-summary.html"> + org.apache.shale.dialog</a></td> + <td>Application</td> + <td>Developing</td> + <td>Expect further development to support multiple active + dialogs in the same page.</td> + </tr> + <tr> + <td><a href="org/apache/shale/dialog/config/package-summary.html"> + org.apache.shale.dialog.config</a></td> + <td>Framework</td> + <td>Developing</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/dialog/faces/package-summary.html"> + org.apache.shale.dialog.faces</a></td> + <td>Framework</td> + <td>Developing</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/dialog/impl/package-summary.html"> + org.apache.shale.dialog.impl</a></td> + <td>Framework</td> + <td>Developing</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/faces/package-summary.html"> + org.apache.shale.faces</a></td> + <td>Framework</td> + <td>Developing</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/remote/package-summary.html"> + org.apache.shale.remote</a></td> + <td>Application</td> + <td>Developing</td> + <td>Consider the current APIs to be experimental.</td> + </tr> + <tr> + <td><a href="org/apache/shale/renderer/package-summary.html"> + org.apache.shale.renderer</a></td> + <td>Framework</td> + <td>Evolving</td> + <td>Functionality should be accessed indirectly via + components in <code>org.apache.shale.component</code>.</td> + </tr> + <tr> + <td><a href="org/apache/shale/resources/package-summary.html"> + org.apache.shale.resources</a></td> + <td>Framework</td> + <td>Evolving</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/taglib/package-summary.html"> + org.apache.shale.taglib</a></td> + <td>Application</td> + <td>Evolving</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/util/package-summary.html"> + org.apache.shale.util</a></td> + <td>Application</td> + <td>Developing</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/validator/package-summary.html"> + org.apache.shale.validator</a></td> + <td>Framework</td> + <td>Developing</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/view/package-summary.html"> + org.apache.shale.view</a></td> + <td>Application</td> + <td>Evolving</td> + <td> </td> + </tr> + <tr> + <td><a href="org/apache/shale/view/impl/package-summary.html"> + org.apache.shale.view.impl</a></td> + <td>Framework</td> + <td>Developing</td> + <td> </td> + </tr> + </tbody> +</table> + +<h3>Packages Delivered in <em>shale-spring.jar</em></h3> + +<table border="1"> + <thead> + <tr> + <th width="30%">Package Name</th> + <th width="10%">Target</th> + <th width="10%">Stability</th> + <th width="50%">Comments</th> + </tr> + </thead> + <tbody> + <tr> + <td><a href="org/apache/shale/spring/package-summary.html"> + org.apache.shale.spring</a></td> + <td>Framework</td> + <td>Developing</td> + <td>Functionality should be accessed indirectly via + evaluating value binding and method binding expressions.</td> + </tr> + <tr> + <td><a href="org/apache/shale/spring/webflow/package-summary.html"> + org.apache.shale.spring.webflow</a></td> + <td>Private</td> + <td>Developing</td> + <td>Temporary home for an integration layer between Spring WebFlow + and JSF that will be offered to the Spring Framework team + when completed.</td> + </tr> + </tbody> +</table> + +<h3>Packages Delivered in <em>shale-tiles.jar</em></h3> + +<table border="1"> + <thead> + <tr> + <th width="30%">Package Name</th> + <th width="10%">Target</th> + <th width="10%">Stability</th> + <th width="50%">Comments</th> + </tr> + </thead> + <tbody> + <tr> + <td><a href="org/apache/shale/tiles/package-summary.html"> + org.apache.shale.tiles</a></td> + <td>Framework</td> + <td>Developing</td> + <td> </td> + </tr> + </tbody> +</table> + +</body> +</html> Modified: struts/shale/trunk/use-cases/src/web/WEB-INF/faces-config.xml URL: http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/web/WEB-INF/faces-config.xml?rev=226576&r1=226575&r2=226576&view=diff ============================================================================== --- struts/shale/trunk/use-cases/src/web/WEB-INF/faces-config.xml (original) +++ struts/shale/trunk/use-cases/src/web/WEB-INF/faces-config.xml Sat Jul 30 13:44:59 2005 @@ -147,113 +147,9 @@ <managed-bean-scope>request</managed-bean-scope> </managed-bean> - <!-- =========================== Logon Dialog ============================ --> - - - <!-- DialogController Bean --> - -<!-- DEPRECATED - use new org.apache.shale.dialog support - <managed-bean> - <description> - Overall controller for the logon dialog. Functional behavior of this - dialog is affected by the initialization properties configured below. - </description> - <display-name>Logon Dialog</display-name> - <managed-bean-name>logon$dialog</managed-bean-name> - <managed-bean-class> - org.apache.shale.usecases.logon.Dialog - </managed-bean-class> - <managed-bean-scope>session</managed-bean-scope> - <managed-property> - <description> - Flag indicating that email confirmation must be sent and received - before a newly created username is activated. - </description> - <display-name>Confirmation Flag</display-name> - <property-name>confirmation</property-name> - <property-class>boolean</property-class> - <value>false</value> - </managed-property> - <managed-property> - <description> - Flag indicating that "remember me" cookies should be sent and - received. - </description> - <display-name>Remember Me Flag</display-name> - <property-name>rememberMe</property-name> - <property-class>boolean</property-class> - <value>true</value> - </managed-property> - </managed-bean> ---> - - <!-- ViewController Beans --> - -<!-- DEPRECATED - use new org.apache.shale.dialog support - <managed-bean> - <managed-bean-name>logon$logon</managed-bean-name> - <managed-bean-class> - org.apache.shale.usecases.logon.Logon - </managed-bean-class> - <managed-bean-scope>request</managed-bean-scope> - </managed-bean> - - <managed-bean> - <managed-bean-name>logon$profile1</managed-bean-name> - <managed-bean-class> - org.apache.shale.usecases.logon.Profile1 - </managed-bean-class> - <managed-bean-scope>request</managed-bean-scope> - </managed-bean> - - <managed-bean> - <managed-bean-name>logon$profile2</managed-bean-name> - <managed-bean-class> - org.apache.shale.usecases.logon.Profile2 - </managed-bean-class> - <managed-bean-scope>request</managed-bean-scope> - </managed-bean> - - <managed-bean> - <managed-bean-name>logon$profile3</managed-bean-name> - <managed-bean-class> - org.apache.shale.usecases.logon.Profile3 - </managed-bean-class> - <managed-bean-scope>request</managed-bean-scope> - </managed-bean> ---> <!-- Navigation Rules --> -<!-- DEPRECATED - use new org.apache.shale.dialog support - <navigation-rule> - <from-view-id>*</from-view-id> - <navigation-case> - <from-outcome>logon$authenticated</from-outcome> - <to-view-id>/usecases.jsp</to-view-id> - </navigation-case> - <navigation-case> - <from-outcome>logon$logon</from-outcome> - <to-view-id>/logon/logon.jsp</to-view-id> - </navigation-case> - <navigation-case> - <from-outcome>logon$profile1</from-outcome> - <to-view-id>/logon/profile1.jsp</to-view-id> - </navigation-case> - <navigation-case> - <from-outcome>logon$profile2</from-outcome> - <to-view-id>/logon/profile2.jsp</to-view-id> - </navigation-case> - <navigation-case> - <from-outcome>logon$profile3</from-outcome> - <to-view-id>/logon/profile3.jsp</to-view-id> - </navigation-case> - <navigation-case> - <from-outcome>logon$unauthenticated</from-outcome> - <to-view-id>/usecases.jsp</to-view-id> - </navigation-case> - </navigation-rule> ---> <navigation-rule> <navigation-case> <from-outcome>validate$test</from-outcome> @@ -267,6 +163,13 @@ <from-outcome>usecases$toplevel</from-outcome> <to-view-id>/usecases.jsp</to-view-id> </navigation-case> + </navigation-rule> + + + <!-- ============================ Rolodex Test =========================== --> + + + <navigation-rule> <!-- JSP View --> <navigation-case> @@ -319,8 +222,6 @@ <from-outcome>rolodex$test</from-outcome> <to-view-id>/rolodex/hrolodex.html</to-view-id> </navigation-case> - - </navigation-rule> <navigation-rule> @@ -642,5 +543,3 @@ </faces-config> - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]