Hi all - I'm still running around in circles trying to get a certain
type of functionality from CF/Flex2.
I have a Coldfusion CFC sending data to Flex2. I've been fine doing
this in a number of ways - HTTPService read from xml built by CF, or a
WebService reading an array return from CF, etc.
What I'm having trouble with is 1) editing the data returned in the
Flex GUI as an ArrayCollection, and 2) Successfully returning the AC to
CF for re-processing.
Case in point - these first three steps I've gotten to work fine:
1) Flex2 app sends a text string variable of a path to CF via WebService
2) CF writes the data as an xml file, and then returns a *multi-level*
result of the path's directories and files as a multi-level array of
structs to Flex2. (This is actually an array.struct.array.struct
layout - long story, but it works).
3) After the return from CF (as ArrayCollection), the Flex2 GUI has
options for displaying a listing of the folders (listed in a combobox)
and files (listed in a datagrid). User selectes a folder, and datagrid
repopulates correctly.
--- What I can't accomplish:
4) Edit any field of selected data in the ArrayCollection via various
TextInputs. I've tried many things. The only thing that works is
editing the values of the Flex2 objects (the combobox or the
datagrid). This is not ideal, since in step5, I will have to rebuild
from multiple variables. How can I edit any of the items available
form the ArrayCollection?
5) Return the edited (or ANY) ArrayCollection to CF as something it can
read (which will later pass through a cfxml tag loop).
Help!
- Chris
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/