Ok, I have made progress.  I found the data in the component that 
triggered an event in the "currentTarget" property, not the "Target" 
property where I had been hunting for it.

So I now have 90% of the application working using events and all that.  
Yippee.

I have one follow up architectural type question.  I have a data grid 
listing all events.  When a user selects an event from the grid, the 
view is changed to a from where the data of the event can be modified 
and comments can be added.  There are two types of comments and there 
can be 0-N of each type associated with an event record.

With the potential for there to be a fair amount of text in the comments 
associated with each event, I am currently not pulling that data into 
the ArrayCollection to populate the datagrid.  In the form control, I 
create an object data model that contains all the fields of the event 
and any associated comments to it.  Is this a good way to do this?  Is 
there another concept I could apply here to better effect?

My issue is that currently there is no connect between the selected item 
in the datagrid and the form data object.  And I am unclear on the best 
way to synchronize them.  Putting all the data with all the comments 
into the datagrid dataprovider array collection seem bulky and 
problematic.  Making a new call to the backend CFC for the rest of the 
data is what I am planning on doing, but when and where do I do this?



 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4318
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to