@Inject
private Messages _errorMessages;
Try this!
2007/7/11, Adam Zimowski <[EMAIL PROTECTED]>:
Thanks, but I've seen that. It's not what I've been trying to do.
Rather than overriding the message I simply want my application to
read Errors.properties just like tapestry does it.
On 7/11/07, Do
Thanks, but I've seen that. It's not what I've been trying to do.
Rather than overriding the message I simply want my application to
read Errors.properties just like tapestry does it.
On 7/11/07, Donyee <[EMAIL PROTECTED]> wrote:
You can find it here!
http://wiki.apache.org/tapestry/Tapestry5How
You can find it here!
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
2007/7/11, Adam Zimowski <[EMAIL PROTECTED]>:
Okay, I still don't know a "Tap5" way of doing this, so this works,
although that's an ugly hack:
Template:
Page Class:
public String getBan
Okay, I still don't know a "Tap5" way of doing this, so this works,
although that's an ugly hack:
Template:
Page Class:
public String getBanner() {
if(_unknownError) {
return "Unknown Error";
}
else {
return getDefaultBanner();
}
Hi,
In my page class I'd like to retrieve the original value for
default-banner ("You must correct the following errors before you may
continue.") which is stored in Errors.properties in tapestry-core.jar.
I'd like to have this String accessible to my page class as a
property. Is there a field an