What I have done is just dump the data into a datagrid. Here is some of my
code:
private function returnHandler(e:ResultEvent):void
{
dgUsers.dataProvider = e.result;
}
<mx:DataGrid id="dgUsers" x="10" y="260" width="643"
click="populateFormHandler()" height="164">
<mx:columns>
<mx:DataGridColumn headerText="User ID" dataField="userID" />
<mx:DataGridColumn headerText="User Name" dataField="username" />
<mx:DataGridColumn headerText="First Name" dataField="firstname" />
<mx:DataGridColumn headerText="Last Name" dataField="lastname" />
</mx:columns>
</mx:DataGrid>
I have an app that I built to just try to do some of the basics which includes
a login and CRUD functionality. You can download it and hopefully learn from
the source code. http://www.jasonpresley.net/downloads/flexibleapp.zip
Hope that helps!
Jason
>Hi,
>
>Sorry for the noob question.
>
>I am calling a cfc via remote object:
>
><mx:RemoteObject
> id="dataManager"
> showBusyCursor="true"
> destination="ColdFusion"
> source="cfcs.portfolio">
>
><mx:method name="getPortfolio" result="returnHandler(event)"
>fault="Alert.show(event.fault.faultString)"/>
>
></mx:RemoteObject>
>
>I'm assuming that the method name should correspond to the function name
>that I want to call in the cfc?
>
>I don't seem to get any errors, so I'm assuming this call is happening fine,
>but how do I check? Is there the equivalent of cfdump in Flex?
>
>Cheers
>
>Will
>
>PS, after this, I want to 'loop' over the result of the remote object call
>and output it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5162
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37