You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mirbek Nosinov <mi...@gmail.com> on 2007/09/10 08:10:39 UTC
Multiline key value in resource file
Hello
I am trying to make multiline key value in my resource file
Reource file is like "myRes.properties"
and in this file i want to include text like:
<h1>title</h1>
<p>Text Text Text Text Text Text
Text Text Text Text Text Text Text
Text Text Text Text Text Text Text
under key name : mykey
so content of my myRes.properties file is
mykey=<h1>title</h1> <p>Text Text Text Text Text Text
Text Text Text Text Text Text Text
Text Text Text Text Text Text Text
and my struts 2 application can recognize only first line: <h1>title</h1>
of my key value
how to make available all of the lines of my key value?
Re: Multiline key value in resource file
Posted by Moésio Medeiros <mo...@gmail.com>.
Inserting some <br/> even on the same line property doesn't work? You
could disregard html code behind the browser and format it when
rendering.
2007/9/10, Mirbek Nosinov <mi...@gmail.com>:
> Hello
>
> I am trying to make multiline key value in my resource file
> Reource file is like "myRes.properties"
> and in this file i want to include text like:
>
> <h1>title</h1>
> <p>Text Text Text Text Text Text
> Text Text Text Text Text Text Text
> Text Text Text Text Text Text Text
>
> under key name : mykey
> so content of my myRes.properties file is
> mykey=<h1>title</h1> <p>Text Text Text Text Text Text
> Text Text Text Text Text Text Text
> Text Text Text Text Text Text Text
>
> and my struts 2 application can recognize only first line: <h1>title</h1>
> of my key value
>
> how to make available all of the lines of my key value?
>
--
Moesio Medeiros
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org