also good idea for language translation glad to hear that worked for you Martin ______________________________________________ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided.
> From: yarongo...@msn.com > To: user@struts.apache.org > Subject: RE: Any way to have multi-line text to be retrieved by s:text? > Date: Sun, 29 Mar 2009 09:26:55 +0800 > > Solved by using: <s:property escape="false" > value="%{getText('Description')}" /> > > Thanks for the help! > > -----Original Message----- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: Sunday, March 29, 2009 12:06 AM > To: Struts Users Mailing List > Subject: RE: Any way to have multi-line text to be retrieved by s:text? > > > Good Morning Yaron- > did you get a chance to look at implementing wrapped text with struts > textarea > http://struts.apache.org/2.x/docs/textarea.html > ? > Martin > ______________________________________________ > Disclaimer and confidentiality note > This message is confidential and may be privileged. If you are not the > intended recipient, we kindly ask you to please inform the sender. Any > unauthorised dissemination or copying hereof is prohibited. This message > serves for information purposes only and shall not have any legally binding > effect. Given that e-mails can easily be subject to manipulation, we can not > accept any liability for the content provided. > > > > > > > > From: yarongo...@msn.com > > To: user@struts.apache.org > > Subject: RE: Any way to have multi-line text to be retrieved by s:text? > > Date: Sat, 28 Mar 2009 22:45:34 +0800 > > > > Hey Pawel, > > > > Thanks for getting back to me. I guess I wasn't really clear about what I > > was hoping to achieve. > > > > Say I have a large chunk of text (consisting of multiple paragraphs) that > I > > want to display in an HTML file. > > Of course, the length of it may differ for different crowds, as well as > the > > content. > > In the package.properties file, I'd be happy to see something like the > > following (I believe this works with normal Java properties files): > > > > My.Property=<p>My product is a great product. Ever since I started using > > Struts it's only become better. \ > > This is due to it's ease of use and performance. There is, of > > course, one small problem.</p> \ > > <p>I can't get properties stored in multi-line format in > > package.properties since s:text only reads \ > > the first line of my text</p> \ > > <p>HELP!</p> > > > > That's pretty much what I'm looking for -storing multi-line text in the > > package.properties file itself (so as to make the file readable). > > The formatting for HTML would be either in the text itself (as above), or > > later be parsed somehow to add paragraphs, etc. > > > > Thanks! > > Yaron Golan > > > > -----Original Message----- > > From: Paweł Wielgus [mailto:poulw...@gmail.com] > > Sent: Saturday, March 28, 2009 10:30 PM > > To: Struts Users Mailing List > > Subject: Re: Any way to have multi-line text to be retrieved by s:text? > > > > Hi Yaron, > > why not use standard < BR > for that? > > > > best greetings, > > Pawel Wielgus. > > > > 2009/3/28, yarongo...@msn.com <yarongo...@msn.com>: > > > I'm interested in storing multi-line information that would later be > > > retrieved into s:text (for instance, text to be displayed in the "about > > us" > > > page in a site). > > > > > > Is it possible to do so? > > > > > > > > > > > > I've tried the common "\" in the properties file, but s:text only > returns > > > the first line in that case. > > > > > > > > > > > > Thanks > > > > > > Yaron > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > _________________________________________________________________ > Express your personality in color! Preview and select themes for HotmailR. > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX > _WL_HM_express_032009#colortheme > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ Windows LiveT SkyDrive: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009