Re: [flexcoders] custom component dataprovider

2008-04-21 Thread gabriel montagné
On Fri, Apr 18, 2008 at 6:50 PM, Tracy Spratt [EMAIL PROTECTED] wrote: dataprovider again, right? I had assumed that implementing a dataprovider would make updates to the UI cleaner (not having to re-create all items), but I could be wrong on that assumption- don't know yet. I like to do it

Re: [flexcoders] custom component dataprovider

2008-04-21 Thread gabriel montagné
On Sun, Apr 20, 2008 at 9:38 PM, gabriel montagné [EMAIL PROTECTED] wrote: I like to do it like this: _dataProvider = (value is Array)? new where _dataProvider is typed IList.. ... pretty useful and flexible... I'd read it (or something like it) on one Ely Greenfield's

[flexcoders] custom component dataprovider

2008-04-18 Thread Derrick Anderson
hey everyone, i'm trying to build a custom component based off of a Panel, but the trick is that I would like the panel to accept xml as a dataprovider. where are there any good tutorials on building custom components with dataproviders? btw, the goal is to take an xml node in the dataprovider

RE: [flexcoders] custom component dataprovider

2008-04-18 Thread Tracy Spratt
PROTECTED] On Behalf Of Derrick Anderson Sent: Friday, April 18, 2008 1:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] custom component dataprovider hey everyone, i'm trying to build a custom component based off of a Panel, but the trick is that I would like the panel to accept xml

Re: [flexcoders] custom component dataprovider

2008-04-18 Thread Derrick Anderson
this and it can be a bit complex, but is not hard. Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Derrick Anderson *Sent:* Friday, April 18, 2008 1:16 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] custom

RE: [flexcoders] custom component dataprovider

2008-04-18 Thread Tracy Spratt
Anderson Sent: Friday, April 18, 2008 1:16 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] custom component dataprovider hey everyone, i'm trying to build a custom component based off of a Panel, but the trick is that I would like the panel to accept xml