Try kingdoms_cb.selectedItem.value.toString()
-Daman
-Original Message-
From: pmarstonuoa [mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 10:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Newbie can't find selectedItem in comboBox when
dataProvider is remoteObject
Hi
Try kingdoms_cb.selectedItem.value.toString()
-Daman
-Original Message-
From: pmarstonuoa [mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 10:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Newbie can't find selectedItem in comboBox when
dataProvider is remoteObject
Hi
I got it working fine the old school
way
?xml version="1.0"
encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Script![CDATA[var
t =
[{label:'item1',data:1},{label:'item2',data:2}];]]/mx:Scriptmx:ComboBox
id="cb" dataProvider="{t}"/mx:ComboBoxmx:TextInput
Cheers Daman,
Can't seem to get that to work either. :-(
I'm wondering . . .. in the Flash IDE there was a remoting debugger that
would let me see what was getting passed back and forth - is there anything
like that in the Flex IDE?
Perhaps I need to put the remoting result into a Flex model
The [Object] object thing means you are trying to look at a complex
object, which selectedItem returns. SelectedItem is not a value, as you
might expect, but rather a reference to the row/node/object in the
dataProvider that populated that particular list item. What you probably
want is a
FastStart that has an object inspector in it. I
have not used it.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Phil Marston
Sent: Friday, July 01, 2005 11:17 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Newbie can't find
, on
the server console (wherever you are running the flex server).
Best
-Daman
-Original Message-
From: Phil Marston [mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 11:17 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Newbie can't find selectedItem in comboBox
when
HI Philippe,
Yes that works - when I use any of the documented examples it's fine, but
I'm not absolutely clear what the structure of the dataProvider is,
because it's the result object from a remoting call.
All I know is that in a normal Flash MX movie I can use the object as a
dataProvider
@yahoogroups.com
Subject: RE: [flexcoders] Newbie can't find selectedItem in comboBox
when dataProvider is remoteObject
There are couple of ways I check the payloads going back and forth
1) Flex Builder IDE has the Network monitor (Last tab in the Results
window) which does the trick.
2) You could set
Hi Tracy,
What you've described is exactly where I've been looking.
To be honest I'm not sure what the dataProvider looks like or what it is
beyond being an 'object' - in the Flash MX IDE I could look at what was
getting passed back and forth in the remoting debugger, but I'm not sure
how to
Woo hoo! :-)
The Net.Connection debugger did it and no one would've guessed what the
dataProvider looked like!
where I had
arg1{kingdoms_cb.selectedItem.label}/arg1
in my remotingObject's method . . .
. . . I needed
arg1{categories1.items[kingdoms_cb.selectedIndex].KINGDOM}/arg1
thanks for
At 12:07 01/07/2005 -0400, you wrote:
Additional note for Daman's option 2.)
After turning on remote-objects-debug in flex-config.xml, you'd either:
a) Use the NetConnection Debugger.swf from the extras folder that ships
with Flex to watch AMF traffic as you did in Flash MX.
That's my baby! I
: Friday, July 01, 2005 9:05 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Newbie can't find selectedItem in comboBox
when dataProvider is remoteObject
Hi Tracy,
What you've described is exactly where I've been looking.
To be honest I'm not sure what the dataProvider looks like or what
@yahoogroups.comSubject: RE: [flexcoders] Newbie can't find
selectedItem in comboBox when dataProvider is remoteObject
At 12:07 01/07/2005 -0400, you wrote:Additional note for
Daman's option 2.)After turning on remote-objects-debug in
flex-config.xml, you'd either:a) Use the NetConnection
Debugger.swf from
14 matches
Mail list logo