RE: [flexcoders] Using the XMLListCollection class bug
I'm very happy to report that the tree component is working very well. All the outstanding bugs I've checked have been corrected (i have a few left to look into). The binding is working. jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de kosir.milanEnvoyé: vendredi 30 juin 2006 12:03À: flexcoders@yahoogroups.comObjet: [flexcoders] Using the XMLListCollection class bug Hi,I'd like to report that example in chapter "Using theXMLListCollection class"(http://livedocs.macromedia.com/flex/2/docs/0513.html#406668)which can be found under (Flex 2 Developer's Guide Building UserInterfaces for Flex Applications Using Data Providers andCollections Using hierarchical data providers) does not work asexpected and produces very strange results.Could somebody confirm that f2b3 bug in tree dataproviders is removedor not? Maybe there is problem only with example.I'd really like to know if Flex 2 allow to make dynamic databindingfor Tree component. Any hint or working example would be highlyappreciated. Milan __._,_.___ -- 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. __,_._,___
Re: [flexcoders] Using the XMLListCollection class bug
Thank you, Jason,this is a great news!As I said, maybe it is a bad example, or maybe I just don't know how to use it?Because when I add some bananas to the list, first they are not selectable except the last one, then when they are removed, they are not properly removed from the tree, and on the end the tree can't render anymore.I'm interesting in this because I'd like to write a lazy tree, to get child items from database when they are needed (when the node is opened). If anybody has done this and could give me a hint, I'd be gratefull.Thanks, Milan On 6/30/06, Jason Hawryluk [EMAIL PROTECTED] wrote: I'm very happy to report that the tree component is working very well. All the outstanding bugs I've checked have been corrected (i have a few left to look into). The binding is working. jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de kosir.milanEnvoyé: vendredi 30 juin 2006 12:03À: flexcoders@yahoogroups.comObjet: [flexcoders] Using the XMLListCollection class bug Hi,I'd like to report that example in chapter Using theXMLListCollection class(http://livedocs.macromedia.com/flex/2/docs/0513.html#406668 )which can be found under (Flex 2 Developer's Guide Building UserInterfaces for Flex Applications Using Data Providers andCollections Using hierarchical data providers) does not work asexpected and produces very strange results.Could somebody confirm that f2b3 bug in tree dataproviders is removedor not? Maybe there is problem only with example.I'd really like to know if Flex 2 allow to make dynamic databindingfor Tree component. Any hint or working example would be highlyappreciated. Milan __._,_.___ -- 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 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. __,_._,___
RE: [flexcoders] Using the XMLListCollection class bug
The situation you describe occurs when the xml nodes are the same i.e. rootitemsitem label ="1"/ item label ="1"/ item label ="1"//items/root There needs to be a difference between the items in order for flex to react properly. so the below would work rootitemsitem label ="1"/ item label ="2"/ item label ="3"//items/root notice the @label here mx:tree labelField="@label" / hope this clears things up, if your still having problems after thisthen post back an example to show what it is doing. Just remember nodes have to be unique, and it works like a charm. I ensure this with a guid. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de milan kosirEnvoyé: vendredi 30 juin 2006 15:26À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Using the XMLListCollection class bug Thank you, Jason,this is a great news!As I said, maybe it is a bad example, or maybe I just don't know how to use it?Because when I add some "bananas" to the list, first they are not selectable except the last one, then when they are removed, they are not properly removed from the tree, and on the end the tree can't render anymore.I'm interesting in this because I'd like to write a "lazy tree", to get child items from database when they are needed (when the node is opened). If anybody has done this and could give me a hint, I'd be gratefull.Thanks, Milan On 6/30/06, Jason Hawryluk [EMAIL PROTECTED] wrote: I'm very happy to report that the tree component is working very well. All the outstanding bugs I've checked have been corrected (i have a few left to look into). The binding is working. jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de kosir.milanEnvoyé: vendredi 30 juin 2006 12:03À: flexcoders@yahoogroups.comObjet: [flexcoders] Using the XMLListCollection class bug Hi,I'd like to report that example in chapter "Using theXMLListCollection class"(http://livedocs.macromedia.com/flex/2/docs/0513.html#406668 )which can be found under (Flex 2 Developer's Guide Building UserInterfaces for Flex Applications Using Data Providers andCollections Using hierarchical data providers) does not work asexpected and produces very strange results.Could somebody confirm that f2b3 bug in tree dataproviders is removedor not? Maybe there is problem only with example.I'd really like to know if Flex 2 allow to make dynamic databindingfor Tree component. Any hint or working example would be highlyappreciated. Milan __._,_.___ -- 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. __,_._,___
Re: [flexcoders] Using the XMLListCollection class bug
Thank you very much, Jason,I can't test it before tomorow, but I'm already happy :)MilanOn 6/30/06, Jason Hawryluk [EMAIL PROTECTED] wrote: That sample is buggy replace the below code private function doTreeSelect():void { if (prodTree.selectedItem) listDP.addItem(prodTree.selectedItem); } with the below import mx.utils.UIDUtil; private function doTreeSelect():void { if (prodTree.selectedItem) var newnode:Object = prodTree.selectedItem.copy(); [EMAIL PROTECTED] = mx.utils.UIDUtil.createUID().toString(); listDP.addItem(newnode); } and it works as it should Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de milan kosirEnvoyé: vendredi 30 juin 2006 15:26À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Using the XMLListCollection class bug Thank you, Jason,this is a great news!As I said, maybe it is a bad example, or maybe I just don't know how to use it?Because when I add some bananas to the list, first they are not selectable except the last one, then when they are removed, they are not properly removed from the tree, and on the end the tree can't render anymore.I'm interesting in this because I'd like to write a lazy tree, to get child items from database when they are needed (when the node is opened). If anybody has done this and could give me a hint, I'd be gratefull.Thanks, Milan On 6/30/06, Jason Hawryluk [EMAIL PROTECTED] wrote: I'm very happy to report that the tree component is working very well. All the outstanding bugs I've checked have been corrected (i have a few left to look into). The binding is working. jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de kosir.milanEnvoyé: vendredi 30 juin 2006 12:03À: flexcoders@yahoogroups.comObjet: [flexcoders] Using the XMLListCollection class bug Hi,I'd like to report that example in chapter Using theXMLListCollection class(http://livedocs.macromedia.com/flex/2/docs/0513.html#406668 )which can be found under (Flex 2 Developer's Guide Building UserInterfaces for Flex Applications Using Data Providers andCollections Using hierarchical data providers) does not work asexpected and produces very strange results.Could somebody confirm that f2b3 bug in tree dataproviders is removedor not? Maybe there is problem only with example.I'd really like to know if Flex 2 allow to make dynamic databindingfor Tree component. Any hint or working example would be highlyappreciated. Milan __._,_.___ -- 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. __,_._,___
Re: [flexcoders] Using the XMLListCollection class bug
Yes, it works fine. Thanks!MilanOn 6/30/06, milan kosir [EMAIL PROTECTED] wrote: Thank you very much, Jason,I can't test it before tomorow, but I'm already happy :)MilanOn 6/30/06, Jason Hawryluk [EMAIL PROTECTED] wrote: That sample is buggy replace the below code private function doTreeSelect():void { if (prodTree.selectedItem) listDP.addItem(prodTree.selectedItem); } with the below import mx.utils.UIDUtil; private function doTreeSelect():void { if (prodTree.selectedItem) var newnode:Object = prodTree.selectedItem.copy(); [EMAIL PROTECTED] = mx.utils.UIDUtil.createUID().toString(); listDP.addItem(newnode); } and it works as it should Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de milan kosirEnvoyé: vendredi 30 juin 2006 15:26À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Using the XMLListCollection class bug Thank you, Jason,this is a great news!As I said, maybe it is a bad example, or maybe I just don't know how to use it?Because when I add some bananas to the list, first they are not selectable except the last one, then when they are removed, they are not properly removed from the tree, and on the end the tree can't render anymore.I'm interesting in this because I'd like to write a lazy tree, to get child items from database when they are needed (when the node is opened). If anybody has done this and could give me a hint, I'd be gratefull.Thanks, Milan On 6/30/06, Jason Hawryluk [EMAIL PROTECTED] wrote: I'm very happy to report that the tree component is working very well. All the outstanding bugs I've checked have been corrected (i have a few left to look into). The binding is working. jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de kosir.milanEnvoyé: vendredi 30 juin 2006 12:03À: flexcoders@yahoogroups.comObjet: [flexcoders] Using the XMLListCollection class bug Hi,I'd like to report that example in chapter Using theXMLListCollection class(http://livedocs.macromedia.com/flex/2/docs/0513.html#406668 )which can be found under (Flex 2 Developer's Guide Building UserInterfaces for Flex Applications Using Data Providers andCollections Using hierarchical data providers) does not work asexpected and produces very strange results.Could somebody confirm that f2b3 bug in tree dataproviders is removedor not? Maybe there is problem only with example.I'd really like to know if Flex 2 allow to make dynamic databindingfor Tree component. Any hint or working example would be highlyappreciated. Milan __._,_.___ -- 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. __,_._,___