You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ca...@apache.org on 2007/03/17 12:34:42 UTC

svn commit: r519288 - /myfaces/current12/test-webapp/src/main/webapp/WEB-INF/examples-config.xml

Author: cagatay
Date: Sat Mar 17 04:34:40 2007
New Revision: 519288

URL: http://svn.apache.org/viewvc?view=rev&rev=519288
Log:
Replaced faces-config dtd with 1.2's xsd, added a resource bundle

Modified:
    myfaces/current12/test-webapp/src/main/webapp/WEB-INF/examples-config.xml

Modified: myfaces/current12/test-webapp/src/main/webapp/WEB-INF/examples-config.xml
URL: http://svn.apache.org/viewvc/myfaces/current12/test-webapp/src/main/webapp/WEB-INF/examples-config.xml?view=diff&rev=519288&r1=519287&r2=519288
==============================================================================
--- myfaces/current12/test-webapp/src/main/webapp/WEB-INF/examples-config.xml (original)
+++ myfaces/current12/test-webapp/src/main/webapp/WEB-INF/examples-config.xml Sat Mar 17 04:34:40 2007
@@ -1,11 +1,10 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
 
-<!DOCTYPE faces-config PUBLIC
-  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
-  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd" >
-
-<faces-config>
-	
+<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>helloWorldBacking</managed-bean-name>
@@ -36,4 +35,11 @@
 			<to-view-id>/helloWorld.jsp</to-view-id>
 		</navigation-case>
 	</navigation-rule>
+	
+	<application>
+		<resource-bundle>
+			<base-name>test.messages</base-name>
+			<var>msg</var>
+		</resource-bundle>
+	</application>
 </faces-config>