I am trying to get a better understanding on how the flex to ColdFusion CFC 
relationship actually works.  I have the following code that is correctly 
retrieving an array a day objects from my calendar CFC and displaying them.  
But I don’t see how one would get other properties from the calendar CFC.

I have this remoteObject which creates the link to the cfc as I understand it.

<mx:RemoteObject id="svc" destination="ColdFusion"
    source="flex.MobileCalendar.CF.MobileCalendar"
    result="resultHandler(event)"
    showBusyCursor="true" />

This RemoteObject is then connected to this function to handle the results; 
thus getting the Days Array property from the MobileCalendar CFC.

public function resultHandler(event:ResultEvent):void
{
    var p1:ArrayCollection = new ArrayCollection();
    p1.source=event.result as Array;
    days = p1;
}

The days array from this function is then bound to a tilelist with this line.

<mx:Binding source="days" destination="list.dataProvider"/>

And somehow the elements of the array are connected to Day.as object defination.

So what can I do in all of this to get other properties from the MobileCalendar 
CFC/Object?

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:37:2728
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/37
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:37
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to