Hi Josh

thanks, it work with tapestry built in validators messages too.

i just add this method to my AppModule :

    public void contributeValidationMessagesSource(Configuration<String>
>             configuration) {
>         configuration.add
> ("org/shams/phonebook/ValidationMessages.properties");
>     }



On Dec 31, 2007 11:45 PM, Josh Canfield <[EMAIL PROTECTED]> wrote:

> I have only used this with validators that I've created, but you could try
> adding a new configuration source in your AppModule.
>
>    public void contributeValidationMessagesSource(Configuration<String>
> configuration) {
>        configuration.add
> ("com/thedailytube/ui/tapestry/validator/Messages.properties");
>    }
> Josh
>
> On Dec 31, 2007 3:46 AM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote:
>
> > Thanks Lauri,
> >
> > according to the wiki page, i create a ValidationMessage_fa.properties
> in
> > org.apache.tapestry.internal package. in its work fine.
> >
> > but, is there any better location to place this file instead of
> > org.apache.tapestry.internal ?
> >
> > On Dec 31, 2007 2:33 PM, Lauri Benno <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Take a look at
> > >
> > >
> >
> http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
> > >
> > >
> > > dalahoo wrote:
> > > >
> > > > Hi friends,
> > > >
> > > > where can i found validations messages catalog ?.
> > > > i want to add persian validation messages.
> > > >
> > > >
> > > > --
> > > > sincerely yours
> > > > M. H. Shamsi
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://www.nabble.com/-T5--how-to-change-validation-messages-for-others-locales-and-langs---tp14556003p14556372.html
> > > Sent from the Tapestry - User mailing list archive at Nabble.com<
> http://nabble.com/>
> > .
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > sincerely yours
> > M. H. Shamsi
> >
>
>
>
> --
> --
> TheDailyTube.com. Sign up and get the best new videos on the internet
> delivered fresh to your inbox.
>



-- 
sincerely yours
M. H. Shamsi

Reply via email to