RE: BText and Unicode-encoded characters

Timo H Jarvinen <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi,

Has the BTextBuffer component already been implemented?

Timo
http://www.vtt.fi/


At 13:54 13.2.2003 -0500, Christian Cryder wrote:
>Ah, hmmm...yeah, I think you may be right here, now that you mention it. I
>was forgetting that the encoding is not happening at the time the
>_component_ is rendered, but rather at the time the _DOM_ is rendered.
>SO...it would seem to me that the only way around this would be to create a
>BTextBuffer component like I mentioned in the previous email, where each
>element that gets added will be backed by its own BText component, so that
>when it comes time to render into the DOM, each piece will be separate
>(rather than getting lumped together).
>
>I might be able to get to this over the weekend...would that be soon enough
>Timo?
>
>Christian
>
>----------------------------------------------
>Christian Cryder [[email protected]]
>Internet Architect, ATMReports.com
>Barracuda - http://barracudamvc.org
>----------------------------------------------
>"Coffee? I could quit anytime, just not today"
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]]On Behalf Of Richard Kunze
> > Sent: Thursday, February 13, 2003 10:37 AM
> > To: [email protected]
> > Subject: Re: [Barracuda] BText and Unicode-encoded characters
> >
> >
> > On Thursday 13 February 2003 13:37, Christian Cryder wrote:
> > > Try this:
> > >
> > > BText btext4 = new BText("" + btext1 + btext2 + btext3);
> >
> > Are you sure this works?
> >
> > If I'm not very much mistaken, this will simply create a new
> > BText component
> > containing the cocatenation of all the other BText's contents as one Java
> > String. And - because btext4 allows inlined markup and HTML
> > escaping takes
> > place at DOM output time - this will result in exactly the same
> > problems as
> > the original code....
> >
> >
> > --
> > Richard Kunze
> >
> > [ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
> > Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
> > http://www.tivano.de, [email protected]
> >
>
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.