Author: hlship
Date: Thu Jun 28 12:15:34 2007
New Revision: 551666
URL: http://svn.apache.org/viewvc?view=rev&rev=551666
Log:
TAPESTRY-1610: Implement regular expression based input validation (client and
server)
Added:
tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms2.apt
Modified:
tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms.apt
tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/index.apt
tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/site.xml
Modified: tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms.apt?view=diff&rev=551666&r1=551665&r2=551666
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms.apt
(original)
+++ tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms.apt Thu Jun
28 12:15:34 2007
@@ -478,4 +478,14 @@
to put them in the message catalog rather than inside the annotation value.
And inside the message catalog, you can change and tweak the regular expressions
without having to restart the application each time.
-
\ No newline at end of file
+ We could go a bit further here, adding more regular expression validation for
+ phone numbers and e-mail addresses. We're also far from done in terms of
+ further customizations of the BeanEditForm component.
+
+ By now you are likely curious about what happens <after> the form submits
+ succesfully (without validation errors), so that's what we'll focus on next.
+
+====
+
+ {{{forms2.html}Continue on to Chapter 5: Forms in Tapestry, Part Two}}
+
\ No newline at end of file
Added: tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms2.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms2.apt?view=auto&rev=551666
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms2.apt (added)
+++ tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms2.apt Thu Jun
28 12:15:34 2007
@@ -0,0 +1,7 @@
+ ---
+ Forms in Tapestry
+ ---
+
+Chapter 5: Forms in Tapestry (Part Two)
+
+ <Still working on it!>
Modified: tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/index.apt?view=diff&rev=551666&r1=551665&r2=551666
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/index.apt
(original)
+++ tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/index.apt Thu Jun
28 12:15:34 2007
@@ -56,7 +56,7 @@
* About the Author
- Howard Lewis Ship is the creator of Tapestry, and the Chair of the Apache
Tapestry Project Management Committee at Apache.
+ Howard Lewis Ship is the creator of Tapestry, and the Chair of the Tapestry
Project Management Committee at Apache.
Howard is an independent software consultant, specializing in customized
Tapestry training, mentoring, architectural review and project work.
Howard lives in Portland, Oregon with his wife Suzanne, a novelist.
Modified: tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/site.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/site.xml?view=diff&rev=551666&r1=551665&r2=551666
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/site.xml (original)
+++ tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/site.xml Thu Jun 28
12:15:34 2007
@@ -50,6 +50,7 @@
<item name="Your First Application" href="first.html"/>
<item name="Hi/Lo Game" href="hilo.html"/>
<item name="Forms" href="forms.html"/>
+ <item name="Forms, pt 2" href="forms2.html"/>
</menu>