I’m not sure why caps would makea
difference here. Bind it without caps.
{myRO.myMethod.result[0].givenname} etc.
For the FlashPaperLoader.as, that would go
in the same directory as your application mxml file (or in user_classes if you
wanted it shared).
Matt
From: cnewroth55
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005
10:55 AM
To: [email protected]
Subject: [flexcoders] CFC's and
Databinding in FLEX
I am using a cfc to make a call to one of our LDAP
servers that
contain info on our employees, I used the
Netdebugger and can see that
I am getting data back, but it is not in the
`usual' format (i.e when
I make a DB call in a CFC to one of my `regular'
db's, typically I get
the datafields back in CAPS) , I am enclosing what
the debugger
`sees'. Now because I am not getting it backin
CAPS then I cannot
bind the result to anything…also this code
is being used as a
`component' and I can see the call to the Web
service, but when I put
it in it's own application framework, it doesn't
work at all….
What the debugger sees;
[array] :
length[Number] : 1
[0][object] :
smallcaseID[String] : XXXXXX
smallcaseBuilding[String] : 33.3
smallcaseClock[String] : MXXXXXX
smallcaseDisplayName[String] : Newroth, Craig
smallcaseMailCode[String] : S034-1060
departmentNumber[String] : GT-XX-XXX
givenname[String] : Craig
initials[String] :
mail[String] : [EMAIL PROTECTED]
sn[String] : Newroth
telephoneNumber[String] : XXX-XXX-XXXX
also, Matt Chotin wrote an item in one of the
blogs on how to load a
flashpaper swf into flex, exactly what I am trying
to do with a file
that I converted to FlashPaper but am unsureas to
where to put the
.as file to make that work…
the url for the thing Matt wrote:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=117