|
Try setting the labelField=”0”. This is because the List by default
expects an array of objects, each with a ”label” property. In the
case of a scalar array, you need to specify the array “column”. If
it was a 2d array, you could display any column in the list. Tracy From: I went into my .cfc and
removed the embedded quotes, so now my string looks like 'foo,morefoo,morefoo'.
now flex seems to be rendering the correct number of spaces in the drop down
box but the text is not showing. On 12/21/05, With the embedded quotes, huh? You might have to
process the string a bit more then. Experiment with split. You have
several options, strip out all the quotes (that would probably be my choice but
I'd need to experiment), strip off the beginning and end quotes and use
'", "' as the delimiter , or even handle the quotes in each
individual element. Here is a handy search/replace function: private function replace(sString:String, sFind:String,
sReplace:String):String { return sString.split( sFind ).join( sReplace
); } From: [email protected]
[mailto:[email protected]]
On Behalf Of Richard Hoska the cfc is passing this back "foo",
"morefoo", "evenmore", "etc" On
12/20/05, What does the string look like? You can use
split() to create an array YAHOO! GROUPS
LINKS
SPONSORED
LINKS
YAHOO!
GROUPS LINKS
|

