If your familiar with using actionscript and remoting...
You have the following functions when remoting... (these may not be copy and
pastable... but they are off the top of my head, you may have to google
them...
onResult(); // means the call was good
onStatus(); // means the call was bad
when you remote to your cfc to call the function you want to get the query
to fill the combo... you would do something like the following...
//get service
myService = connection.getService("component", responseHandler );
//make call
myService.getQuery (Arguments);
in your flex code, set the click="function();" of the checkbox... then in
your actionscript...
you probably just set the dataprovider of your combobox = the results from
the cfc...
don't have any good examples... I have just messed with flash forms a lot...
in coldfusion, and remoted a ton... and the same principles apply in flex
you just have to use actionscript 3 if your coding in flex 2...
so look up some examples of connecting to a cfc in flex... and then I'm sure
however you connect it's through remoting... and that's where you will set
the dataprovider of your
combobox = results;
sorry I don't have any examples...
check http://www.beta.killtheheart.com
I use remoting between 3 grids...
-----Original Message-----
From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 11, 2006 12:32 PM
To: CF-Talk
Subject: Re: Flex question
Been there, didn't find anything helpful for this. Thanks though.
Teddy Payne wrote:
> I recommend the Flex Coders Yahoo Group:
>
> http://tech.groups.yahoo.com/group/flexcoders/
>
> Teddy
>
> On 10/11/06, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
>
>>So, if I have a DataGrid, populated by a db, and I have a checkbox. When
>>a user clicks on the checkbox I want it to affect the combo box in the
>>adjacent column (same data record). Anyone have an example of how I
>>would go about this?
>>
>>Cutter
>>______________
>>http://blog.cutterscrossing.com
>>
>>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256406
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4