Actually I figured it out and the verdict is yes I am an
idiot....anyway....if you go to the
DevWiki(http://tapestry.apache.org/tapestry5/tap5devwiki.html)
And search for "ValidatorSamples" you'll find my custom validators....hope
this helps someone....I also provided the app module code for contributing
new validation messages and the actual validators)

Jon



-----Original Message-----
From: Jonathan Glanz [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 20, 2007 8:19 AM
To: 'Tapestry users'
Subject: RE: T5 Validator

All, I've got a couple of completely functional valdators now and I wanted
to post them with a quick howto on the wiki.....one problem.....I can't
figure out how to create a new page.....can someone provide some insight :-)

I'm am using the DevWiki link on the tapestry 5 home page.

-Cheers, Jon

-----Original Message-----
From: Chris Lewis [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 17, 2007 11:04 AM
To: Tapestry users
Subject: Re: T5 Validator

Another option is to provide and explicit banner parameter to the error 
component. You may not like having to set it explicitly, but I 
personally prefer doing that to overriding the prop file found on the 
class path (fyi, adding a 'default-banner' message to the application 
catalog doesn't work). It'd be nice if there were a simpler location to 
have these message catalogs..
Anyway, here's what your component might look like:

<t:errors banner="literal:Way to go jackass - you BLEW IT!"/>

chris

Nick Westgate wrote:
> See:
>
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessage
Banner 
>
>
> Also, when you get your validator working, please consider adding it 
> to the wiki:
> http://wiki.apache.org/tapestry/Tapestry5HowTos
>
> Cheers,
> Nick.
>
>
> DougS wrote:
>> Also, is it possible to
>> override the default error message that shows at the top of the page 
>> (which
>> says "You must correct the following errors before you may continue.")?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to