You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/12/15 00:28:42 UTC

svn commit: r890552 - in /myfaces/orchestra/trunk/core20/src/main/resources/META-INF: ./ faces-config.xml orchestra.taglib.xml

Author: lu4242
Date: Mon Dec 14 23:28:42 2009
New Revision: 890552

URL: http://svn.apache.org/viewvc?rev=890552&view=rev
Log:
Update faces-config.xml and orchestra.taglib.xml to version 2.0

Added:
    myfaces/orchestra/trunk/core20/src/main/resources/META-INF/
    myfaces/orchestra/trunk/core20/src/main/resources/META-INF/faces-config.xml
    myfaces/orchestra/trunk/core20/src/main/resources/META-INF/orchestra.taglib.xml

Added: myfaces/orchestra/trunk/core20/src/main/resources/META-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core20/src/main/resources/META-INF/faces-config.xml?rev=890552&view=auto
==============================================================================
--- myfaces/orchestra/trunk/core20/src/main/resources/META-INF/faces-config.xml (added)
+++ myfaces/orchestra/trunk/core20/src/main/resources/META-INF/faces-config.xml Mon Dec 14 23:28:42 2009
@@ -0,0 +1,51 @@
+<?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 xmlns="http://java.sun.com/xml/ns/javaee" 
+              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" 
+              version="2.0">
+    <name>orchestra</name>
+
+    <application>
+        <variable-resolver>org.apache.myfaces.orchestra.viewController.jsf.ViewControllerVariableResolver</variable-resolver>
+    </application>
+
+    <component>
+        <component-type>org.apache.myfaces.orchestra.EndConversation</component-type>
+        <component-class>org.apache.myfaces.orchestra.conversation.jsf.components.UIEndConversation</component-class>
+    </component>
+    <component>
+        <component-type>org.apache.myfaces.orchestra.SeparateConversationContext</component-type>
+        <component-class>org.apache.myfaces.orchestra.conversation.jsf.components.UISeparateConversationContext</component-class>
+    </component>
+
+    <lifecycle>
+        <phase-listener>org.apache.myfaces.orchestra.conversation.jsf.AccessScopePhaseListener</phase-listener>
+        <phase-listener>org.apache.myfaces.orchestra.viewController.jsf.ViewControllerPhaseListener</phase-listener>
+    </lifecycle>
+
+    <factory>
+        <faces-context-factory>org.apache.myfaces.orchestra.lib.jsf.OrchestraFacesContextFactory</faces-context-factory>
+        <faces-context-factory>org.apache.myfaces.orchestra.requestParameterProvider.jsf.RequestParameterFacesContextFactory</faces-context-factory>
+    </factory>
+
+</faces-config>

Added: myfaces/orchestra/trunk/core20/src/main/resources/META-INF/orchestra.taglib.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core20/src/main/resources/META-INF/orchestra.taglib.xml?rev=890552&view=auto
==============================================================================
--- myfaces/orchestra/trunk/core20/src/main/resources/META-INF/orchestra.taglib.xml (added)
+++ myfaces/orchestra/trunk/core20/src/main/resources/META-INF/orchestra.taglib.xml Mon Dec 14 23:28:42 2009
@@ -0,0 +1,46 @@
+<?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.
+-->
+
+<facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
+              version="2.0">
+	<namespace>http://myfaces.apache.org/orchestra</namespace>
+
+	<tag>
+		<tag-name>separateConversationContext</tag-name>
+		<component>
+			<component-type>org.apache.myfaces.orchestra.SeparateConversationContext</component-type>
+		</component>
+	</tag>
+	
+	<tag>
+		<tag-name>endConversation</tag-name>
+		<component>
+			<component-type>org.apache.myfaces.orchestra.EndConversation</component-type>
+		</component>
+	</tag>
+	
+	<tag>
+		<tag-name>converter</tag-name>
+		<handler-class>org.apache.myfaces.orchestra.conversation.jsf.components.facelets.ConverterTagHandler</handler-class>
+	</tag>
+</facelet-taglib>
\ No newline at end of file