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 2010/11/26 19:37:46 UTC

svn commit: r1039503 - in /myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp: convertEnum.jsp validate.jsp validateCSV.jsp validateCompareTo.jsp validateUrl.jsp

Author: lu4242
Date: Fri Nov 26 18:37:45 2010
New Revision: 1039503

URL: http://svn.apache.org/viewvc?rev=1039503&view=rev
Log:
fix f:loadBundle position

Modified:
    myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/convertEnum.jsp
    myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validate.jsp
    myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCSV.jsp
    myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp
    myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateUrl.jsp

Modified: myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/convertEnum.jsp
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/convertEnum.jsp?rev=1039503&r1=1039502&r2=1039503&view=diff
==============================================================================
--- myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/convertEnum.jsp (original)
+++ myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/convertEnum.jsp Fri Nov 26 18:37:45 2010
@@ -36,6 +36,10 @@
 
 <body>
 <div id="container">
+    <f:loadBundle
+        basename="org.apache.myfaces.examples.resource.example_messages"
+        var="example_messages" />
+
    <h1><h:outputText value="#{example_messages['title']}"/></h1>
    <br/>
 <!--
@@ -44,10 +48,6 @@ managed beans used:
 -->
 
 
-	<f:loadBundle
-		basename="org.apache.myfaces.examples.resource.example_messages"
-		var="example_messages" />
-
 	<h:panelGroup id="body">
 
 		<h:form id="form1">

Modified: myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validate.jsp
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validate.jsp?rev=1039503&r1=1039502&r2=1039503&view=diff
==============================================================================
--- myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validate.jsp (original)
+++ myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validate.jsp Fri Nov 26 18:37:45 2010
@@ -33,6 +33,8 @@
 
 <body>
 <div id="container">
+   <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
    <h1><h:outputText value="#{example_messages['title']}"/></h1>
    <br/>
 
@@ -42,8 +44,6 @@ managed beans used:
 -->
 
 
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
     <h:panelGroup id="body">
 
         <h:messages showDetail="true" showSummary="false"/>

Modified: myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCSV.jsp
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCSV.jsp?rev=1039503&r1=1039502&r2=1039503&view=diff
==============================================================================
--- myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCSV.jsp (original)
+++ myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCSV.jsp Fri Nov 26 18:37:45 2010
@@ -32,6 +32,8 @@
 
 <body>
 <div id="container">
+   <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
    <h1><h:outputText value="#{example_messages['title']}"/></h1>
    <br/>
 
@@ -40,9 +42,6 @@ managed beans used:
     validateForm
 -->
 
-
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
     <h:panelGroup id="body">
     
     <h:messages showDetail="true" showSummary="false"/>

Modified: myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp?rev=1039503&r1=1039502&r2=1039503&view=diff
==============================================================================
--- myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp (original)
+++ myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp Fri Nov 26 18:37:45 2010
@@ -32,6 +32,8 @@
 
 <body>
 <div id="container">
+   <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
    <h1><h:outputText value="#{example_messages['title']}"/></h1>
    <br/>
 
@@ -41,8 +43,6 @@ managed beans used:
 -->
 
 
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
     <h:panelGroup id="body">
 
 	<h:form id="form1">

Modified: myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateUrl.jsp
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateUrl.jsp?rev=1039503&r1=1039502&r2=1039503&view=diff
==============================================================================
--- myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateUrl.jsp (original)
+++ myfaces/commons/trunk/examples/myfaces-commons-examples/src/main/webapp/validateUrl.jsp Fri Nov 26 18:37:45 2010
@@ -32,6 +32,8 @@
 
 <body>
 <div id="container">
+   <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
    <h1><h:outputText value="#{example_messages['title']}"/></h1>
    <br/>
 
@@ -41,8 +43,6 @@ managed beans used:
 -->
 
 
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
     <h:panelGroup id="body">
 
 	<h:form id="form1">