Re: [flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here is what I have done to get a RemoteObject Array into the ComboBox. Then within the [Bindable] private var SchoolBuildingsDP:Array; private function GetSchoolBuildings_Result(event:ResultEvent):void { SchoolBuildingsDP = ArrayUtil.toArray(

RE: [flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread Tracy Spratt
is working and what is not and what is your goal? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of George Georgiou Sent: Monday, October 15, 2007 3:30 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: ComboBox p

RE: [flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread Alex Harui
: Monday, October 15, 2007 12:30 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: ComboBox populate list with remoteobject This simple task is really very confusing :-( I have been through tutorials, references with comboboxes and Arrays and this really appears very simple there

Re: [flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread George Georgiou
This simple task is really very confusing :-( I have been through tutorials, references with comboboxes and Arrays and this really appears very simple there. However when it comes to remoteobject it gets extremenly complicated :-( My guess is.. is there any easy way to convert my ArrayCollection

[flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread Randy Martin
Here's the code for the Adobe BindableComboBox.mxml that's generated by the ColdFusion Application Wizard. This will do what you want. http://www.adobe.com/2006/mxml " xmlns="*" creationComplete="componentInit()"> ~randy --- In flexcoders@yaho

[flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread T
I just found a solution. It appears that Flex does not support setting data_field or selectedValue properties. (Why not?!?! This seems like a basic core feature) Ben Forta created a custom combo to sort of do it: http://www.forta.com/blog/index.cfm/2006/11/22/Flex-ComboBox-With-select\ edValue

[flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread T Bone
I think you could get at your data field from wherever you need it by referencing like so: ((customer_name as ComboBox).selectedItem as Customer).customer_id; So for example you could bind a label to that. T --- In flexcoders@yahoogroups.com, "George Georgiou" <[EMAIL PROTECTED]> wrote: > >

[flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread T
Actually this is a good question, and I am in the same boat and also do not know the correct way to handle this. I have a value object in my data model that came from a table in a database via a RemoteObject call. The VO has an int field that is a foreign key reference to a record in the people t