Hello All,

I am converting a Flash MX app into a Flex App - but am super confused
as to which Containers I should select, and which method I should use
when creating a Data Model.  One that can collect information from
multiple Forms - which are from separate MXML files that get loaded into
each Container.

Envision a Master/Detail form - where you have a large list of clients
in a DataGrid, and then you bring up a Details view, in a popup window,
based on the selected record.

This Details popup window will be mainly comprised of a Tab Control
controlling 8 containers (maybe a ViewStack potentially), so the user
can jump to any page they want.  Per the "Developing RIA's" book I got,
they seem to really be pushing the method of separating each unique
screen, into a separate MXML file.  As neat as this method is, how do I
go about making a single Object that contains all the data (spread
across ALL the individual forms), and directly access the content in
each unique Form (each in a unique container)?  No matter which Tab the
user selects, ALL the controls spread across all the Tabs, belong to the
SAME Table in the Database - so I only want to submit the data ONCE
after all the related screens are filled out.

Yes, I am familiar with using the "Object" object to collect & retain
the information, but how do I have a single Object grab the data from
all the Fields, when the data is spread across multiple forms, and the
time comes to send it all to the server?

For example:

        public var customerObject:Object;
        customerObject.firstName = someForm.firstName.text;
        customerObject.workExperiece =
someOtherForm.workExperience.text;
        etc...

Then send that Object to my Remoting Call when the time comes to Send
(or Receive) the data from the server.

Thanks for any advice you can provide me!

Mike





 
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/
 


Reply via email to