|
NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
|
| INTERACTIVE WEB SERVICES WITH JAVA |
|
The status icons mean:
the text is a legal string
the text is a proper prefix of a legal string
every extension of the text is an illegal string
The XHTML document looks like this:
<form>
<input type="text" name="email" size="30"/>
<p/>
<input type="submit" name="test" value="Submit"/>
</form>
and the validation is specified as follows:
<powerforms>
<constraint field="email">
<regexp pattern="[a-z0-9]+\@[a-z0-9]+(\.[a-z0-9]+)+"/>
</constraint>
</powerforms>
|
| COPYRIGHT © 2002-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |
|