dataProviders do not "display" anything.  But whatever your display
component, there is a way to specify which property on the item you want
to display.

 

You say your dataProvider is an "array".  Are you sure?  How are you
sure?  Are you using the work "array" in its purely technical sense, or
in a more generic sense, that includes "associative array" and
"arrayCollection"?

 

If it is an Array, what is it an array of? (dynamic objects, scalar
values, xml nodes?)

 

What is your resultFormat?

 

Have you inspected your data in the result handler function?

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of anuj181
Sent: Monday, December 01, 2008 2:48 PM
To: [email protected]
Subject: [flexcoders] Is there any Name -Value Pair concept for Arrays?

 

Hi All
I am retrieving some data using HTTP from PostGres database. I would
be successfully able to put all the entries in UDN's in the list box
(using REST Calls). Now my requirement is that I need to display an
attribute name Friendly name which is already in the database as the
label (VISUAL entry ) in the list but when user performs different
operations like drag and drop, I need the complete string in form XML
to be send. So to make long story short I need to display friendly
name as list entries but behind the curtain that label have exact
complete value coming from the Database. Now is there any way that I
can tell my data provider (which is an Array in my case) that to
display just the specific attribute for the database and while doing
operation send the whole value.
Any links, examples and help will be appreciated.
Thanks
Anuj

 

Reply via email to