Re: [flexcoders] ArrayCollection...how can I edit the data?

2006-08-31 Thread Tom Chiverton
On Monday 28 August 2006 21:14, qnotemedia wrote:
 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

If these controls are bound to a data provider, just update that.

-- 
Tom Chiverton
Helping to dynamically lead B2B bandwidth



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
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/
 





[flexcoders] ArrayCollection...how can I edit the data?

2006-08-28 Thread qnotemedia
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/