Douglas... Thanks for taking the time to respond, I appreciate it. I currently have a component for this "row" of data which looks like this (at bottom). I'm not sure I understand what you mean by an "array of typed objects", nor how I would reference each iteration's component from the repeater.
Sorry I'm asking all these questions. I'm relatively new to Flex and I'm still rounding off the corners. <?xml version="1.0" encoding="utf-8"?> <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" textAlign="left"> <mx:Script> <![CDATA[ private function clearData(evt:MouseEvent):void { this.sName.text = ""; this.sURL.text = ""; this.sUsername.text = ""; this.sPassword.text = ""; } ]]> </mx:Script> <mx:TextInput width="98" x="0" id="sName" text="{data.currentItem.sName}" /> <mx:TextInput width="225" x="106" id="sURL" text="{data.currentItem.sURL}" /> <mx:TextInput width="95" x="334" id="sUsername" text="{data.currentItem.sUsername}" /> <mx:TextInput width="95" x="437" id="sPassword" text="{data.currentItem.sPassword}" displayAsPassword="true" /> <mx:Button width="22" height="22" click="clearData(event)" styleName="btnDeleteServer" id="dServer" /> </mx:HBox> -----Original Message----- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 3:12 PM To: Flex Subject: Re: Referencing textInput fields from within a TileList THe idea is to use the Repeater and a Array of typed objects, then there is no need to worry about if this input is name_1 or name_22. Repeater id="rpt" dataProvider="{ myData }"... <MyCustomForm dataObject="{ rpt.currentItem as DataObject }".... MyCustomForm would be a custom component exposing a public property dataObject that is a instance of DataObject, your custom typed object. Then to collect data for the server, you just collect a array of DataObjects grabbing the individual dataObjects in each form component. DK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5341 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
