Gotcha…I’ll try that. Thanks!
From: Matt Chotin
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005
1:11 PM
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders] mx:Link
component
The XML object probably converted the
characters into entities. The toString() does not
, February 09, 2005
9:10 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] mx:Link
component
Guys…the problem with my input is
it’s coming in from the RSS feed like this: “JPMorgan’s
Vice President blah blah blah” as the title of the article and when Iset
that title string to the value of
blah blah blah”
Why is this happening? I’m getting the apostrophe unencoded from
the feed but the label attribute of the mx:Link component is encoding it.
I haven’t tried reversing this process…maybe I’ll go try that
to first encode the titles coming from the feed and then passing the encoded
s
JesterXL wrote:
It's because the Link component's label is not html enabled.
Why, this seems to work fine for me:
function setLinkLabel()
{
link.label = "Manish's link";
}
I think the problem is somewhere else.
Christophe's blog reader example uses resultFormat="object" (default),
which doesn'
]
Subject: Re: [flexcoders] mx:Link
component
It's because the Link component's label is not html
enabled. HTML escapes like your seeing will render in an HTML enabled
TextArea for instance. I've tried all kind of hacks I can think of; none
work.
my_link.labelP
split("'").join("'");
str =
str.split(">").join("<");
str =
str.split("<").join(">");
- Original Message -
From: Robert Brueckmann
To: flexcoders@yahoogroups.com
Sent: Tuesday, February 08, 2005
mx:Text for the descriptive blurb that comes along with
each news article…the XML sends the titles with apostrophes and other
characters and when I set the value of the tag from the RSS XML
feed to the label attribute of the mx:Link component…the Link component
is transforming the characters, like
7 matches
Mail list logo