Hi!That shouldn't be needed in text areas... my guess is some kind of line feed representation problem. Mac (classic), Windows and UNIX all use different representations for line feeds. I don't recall what the browser uses, but it's probably different than what you have in the DB.
Yours Miguel Arroz On 2009/03/06, at 16:24, John Huss wrote:
How about using string.replace("\n", "<br/>") JohnOn Fri, Mar 6, 2009 at 10:09 AM, Theodore Petrosky <[email protected]> wrote:I know I saw an example somewhere... I just can't seem to find it again.I have text from my database that has returns (line feeds). If I just bind the text to a WOText area, the CRs and LFs are ignored.Can someone point me in the right direction. I need to convert the CR to <BR />... Ted _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com This email sent to [email protected]
........................... http://www.survs.com
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
