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/10/01 07:33:42 UTC
svn commit: r451717 - in /shale/framework/trunk:
shale-apps/shale-usecases/src/main/java/org/apache/shale/usecases/remote/
shale-apps/shale-usecases/src/main/webapp/
shale-apps/shale-usecases/src/main/webapp/WEB-INF/
shale-apps/shale-usecases/src/test/...
Author: craigmcc
Date: Sat Sep 30 22:33:41 2006
New Revision: 451717
URL: http://svn.apache.org/viewvc?view=rev&rev=451717
Log:
Remove the deprecated 'org.apache.shale.remote' package, and its
associated use cases tests.
SHALE-299
Removed:
shale/framework/trunk/shale-apps/shale-usecases/src/main/java/org/apache/shale/usecases/remote/
shale/framework/trunk/shale-apps/shale-usecases/src/test/java/org/apache/shale/usecases/remote/
shale/framework/trunk/shale-core/src/main/java/org/apache/shale/remote/
Modified:
shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/chain-config.xml
shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/usecases.jsp
shale/framework/trunk/shale-core/src/main/resources/org/apache/shale/faces/shale-config.xml
Modified: shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/chain-config.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/chain-config.xml?view=diff&rev=451717&r1=451716&r2=451717
==============================================================================
--- shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/chain-config.xml (original)
+++ shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/chain-config.xml Sat Sep 30 22:33:41 2006
@@ -24,73 +24,11 @@
<catalog name="shale">
<chain name="preprocess">
- <!-- Perform remote request processing for matching requests -->
- <!-- Successful match will terminate the processing chain -->
- <command className="org.apache.commons.chain.generic.LookupCommand"
- catalogName="shale"
- name="remote"
- optional="true"/>
-
<!-- Disallow direct access to JSP and JSFP resources -->
<command className="org.apache.shale.application.ContextRelativePathFilter"
includes="\S*\.xml,\S*\.faces,\S*\.html,\S*\.gif,\S*\.jpg,/index\.jsp"
excludes="\S*\.jsp,\S*\.jspf"/>
</chain>
- </catalog>
-
-
- <!-- ========== Remote Processing Commands =============================== -->
-
- <catalog name="remote">
-
- <!-- NOTE - alternate implementations are provided to illustrate choices -->
-
- <!-- This implementation uses the generic EvaluateExpression and
- BasicListCompletions classes from the core library. -->
- <chain name="/list/stateNames.remote">
- <command className="org.apache.shale.remote.EvaluateExpression"
- expression="#{domains.stateNames}"
- attributeKey="strings"/>
- <command className="org.apache.shale.remote.BasicListCompletions"/>
- </chain>
-
- <!-- This implementation subclasses AbstractListCompletions and
- implements the legal() method to return the appropriate data. -->
- <command name="/list/stateNames.remote"
- className="org.apache.shale.usecases.remote.ListStateNames"/>
-
- <!-- This implementation uses the generic EvaluateExpression and
- BasicSelectItems classes from the core library. -->
- <!--
- <chain name="/list/supportedCategories.remote">
- <command className="org.apache.shale.remote.EvaluateExpression"
- expression="#{domains.supportedCategories}"
- attributeKey="selectItems"/>
- <command className="org.apache.shale.remote.BasicSelectItems"/>
- </chain>
- -->
-
- <!-- This implementation subclasses AbstractSelectItems and
- implements the legal() method to return the appropriate data. -->
- <command name="/list/supportedCategories.remote"
- className="org.apache.shale.usecases.remote.ListCategories"/>
-
- <!-- This implementation uses the generic EvaluateExpression and
- BasicSelectItems classes from the core library. -->
- <!--
- <chain name="/list/supportedLocales.remote">
- <command className="org.apache.shale.remote.EvaluateExpression"
- expression="#{domains.supportedLocales}"
- attributeKey="selectItems"/>
- <command className="org.apache.shale.remote.BasicSelectItems"/>
- </chain>
- -->
-
- <!-- This implementation subclasses AbstractSelectItems and
- implements the legal() method to return the appropriate data. -->
- <command name="/list/supportedLocales.remote"
- className="org.apache.shale.usecases.remote.ListLocales"/>
-
</catalog>
Modified: shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/usecases.jsp
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/usecases.jsp?view=diff&rev=451717&r1=451716&r2=451717
==============================================================================
--- shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/usecases.jsp (original)
+++ shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/usecases.jsp Sat Sep 30 22:33:41 2006
@@ -57,26 +57,6 @@
<h:outputText value="#{messages['usecases.locale']}"/>
</h:commandLink>
-<%--
- <h:commandLink id="logon"
- action="#{logon$dialog.enter}"
- rendered="#{empty user}">
- <h:outputText value="#{messages['usecases.logon']}"/>
- </h:commandLink>
-
- <h:commandLink id="edit"
- action="#{logon$dialog.edit}"
- rendered="#{!(empty user)}">
- <h:outputText value="#{messages['usecases.edit']}"/>
- </h:commandLink>
-
- <h:commandLink id="logoff"
- action="#{logon$dialog.logoff}"
- rendered="#{!(empty user)}">
- <h:outputText value="#{messages['usecases.logoff']}"/>
- </h:commandLink>
---%>
-
<h:commandLink id="logon"
action="dialog:Log On"
rendered="#{empty user}">
@@ -133,40 +113,6 @@
target="_new">
<h:outputText value="#{messages['usecases.locales']}"/>
</h:outputLink>
-
- </h:panelGrid>
-
- <h1><h:outputText value="#{messages['usecases.java']}"/></h1>
-
- <h:panelGrid columns="1">
-
- <h:outputLink id="javaCategories"
- value="list/supportedCategories.remote"
- target="_new">
- <h:outputText value="#{messages['usecases.categories']}"/>
- </h:outputLink>
-
- <h:outputLink id="javaLocales"
- value="list/supportedLocales.remote"
- target="_new">
- <h:outputText value="#{messages['usecases.locales']}"/>
- </h:outputLink>
-
- </h:panelGrid>
-
- <h1><h:outputText value="#{messages['usecases.jsp']}"/></h1>
-
- <h:panelGrid columns="1">
-
- <h:commandLink id="jspCategories"
- action="lookup$listCategories">
- <h:outputText value="#{messages['usecases.categories']}"/>
- </h:commandLink>
-
- <h:commandLink id="jspLocales"
- action="lookup$listLocales">
- <h:outputText value="#{messages['usecases.locales']}"/>
- </h:commandLink>
</h:panelGrid>
Modified: shale/framework/trunk/shale-core/src/main/resources/org/apache/shale/faces/shale-config.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-core/src/main/resources/org/apache/shale/faces/shale-config.xml?view=diff&rev=451717&r1=451716&r2=451717
==============================================================================
--- shale/framework/trunk/shale-core/src/main/resources/org/apache/shale/faces/shale-config.xml (original)
+++ shale/framework/trunk/shale-core/src/main/resources/org/apache/shale/faces/shale-config.xml Sat Sep 30 22:33:41 2006
@@ -73,16 +73,4 @@
</chain>
-->
- <!-- ===================== Remote Requests =============================== -->
-
- <chain name="remote">
-
- <!-- Perform remote request processing for any request whose context -->
- <!-- relative path ends with "*.remote" -->
- <command className="org.apache.shale.remote.RemoteCommand"
- catalogName="remote"
- patterns="\S*\.remote"/>
-
- </chain>
-
</catalog>