Re: wocode TextDisplayFormatter and WOString's incorrect displays
Re: wocode TextDisplayFormatter and WOString's incorrect displays
- Subject: Re: wocode TextDisplayFormatter and WOString's incorrect displays
- From: Joe Little <email@hidden>
- Date: Fri, 29 Oct 2004 15:56:21 -0700
Nope. I am using the default constructor which sets HTMLBehaviorEscape
as the default. However, as I understand this, this only affects the
source from the database (removing html listed there) and doesn't
affect conversion of newlines to <BR> and such. That is set by the arg
ConvertsNewLines, and that by default is true.
On Fri, 29 Oct 2004 15:48:23 -0700, Chuck Hill <email@hidden> wrote:
> Did you add the binding
> escapeHTML = false
> to you WOString?
>
> Chuck
>
>
>
>
> On Oct 29, 2004, at 2:42 PM, Joe Little wrote:
>
> > I was wondering if anyone has used TextDisplayFormatter
> > (http://wocode.com/cgi-bin/WebObjects/WOCode.woa/2/wa/ShareCodeItem?
> > itemId=352)
> > to display properly rendered text using WOString and the Formatter
> > field? I've used this code, but sadly, its actually displaying the
> > <br>'s and such instead of rendering them correctly in the browser. It
> > would appear that its being further escaped by WOString. Any insight
> > her, or alternative Formatter's the correctly can take a large text
> > entry in a DB and properly handle newlines, etc?
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > village.net
> >
> > This email sent to email@hidden
> >
> --
> Practical WebObjects - a book for intermediate WebObjects developers
> who want to increase their overall knowledge of WebObjects, or those
> who are trying to solve specific application development problems.
> http://www.global-village.net/products/practical_webobjects
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden