diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-10 08:53:58 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-10 08:53:58 +0000 |
commit | 48d0bb3a29e48cebd023cdc959de42260c360e14 (patch) | |
tree | 4ab083582551a0eb41cdc05c7b6618023c3384ef /sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF | |
parent | 9c14ddd98774833f3b3c6817f62b59f8bf3fc432 (diff) |
Remove samples subfolder as its now in contrib and unreleased
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1069288 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF')
3 files changed, 0 insertions, 276 deletions
diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/faces-config.xml b/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/faces-config.xml deleted file mode 100644 index 99cee9faeb..0000000000 --- a/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/faces-config.xml +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. ---> -<faces-config version="1.2" - xmlns="http://java.sun.com/xml/ns/javaee" - xmlns:xi="http://www.w3.org/2001/XInclude" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"> - - <!-- managed beans of the simple hello world app --> - <managed-bean> - <managed-bean-name>helloWorld</managed-bean-name> - <managed-bean-class>sample.HelloWorldController</managed-bean-class> - <managed-bean-scope>request</managed-bean-scope> - </managed-bean> - - <!-- navigation rules for helloWorld.jsp --> - <navigation-rule> - <from-view-id>/helloWorld.jsp</from-view-id> - <navigation-case> - <from-outcome>success</from-outcome> - <to-view-id>/page2.jsp</to-view-id> - </navigation-case> - </navigation-rule> - - <!-- navigation rules for page2.jsp --> - <navigation-rule> - <from-view-id>/page2.jsp</from-view-id> - <navigation-case> - <from-outcome>back</from-outcome> - <to-view-id>/helloWorld.jsp</to-view-id> - </navigation-case> - </navigation-rule> - -</faces-config> diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/web.composite b/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/web.composite deleted file mode 100644 index 8976adde3c..0000000000 --- a/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/web.composite +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. ---> -<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" - xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" - targetNamespace="http://samples" - name="Helloworld"> - - <component name="foo"> - <implementation.web web-uri=""/> - <reference name="service" target="HelloworldComponent"/> - </component> - - <component name="HelloworldComponent"> - <implementation.java class="sample.HelloworldServiceImpl"/> - </component> - -</composite> diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index fecbd7c79b..0000000000 --- a/sca-java-2.x/trunk/samples/learning-more/implementation-web/helloworld-jsf/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,191 +0,0 @@ -<?xml version="1.0"?> -<!-- - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. ---> -<web-app xmlns="http://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"> - - <description>MyProject web.xml</description> - - <!-- The only web.xml change to the MyFaces Helloworld sample is to add - the Tuscany listener and annotation processor context parameter --> - <listener> - <listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class> - </listener> - <context-param> - <param-name>org.apache.myfaces.config.annotation.LifecycleProvider</param-name> - <param-value>org.apache.tuscany.sca.myfaces.TuscanyAnnotationLifecycleProvider</param-value> - </context-param> - - <!--optional: context-param> - <description>Comma separated list of URIs of (additional) faces config files. - (e.g. /WEB-INF/my-config.xml) - See JSF 1.0 PRD2, 10.3.2 - Attention: You do not need to put /WEB-INF/faces-config.xml in here. - </description> - <param-name>javax.faces.CONFIG_FILES</param-name> - <param-value>/WEB-INF/examples-config.xml</param-value> - </context-param--> - <context-param> - <description>State saving method: "client" or "server" (= default) - See JSF Specification 2.5.3</description> - <param-name>javax.faces.STATE_SAVING_METHOD</param-name> - <param-value>client</param-value> - </context-param> - <context-param> - <description>Only applicable if state saving method is "server" (= default). - Defines the amount (default = 20) of the latest views are stored in session.</description> - <param-name>org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION</param-name> - <param-value>20</param-value> - </context-param> - <context-param> - <description>Only applicable if state saving method is "server" (= default). - If true (default) the state will be serialized to a byte stream before it - is written to the session. - If false the state will not be serialized to a byte stream.</description> - <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name> - <param-value>true</param-value> - </context-param> - <context-param> - <description>Only applicable if state saving method is "server" (= default) and if - org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= default) - If true (default) the serialized state will be compressed before it - is written to the session. If false the state will not be compressed.</description> - <param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name> - <param-value>true</param-value> - </context-param> - <context-param> - <description>This parameter tells MyFaces if javascript code should be allowed in the - rendered HTML output. - If javascript is allowed, command_link anchors will have javascript code - that submits the corresponding form. - If javascript is not allowed, the state saving info and nested parameters - will be added as url parameters. - Default: "true"</description> - <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name> - <param-value>true</param-value> - </context-param> - <context-param> - <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name> - <param-value>false</param-value> - </context-param> - <context-param> - <description>If true, rendered HTML code will be formatted, so that it is "human readable". - i.e. additional line separators and whitespace will be written, that do not - influence the HTML code. - Default: "true"</description> - <param-name>org.apache.myfaces.PRETTY_HTML</param-name> - <param-value>true</param-value> - </context-param> - <context-param> - <description>If true, a javascript function will be rendered that is able to restore the - former vertical scroll on every request. Convenient feature if you have pages - with long lists and you do not want the browser page to always jump to the top - if you trigger a link or button action that stays on the same page. - Default: "false"</description> - <param-name>org.apache.myfaces.AUTO_SCROLL</param-name> - <param-value>true</param-value> - </context-param> - - <context-param> - <description>Used for encrypting view state. Only relevant for client side - state saving. See MyFaces wiki/web site documentation for instructions - on how to configure an application for diffenent encryption strengths. - </description> - <param-name>org.apache.myfaces.SECRET</param-name> - <param-value>NzY1NDMyMTA=</param-value> - </context-param> - - <context-param> - <description> - Validate managed beans, navigation rules and ensure that forms are not nested. - </description> - <param-name>org.apache.myfaces.VALIDATE</param-name> - <param-value>true</param-value> - </context-param> - - <context-param> - <description> - Treat readonly same as if disabled attribute was set for select elements. - </description> - <param-name>org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS</param-name> - <param-value>true</param-value> - </context-param> - - <context-param> - <description> - Use the defined class as the class which will be called when a resource is added to the - ExtensionFilter handling. Using StreamingAddResource here helps with performance. If you want to add - custom components and want to use the ExtensionFilter, you need to provide your custom implementation here. - </description> - <param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name> - <param-value>org.apache.myfaces.renderkit.html.util.DefaultAddResource</param-value> - </context-param> - - <context-param> - <description> - Virtual path in the URL which triggers loading of resources for the MyFaces extended components - in the ExtensionFilter. - </description> - <param-name>org.apache.myfaces.RESOURCE_VIRTUAL_PATH</param-name> - <param-value>/faces/myFacesExtensionResource</param-value> - </context-param> - - <context-param> - <description> - Check if the extensions-filter has been properly configured. - </description> - <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name> - <param-value>true</param-value> - </context-param> - - <context-param> - <description> - Define partial state saving as true/false. - </description> - <param-name>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name> - <param-value>false</param-value> - </context-param> - - <!-- Listener, to allow Jetty serving MyFaces apps --> - <listener> - <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> - </listener> - - <!-- Faces Servlet --> - <servlet> - <servlet-name>Faces Servlet</servlet-name> - <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> - <load-on-startup>1</load-on-startup> - </servlet> - - <!-- Faces Servlet Mapping --> - <servlet-mapping> - <servlet-name>Faces Servlet</servlet-name> - <url-pattern>*.jsf</url-pattern> - </servlet-mapping> - - <!-- Welcome files --> - <welcome-file-list> - <welcome-file>index.jsp</welcome-file> - <welcome-file>index.html</welcome-file> - </welcome-file-list> - -</web-app> |