 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
KS Guest
|
Posted: Wed Apr 28, 2004 9:16 am Post subject: Struts and use of ApplicationMessages.properties |
|
|
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
|
Posted: Sat May 01, 2004 10:48 pm Post subject: Re: Struts and use of ApplicationMessages.properties |
|
|
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 |
|
 |
|
|
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
|
|