Struts and use of ApplicationMessages.properties

K

KS

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top