AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Struts and use of ApplicationMessages.properties

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Language Programming
View previous topic :: View next topic  
Author Message
KS
Guest





PostPosted: Wed Apr 28, 2004 9:16 am    Post subject: Struts and use of ApplicationMessages.properties Reply with quote



We use struts and ApplicationMessages.properties to get i18n

Is it possible to bind several messages in ApplicationMessages.propertites
like this?
message1=bla
message2=blabla
message3=blablabla
bindmessages4=message1+message2+message3

Is it also possible to break up long text like this so it is not on one
loooong line, but more readably in ApplicationMessages.propertites like
this??:
message1=blalallalalal
blalalallala
blalallaal

KS



Back to top
nospam@tampabay.rr.com
Guest





PostPosted: Sat May 01, 2004 10:48 pm    Post subject: Re: Struts and use of ApplicationMessages.properties Reply with quote



On Wed, 28 Apr 2004 11:16:29 +0200, "KS" <katos75 (AT) hotmail (DOT) com> wrote:

Quote:
We use struts and ApplicationMessages.properties to get i18n

Is it possible to bind several messages in ApplicationMessages.propertites
like this?
message1=bla
message2=blabla
message3=blablabla
bindmessages4=message1+message2+message3

Is it also possible to break up long text like this so it is not on one
loooong line, but more readably in ApplicationMessages.propertites like
this??:
message1=blalallalalal
blalalallala
blalallaal


Don't think property files support the first idea, but you can put
message text on multiple lines like so:

message=This is a really
long message.

Pete

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Language Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.