Yeah, I tried that one, not so good.
Using the page properties is the way to go, keeps the markup nice and clean too.
- Original Message -
From: Lance Java
To: Tapestry users
Sent: Thursday, May 23, 2013 2:32 PM
Subject: Re: validate regexp=^[A-Za-z0-9 ']+$ in tem
Ah, so use ' in place of '
I believe it's the apostrophe cos its a valid deliminator in HTML, thanks for
your suggestion (I bet it works!)
- Original Message -
From: Lance Java
To: Tapestry users
Sent: Thursday, May 23, 2013 2:04 PM
Subject: Re: validate regexp=^[A-Za-z0-9 ']+$ in templa
Your regex looks fine to me, perhaps tapestry is having troubles parsing
the string to a list of validators. I wonder if the space character is the
cause?
Tapestry allows you to specify regexes in prop files. Try this:
template:
prop file:
firstname-regexp=^[A-Za-z0-9 ']+$
On 23 May 2013 13:50,