Re: How to allow users enters html links in text input area and h ow t o display it

2004-08-03 Thread Bill Siggelkow
Hmmm -- if a user enters the following into the text area: My favorite site is a href='http://struts.apache.org'Struts/a Then you render this using bean:write filter=false/ it should work. If the users are just entering the URLs (the http://... part) then you will need to generate the a href part

RE: How to allow users enters html links in text input area and h ow t o display it

2004-08-03 Thread Jirole, Amar
We are displaying the text in text area as well. The reason we are doing this is we want to preserve para and other formatting info which gets lost in plain bean:write -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow Sent: Tuesday, August 03, 2004 10:03

Re: How to allow users enters html links in text input area and h ow t o display it

2004-08-03 Thread Bill Siggelkow
Well, text in a text area is not HTML markup -- it's just text -- to render the links you will have to output the data using bean:write filter=false -- since you need to preserve line breaks take a look at this thread http://marc.theaimsgroup.com/?l=struts-userm=106685398105831w=2 Good Luck!

RE: How to allow users enters html links in text input area and h ow t o display it

2004-08-03 Thread Jirole, Amar
Thanks for your help Bill -Amar -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow Sent: Tuesday, August 03, 2004 11:54 AM To: [EMAIL PROTECTED] Subject: Re: How to allow users enters html links in text input area and h ow t o display it Well, text in a