You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by ka...@nekoconeko.nl on 2009/06/03 09:12:04 UTC

T5: Validation title message

Hi,  

On top of the validation messages there is an english sentence: "You must
correct the following errors before you may continue."

Is it possible to override this message?

Thanks in common,
Yours,
Kasper

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Validation title message

Posted by Ulrich Stärk <ul...@spielviel.de>.
Yes, I do ;-)

- Changing your browser's locale AND the list of supported locales 
(SymbolConstants.SUPPORTED_LOCALES, see the Configuration section in the user's guide) will display 
that message in the desired locale
- to overwrite it for a specific locale put a file Errors_<locale>.properties inside a directory 
org/apache/tapestry5/corelib/components on your classpath (see 
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner and search the 
mailing list archives)

Uli

kasper@nekoconeko.nl schrieb:
> Thanks, but do you also know how?
> 
> Yours,
> Kasper
> 
> On Wed, 03 Jun 2009 09:29:58 +0200, Ulrich Stärk <ul...@spielviel.de> wrote:
>> Yes it is.
>>
>> Uli
>>
>> kasper@nekoconeko.nl schrieb:
>>> Hi,
>>>
>>> On top of the validation messages there is an english sentence: "You
>> must
>>> correct the following errors before you may continue."
>>>
>>> Is it possible to override this message?
>>>
>>> Thanks in common,
>>> Yours,
>>> Kasper
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Validation title message

Posted by ka...@nekoconeko.nl.
Thanks, but do you also know how?

Yours,
Kasper

On Wed, 03 Jun 2009 09:29:58 +0200, Ulrich Stärk <ul...@spielviel.de> wrote:
> Yes it is.
> 
> Uli
> 
> kasper@nekoconeko.nl schrieb:
>> Hi,
>>
>> On top of the validation messages there is an english sentence: "You
> must
>> correct the following errors before you may continue."
>>
>> Is it possible to override this message?
>>
>> Thanks in common,
>> Yours,
>> Kasper
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Validation title message

Posted by Ulrich Stärk <ul...@spielviel.de>.
Yes it is.

Uli

kasper@nekoconeko.nl schrieb:
> Hi,  
> 
> On top of the validation messages there is an english sentence: "You must
> correct the following errors before you may continue."
> 
> Is it possible to override this message?
> 
> Thanks in common,
> Yours,
> Kasper
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Validation title message

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Wed, Jun 3, 2009 at 4:12 AM,  <ka...@nekoconeko.nl> wrote:
> Hi,

Hi!

> On top of the validation messages there is an english sentence: "You must
> correct the following errors before you may continue."
> Is it possible to override this message?

You can use the message parameter of the Errors component. Tapestry
has message translations for many languages. If your language (Dutch?)
is not included, you can provide the translations so the committers
can add them to Tapestry. ;)

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Validation title message

Posted by Borut Bolčina <bo...@gmail.com>.
Hi,

see this wiki entry:
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner

Cheers,
Borut

2009/6/3 <ka...@nekoconeko.nl>

> Hi,
>
> On top of the validation messages there is an english sentence: "You must
> correct the following errors before you may continue."
>
> Is it possible to override this message?
>
> Thanks in common,
> Yours,
> Kasper
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>