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/Tapestry5HowToOverrideTheDefaultErrorMessageBanner

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]

Reply via email to