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 2009/10/08 23:36:22 UTC
svn commit: r823334 - in
/myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp:
form1.jsp form2.jsp helloWorld.jsp violation.jsp
Author: gpetracek
Date: Thu Oct 8 21:36:21 2009
New Revision: 823334
URL: http://svn.apache.org/viewvc?rev=823334&view=rev
Log:
updates to be compatible with the latest jsr 303 version + hello world example
Modified:
myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form1.jsp
myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form2.jsp
myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/helloWorld.jsp
myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/violation.jsp
Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form1.jsp
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form1.jsp?rev=823334&r1=823333&r2=823334&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form1.jsp (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form1.jsp Thu Oct 8 21:36:21 2009
@@ -26,11 +26,11 @@
<h:form id="mainForm">
<h:panelGrid columns="3">
<h:outputLabel for="first_name" value="First name:"/>
- <h:inputText id="first_name" label="First name" value="#{helloWorld['person'].firstName}"/>
+ <h:inputText id="first_name" value="#{helloWorld['person'].firstName}"/>
<h:message for="first_name" showSummary="true" showDetail="false"/>
<h:outputLabel for="last_name" value="Last name:"/>
- <h:inputText id="last_name" label="Last name" value="#{helloWorld.person.lastName}"/>
+ <h:inputText id="last_name" value="#{helloWorld.person.lastName}"/>
<h:message for="last_name" showSummary="true" showDetail="false"/>
<h:commandButton value="Press me" action="#{helloWorld.send}"/>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form2.jsp
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form2.jsp?rev=823334&r1=823333&r2=823334&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form2.jsp (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/form2.jsp Thu Oct 8 21:36:21 2009
@@ -26,11 +26,11 @@
<h:form id="mainForm">
<h:panelGrid columns="3">
<h:outputLabel for="first_name" value="First name:"/>
- <h:inputText id="first_name" label="First name" value="#{helloWorld['person'].firstName}"/>
+ <h:inputText id="first_name" value="#{helloWorld['person'].firstName}"/>
<h:message for="first_name" showSummary="true" showDetail="false"/>
<h:outputLabel for="last_name" value="Last name:"/>
- <h:inputText id="last_name" label="Last name" value="#{helloWorld.person.lastName}"/>
+ <h:inputText id="last_name" value="#{helloWorld.person.lastName}"/>
<h:message for="last_name" showSummary="true" showDetail="false"/>
<h:commandButton value="Press me" action="#{helloWorld.send}"/>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/helloWorld.jsp
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/helloWorld.jsp?rev=823334&r1=823333&r2=823334&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/helloWorld.jsp (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/helloWorld.jsp Thu Oct 8 21:36:21 2009
@@ -26,11 +26,11 @@
<h:form id="mainForm">
<h:panelGrid columns="3">
<h:outputLabel for="first_name" value="First name:"/>
- <h:inputText id="first_name" label="First name" value="#{helloWorld.person.firstName}"/>
+ <h:inputText id="first_name" value="#{helloWorld.person.firstName}"/>
<h:message for="first_name" showSummary="true" showDetail="false"/>
<h:outputLabel for="last_name" value="Last name:"/>
- <h:inputText id="last_name" label="Last name" value="#{helloWorld.person.lastName}"/>
+ <h:inputText id="last_name" value="#{helloWorld.person.lastName}"/>
<h:message for="last_name" showSummary="true" showDetail="false"/>
<h:commandButton value="Press me" action="#{helloWorld.send}"/>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/violation.jsp
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/violation.jsp?rev=823334&r1=823333&r2=823334&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/violation.jsp (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/examples/hello_bean-validation/src/main/webapp/violation.jsp Thu Oct 8 21:36:21 2009
@@ -26,11 +26,11 @@
<h:form id="mainForm">
<h:panelGrid columns="3">
<h:outputLabel for="first_name" value="First name:"/>
- <h:inputText id="first_name" label="First name" value="#{helloWorld['person'].firstName}"/>
+ <h:inputText id="first_name" value="#{helloWorld['person'].firstName}"/>
<h:message for="first_name" showSummary="true" showDetail="false"/>
<h:outputLabel for="last_name" value="Last name:"/>
- <h:inputText id="last_name" label="Last name" value="#{helloWorld.person.lastName}"/>
+ <h:inputText id="last_name" value="#{helloWorld.person.lastName}"/>
<h:message for="last_name" showSummary="true" showDetail="false"/>
<h:commandButton value="Press me" action="#{helloWorld.send}"/>