• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: wocode TextDisplayFormatter and WOString's incorrect displays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 22:32:46 -0700

Ack.. it was EscapeHTML which was blocking it in WOString. I did not
realize that WOString defaults to setting this to TRUE if one does not
set it.


On Fri, 29 Oct 2004 15:56:21 -0700, Joe Little <email@hidden> wrote:
> 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

References: 
 >wocode TextDisplayFormatter and WOString's incorrect displays (From: Joe Little <email@hidden>)
 >Re: wocode TextDisplayFormatter and WOString's incorrect displays (From: Chuck Hill <email@hidden>)
 >Re: wocode TextDisplayFormatter and WOString's incorrect displays (From: Joe Little <email@hidden>)

  • Prev by Date: Re: wocode TextDisplayFormatter and WOString's incorrect displays
  • Next by Date: CSS with WOComponent
  • Previous by thread: Re: wocode TextDisplayFormatter and WOString's incorrect displays
  • Next by thread: CSS with WOComponent
  • Index(es):
    • Date
    • Thread