You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gp...@apache.org on 2008/11/14 23:35:32 UTC

svn commit: r714174 - in /myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp: WEB-INF/web.xml components/user_form.xhtml index.html

Author: gpetracek
Date: Fri Nov 14 14:35:31 2008
New Revision: 714174

URL: http://svn.apache.org/viewvc?rev=714174&view=rev
Log:
updated example

Modified:
    myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/WEB-INF/web.xml
    myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/components/user_form.xhtml
    myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/index.html

Modified: myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/WEB-INF/web.xml?rev=714174&r1=714173&r2=714174&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/WEB-INF/web.xml Fri Nov 14 14:35:31 2008
@@ -175,7 +175,7 @@
     <!-- Faces Servlet Mappings -->
     <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
-        <url-pattern>*.faces</url-pattern>
+        <url-pattern>/faces/*</url-pattern>
     </servlet-mapping>
 
     <servlet-mapping>

Modified: myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/components/user_form.xhtml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/components/user_form.xhtml?rev=714174&r1=714173&r2=714174&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/components/user_form.xhtml (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/components/user_form.xhtml Fri Nov 14 14:35:31 2008
@@ -16,10 +16,10 @@
         <tr:inputText label="first name" value="#{bean.person.firstName}"/>
         <tr:inputText label="last name" value="#{bean.person.lastName}"/>
         <tr:inputDate label="birthday" value="#{bean.person.birthday}">
-            <tr:convertDateTime type="date" dateStyle="short"/>
+            <tr:convertDateTime type="date" pattern="dd.MM.yyyy"/>
         </tr:inputDate>
         <tr:inputDate label="final exam" value="#{bean.person.finalExam}">
-            <tr:convertDateTime type="date" dateStyle="short"/>
+            <tr:convertDateTime type="date" pattern="dd.MM.yyyy"/>
         </tr:inputDate>
 
         <tr:inputText label="number of siblings" value="#{bean.numberOfSiblings}"/>

Modified: myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/index.html?rev=714174&r1=714173&r2=714174&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/index.html (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/examples/feature-set_01/src/main/webapp/index.html Fri Nov 14 14:35:31 2008
@@ -1,6 +1,6 @@
 <html>
 
 <head>
-    <meta http-equiv="refresh" content="0; URL=pages/home.faces">
+    <meta http-equiv="refresh" content="0; URL=faces/pages/home.xhtml">
 </head>
 </html>
\ No newline at end of file