Peter, Matt, and All;
doing what Mat Suggested and the same advice and Help from Mr. Hoyt at MM; the example that Matt gave was the solution;
{myRO.myMethod.result[0].givenname}
the final little clue was the "[0]" after the .result - as the object being returned was a single object, doing that then the column name allowed me to complete the binding to my control...
THANKS to all who responded...
Craig Newroth


Peter Farland <[EMAIL PROTECTED]> wrote:
What version of CF are you using?
 
 
 
-----Original Message-----
From: Matt Chotin [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 2:01 AM
To: [email protected]
Subject: RE: [flexcoders] CFC's and Databinding in FLEX

I'm not sure why caps would make a 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 back in 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 unsure as 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











Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to