Re: Validate regexp error

2007-10-15 Thread Josh Canfield
What build of Tapestry are you using? While I've never used @Validate before I believe it should work the same. Have you created a form field to see if it's specific to the annotation? Josh On 10/15/07, mogulwraith <[EMAIL PROTECTED]> wrote: > > > Tapestry 5 > To restate, Im trying to do somethi

Re: Validate regexp error

2007-10-15 Thread mogulwraith
Tapestry 5 To restate, Im trying to do something similar to the documentation listed near the end of this page http://tapestry.apache.org/tapestry5/tutorial1/forms.html for your convenience the sample code is as follows: @Validate("required,regexp=\\d{5}(-\\d{4})?") public String getZip() {

Re: Validate regexp error

2007-10-12 Thread mogulwraith
I was using the Validate annotation. it gave me this: Failure reading parameter validate of component core/PropertyEditBlocks:textfield: Unknown validator type 'regexp'. Configured validators are max, maxlength, min, minlength, required. Josh Canfield-2 wrote: > > Can you provide us some co

Re: Validate regexp error

2007-10-12 Thread Josh Canfield
Can you provide us some code and error message? It should look something like this... Josh On 10/12/07, mogulwraith <[EMAIL PROTECTED]> wrote: > > > The documentation shows a validation of a zip code but an Unknown > Validator > error is produced. > What do I need to do differently than what i