You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Otho <ta...@googlemail.com> on 2007/05/31 14:34:06 UTC

Localization of validation messagges and their css

Hi all,
is there a better/more standard way to localize validation errors than to
create org.apache.tapestry.internal.ValidationMessages_xx_XX.properties and
org.apache.tapestry.corelib.components.Errors_xx_XX.properties in resources
package? And where do I override the css?
Regards,
Otho

Re: Localization of validation messagges and their css

Posted by Otho <ta...@googlemail.com>.
Thanks! Too obvious to find it out myself... :)

2007/5/31, Juan Maya <ma...@gmail.com>:
>
> To override you need to add the css styles u want to override in u r own
> style sheet.
>

Re: Localization of validation messagges and their css

Posted by Juan Maya <ma...@gmail.com>.
To override you need to add the css styles u want to override in u r own
style sheet. For example, if u want to override the tapestry style:
div.t-error you create:
newStyles.css
div.t-error {
    border: 1px solid red;
    padding: 0px;
    margin: 4px 0px;
}

then u include the css in ur page and that's all :)

On 5/31/07, Otho <ta...@googlemail.com> wrote:
>
> Hi all,
> is there a better/more standard way to localize validation errors than to
> create org.apache.tapestry.internal.ValidationMessages_xx_XX.propertiesand
> org.apache.tapestry.corelib.components.Errors_xx_XX.properties in
> resources
> package? And where do I override the css?
> Regards,
> Otho
>