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 2013/02/08 01:13:42 UTC

svn commit: r1443804 - /myfaces/core/branches/2.2.x/impl/src/test/resources/org/apache/myfaces/config/impl/digister/csrf-and-contracts.xml

Author: lu4242
Date: Fri Feb  8 00:13:41 2013
New Revision: 1443804

URL: http://svn.apache.org/r1443804
Log:
MYFACES-3691 Implement Faces Flows (faces-config.xml support)

Added:
    myfaces/core/branches/2.2.x/impl/src/test/resources/org/apache/myfaces/config/impl/digister/csrf-and-contracts.xml   (with props)

Added: myfaces/core/branches/2.2.x/impl/src/test/resources/org/apache/myfaces/config/impl/digister/csrf-and-contracts.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/impl/src/test/resources/org/apache/myfaces/config/impl/digister/csrf-and-contracts.xml?rev=1443804&view=auto
==============================================================================
--- myfaces/core/branches/2.2.x/impl/src/test/resources/org/apache/myfaces/config/impl/digister/csrf-and-contracts.xml (added)
+++ myfaces/core/branches/2.2.x/impl/src/test/resources/org/apache/myfaces/config/impl/digister/csrf-and-contracts.xml Fri Feb  8 00:13:41 2013
@@ -0,0 +1,34 @@
+<?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.
+-->
+<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">
+    <application>
+        <resource-library-contracts>
+            <contract-mapping>
+                <url-pattern>/files/*.xhtml</url-pattern>
+                <contracts>contractA contractB</contracts>
+            </contract-mapping>
+        </resource-library-contracts>
+    </application>
+    <protected-views>
+        <url-pattern>/files/*.xhtml</url-pattern>
+        <url-pattern>/files2/*.xhtml</url-pattern>
+    </protected-views>
+</faces-config>
\ No newline at end of file

Propchange: myfaces/core/branches/2.2.x/impl/src/test/resources/org/apache/myfaces/config/impl/digister/csrf-and-contracts.xml
------------------------------------------------------------------------------
    svn:eol-style = native