hi,

i thought, you want to replace the Trinidad build-in Strings;
>      <f:validator validatorId="org.apache.myfaces.validator.Email"/>
> If an invalid email adress is entered, the output
> "org.apache.myfaces.Email.INVALID" is generated, which I want to change
> according to my locale.

aren't there translations / messages for German in tomahawk?

-M

>
> I hope my problem is clear now.
> Thanks in advance
>
> Santa
>
>
>
>
> Matthias Wessendorf-4 wrote:
> >
> > Hello Santa,
> >
> > are you talking about replacing some "wordings" or "translations" ?
> >
> > That is possible w/ a res.bundle;
> > You can see in the trinidad-skins.xml in the demo bundle how you can add
> > a resource bundle name:
> >
> > <skin>
> > <id>
> > purple.desktop
> > </id>
> > <family>
> > purple
> > </family>
> > <render-kit-id>
> > org.apache.myfaces.trinidad.desktop
> > </render-kit-id>
> > <style-sheet-name>
> > skins/purple/purpleSkin.css
> > </style-sheet-name>
> > <bundle-name>
> > org.apache.myfaces.trinidaddemo.resource.SkinBundle
> > </bundle-name>
> > </skin>
> >
> > And the resource bundle code looks like this:
> >
> > package org.apache.myfaces.trinidaddemo.resource;
> >
> > import java.util.ListResourceBundle;
> >
> > public class SkinBundle extends ListResourceBundle
> > {
> > @Override
> > public Object[][] getContents()
> > {
> > return _CONTENTS;
> > }
> >
> > static private final Object[][] _CONTENTS =
> > {
> > {"af_tableSelectMany.SELECT_COLUMN_HEADER", "Select A Lot"},
> > {"af_tableSelectOne.SELECT_COLUMN_HEADER", "Select Just One"},
> > ...,
> > };
> >
> > HTH,
> > Matthias
> >
> > On Dec 5, 2007 10:08 PM, Santa_Claus <[EMAIL PROTECTED]> wrote:
> >>
> >> Hello,
> >>
> >> I want to change the properties of the <tr:message> tag manually. How can
> >> this be done?
> >>
> >> Thanks for your help!
> >> --
> >> View this message in context:
> >> http://www.nabble.com/-Trinidad--messages-tf4952319.html#a14180692
> >> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > mail: matzew-at-apache-dot-org
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/-Trinidad--messages-tf4952319.html#a14193898
>
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to