You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Siddhartha Argollo <sl...@tre-ba.gov.br> on 2007/07/31 21:08:22 UTC
String in validator
Hi all,
Is it possible to use a string with spaces as a constraint for a validator?
For example: t:validate="required,date=dd/MM/yyyy HH:mm"
I tried without quotes, single quotes and double quotes, but I get a
syntax error caused by the space inside the constraint string.
Thanks,
Sid.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: String in validator
Posted by Jesse Kuhnert <jk...@gmail.com>.
\s ? Not sure. Could be a bug I suppose.
On 7/31/07, Siddhartha Argollo <sl...@tre-ba.gov.br> wrote:
> Hi all,
>
> Is it possible to use a string with spaces as a constraint for a validator?
> For example: t:validate="required,date=dd/MM/yyyy HH:mm"
> I tried without quotes, single quotes and double quotes, but I get a
> syntax error caused by the space inside the constraint string.
>
> Thanks,
>
> Sid.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Jesse Kuhnert
Tapestry/Dojo team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org