On Tue, 24 Jul 2012 21:25:28 -0300, gonzalomp87 <gonzalom...@gmail.com>
wrote:
The following code, the validators only work with javascript. If you
disable not displayed on the server side.
Why does this happen?
<form t:type="Form" t:id="uploadForm">
<t:errors/>
<input t:type= "upload" t:id= "file" t:value= "fileup"
t:validate=
"required, regexp" />
The required and regexp validators only work with strings, not
UploadedFile instances. It's a surprise for me they work client-side.
Consider that as a bonus.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org