hey,

May be too technical jargons are not needed in this issue.
incase in the first run you are storing the value in text area in a database
.Then y not append the the td and trs along with them using stringbuffer.
i guess when u would require to prepoulate the same data .It would display
the content value neatly.
We have used this kinda stuff in our project.
like we have a database column where we fill such kinda data -
example.
Complete<br><input type="checkbox" name="allchkbxcol"
onmouseup='doCheckCol(this)' onkeypress='doCheckCol(this)' value='1'>

As Craig mentioned I do not much know how efficient this would be.
But the resultswe get above  are neat enough .


2. Also in terms of text area i remember I had used somewhere wrap='virtual'
So that data displays neatly.

Chao.
Shilpa



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 11:50 AM
To: [EMAIL PROTECTED]
Subject: Re: How to render html embedded in a text-area?


[EMAIL PROTECTED] wrote:

>
>
>
>
>Looks like I went a bit over the top with the embedded html proposal.
>
>It seems the users would be content if whatever they'd keyed into a
>text-area looked the same when
>subsequently re-displayed as text in a document.
>
>ie just preserve the line-feeds, no need for bolding etc.
>
>Any ideas?
>

Maybe you could use Jakarta Taglibs to do this. Take a look at String tag
library:
http://jakarta.apache.org/taglibs/doc/string-doc/intro.html
especially the "string:replace" tag. I used it to put "<BR/>" where
line-feeds are.
http://jakarta.apache.org/taglibs/doc/string-doc/string-1.1.0/index.html#rep
lace
Ciao
Antonio


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 


"This e-mail message may contain confidential, proprietary or legally privileged 
information. It 
should not be used by anyone who is not the original intended recipient. If you have 
erroneously 
received this message, please delete it immediately and notify the sender. The 
recipient 
acknowledges that ICICI Bank or its subsidiaries and associated companies,  
(collectively "ICICI 
Group"), are unable to exercise control or ensure or guarantee the integrity of/over 
the contents of the information contained in e-mail transmissions and further 
acknowledges that any views 
expressed in this message are those of the individual sender and no binding nature of 
the message shall be implied or assumed unless the sender does so expressly with due 
authority of ICICI Group.Before opening any attachments please check them for viruses 
and defects." 


Reply via email to