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]