[flexcoders] Re: XMLList as dataProvder for TileList
without looking at your code, i'll take a big guess. try putting your XMLList into a XMLLIstCollection eg var xlc:XMLListCollection = new XMLListCollection(yourXMLList); yourTileList.dataProvider = xlc; --- In flexcoders@yahoogroups.com, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Hi, I create a XMLList result from a query by using the e4x method - and I would like to use this as the data provider for a TileList. In the TileList I create a custom component as a listItemRenderer, and in that component I use e.g. [EMAIL PROTECTED] to try and display the value of my attribute. The weird thing is that I get a TileList created with only one row in it (the XML has 5), and all the values for each field is concatenated. So instead of seeing rows with values 1 4 5 I see one row with value 145. Hopefully this makes sense. Is there any trick to make this work? Thanks Jonathan -- 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/
RE: [flexcoders] Re: XMLList as dataProvder for TileList
Also note that we have no way to monitor an XMLList for changes (its a snapshot), so if you want your dataprovider to update, your expression needs to include a reference to the actual XML. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, March 09, 2006 7:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XMLList as dataProvder for TileList without looking at your code, i'll take a big guess. try putting your XMLList into a XMLLIstCollection eg var xlc:XMLListCollection = new XMLListCollection(yourXMLList); yourTileList.dataProvider = xlc; --- In flexcoders@yahoogroups.com, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Hi, I create a XMLList result from a query by using the e4x method - and I would like to use this as the data provider for a TileList. In the TileList I create a custom component as a listItemRenderer, and in that component I use e.g. [EMAIL PROTECTED] to try and display the value of my attribute. The weird thing is that I get a TileList created with only one row in it (the XML has 5), and all the values for each field is concatenated. So instead of seeing rows with values 1 4 5 I see one row with value 145. Hopefully this makes sense. Is there any trick to make this work? Thanks Jonathan -- 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 -- 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/
Re: [flexcoders] Re: XMLList as dataProvder for TileList
Excellent - that worked.Thanks!JonathanOn 3/9/06, bhaq1972 [EMAIL PROTECTED] wrote: without looking at your code, i'll take a big guess. try putting your XMLList into a XMLLIstCollection eg var xlc:XMLListCollection = new XMLListCollection(yourXMLList); yourTileList.dataProvider = xlc; -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.