all groups > macromedia flash flash remoting > july 2004 >
You're in the

macromedia flash flash remoting

group:

Remoting Connector and visual data binding problem


Remoting Connector and visual data binding problem djeter234
7/21/2004 7:32:04 PM
macromedia flash flash remoting: I'm wondering if anyone has found the proper syntax for the formatter string to
use the 'rearrange fields' formatter to visually databind the new remoting
connector to a listbox or combobox

I've tried various things that would have worked with a web service connector
but i just keep getting a single 'undefined' line in my lists...

label=<name>;data=<mediaId>
label=name;data=mediaId
where name and mediaId are fields from my recordset don't seem to work

if i use no formatter, I do see the comma seperated list that represents my
records fine...


Re: Remoting Connector and visual data binding problem djeter234
7/21/2004 10:13:31 PM
I've also tried putting a dataset component between them and still no luck...

If I attach a datagrid to either the remotingConnector or the dataset
component both show my recordset just fine, and my column names are definitly
there and correct.

Any ideas??
Re: Remoting Connector and visual data binding problem djeter234
7/22/2004 8:26:45 PM
OK, i'm starting to think that this is a bug, as i notice that the remoting
connector component actually stores its results in an items[] array, whereas
web service connectors do not. Perhaps the databinding is not looking in the
right place

Please tell me someone in the know if the remoting connector was designed for
this kind of visual workflow or if i need to start coding
Re: Remoting Connector and visual data binding problem Nathan A Herald
7/26/2004 2:08:43 AM
On 2004-07-22 16:26:45 -0400, "djeter234" <webforumsuser@macromedia.com> said:

[quoted text, click to view]

I cannot get the databinding to work on the connector as well when the
webservice connector works just fine...I would like to see some example
of it working connecting to a dataset and then a datagrid...
--

://nah
Re: Remoting Connector and visual data binding problem djeter234
7/27/2004 1:07:45 AM
OK, i found a way to do this (visually - meaning from within the component
inspector) although it was by trial and error, and VERY frustrating MACROMEDIA.
Would have been nice to see this documented somewhere.

The resulting recordset for the remoting connector stores it's results in a
collection called items.

so when creating your databinding and rearranging fields, etc. you need to
click the results from the remoting connector and, do the bound to -> thing,
and inside the Bound To dialog you choose the results of the connector and then
click the 'use path expression' checkbox and enter 'items' as the path
expression.... then you can bind as we had done with the web service connector.

Also keep in mind that remoting results do not automatically get column names
in all caps.

I hope this helps some people.
Re: Remoting Connector and visual data binding problem angWebTeam
8/9/2004 4:16:02 PM
Re: Remoting Connector and visual data binding problem NewMXer
8/11/2004 12:22:58 AM
Hey, I just found a similar solution with details in another forum...check it out:
Just click on this link:

AddThis Social Bookmark Button