Thanks a lot. That worked. Too bad I can't just set that on my top-level item and have 
it's children inherit it... I had to set it
on the item that contained the string.

I also had to set it *before* setting the string in. Why doesn't it just apply the 
filter or not apply the filter during
"toString()" instead of at storage time so that I could call "setFilterState" anytime 
I want.

kb

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Zeljko Trogrlic
> Sent: Thursday, December 16, 1999 10:21 AM
> To: ECS
> Subject: Re: Inserting blank space using ECS
>
>
> Hello,
>
> The only way I know is to add this to element and turn off elements filter
> with setFilterState(false).
>
> At 10:10 16.12.99 -0800, you wrote:
> >Hi, I have been using ECS and it works great. The only problem I have is
> >when I try to insert blanks ("spaces"). If I write:
> >addElement(" "), the html that gets generated looks like:
> >" nbsp;", and the browser output then looks like: "nbsp;". This
> >is being added to a TD, if that matters. I have checked the mailing list
> >archives, and the documentation, and still cannot figure
> >this out. I've also experimented with about a zillion permutations of how to
> >code it.
> >
> >How can I get a valid nbsp generated?
> >
> >I am also having trouble adding "BR"'s to get blank lines.
> >
> >kb
> >
> >
> >
> >--
> >------------------------------------------------------------
> >To subscribe:        [EMAIL PROTECTED]
> >To unsubscribe:      [EMAIL PROTECTED]
> >Archives and Other:  <http://java.apache.org/main/mail.html>
> >Problems?:           [EMAIL PROTECTED]
>
>
> Zeljko Trogrlic
> ____________________________________________________________
>
> @-solutions GmbH
> Grillparzer Str. 14; D-81675 Muenchen
> Tel.: 089/45 79 0-351; Fax.: 089/45 79 0-321
> Email: mailto:[EMAIL PROTECTED]  WWW: http://www.at-solutions.de
>
>
>
> --
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>



--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to