RE: [flexcoders] Flex 2.0 Tree control dataprovider problem.
What is displaying is what you would expect if the 2.0 tree was showing the xml document as an empty node, the first node as an empty node. The rest is correct. How are you assigning the dataProvider? What does the code look like? What if you loaded the xml as source="", or http service to load from a hard coded file? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Monday, December 26, 2005 2:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2.0 Tree control dataprovider problem. In 1.5, there were issues with whitespace in the xml causing unexpected nodes to display in the tree. The 1.5 fix is to tell the parser to ignore whitespace. Can you remove the linefeeds from the xml for testing? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Windey Sent: Saturday, December 24, 2005 4:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 Tree control dataprovider problem. Hi all, I'm experimenting a bit with flex 2.0 alpha, and I'm trying to use a webservice to provide the datasource of my tree control. I took the xml structure that can be found in the examples explorer, and made a webservice that is giving exactly the same result: Now comes the problem, when I give my treeview this result as datasource, the output isn't what it should be, as can be seen on this url: http://www.narcisten.be/pl_treeProblem.jpg I've tried setting the dataprovide as event.result.childNodes[0], but no luck. Here's my code (without the markup) http://www.macromedia.com/2005/mxml"; creationComplete="catWS.getCategories.send();" fontSize="11"> ... http://localhost:1200/pixcoID/pixcoThoughts.asmx?WSDL"; showBusyCursor="true" fault="Alert.show(event.fault.faultstring)"> 1 In the code example, the tree control uses a httpservice, and there you can use event.result.node, which looks inside the xml to loop through the correct nodes. Any suggestions? Thanks in advance. Jonas -- 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 Yahoo! Groups Sponsor ~--> AIDS in India: A "lurking bomb." Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM ~-> -- 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] Flex 2.0 Tree control dataprovider problem.
In 1.5, there were issues with whitespace in the xml causing unexpected nodes to display in the tree. The 1.5 fix is to tell the parser to ignore whitespace. Can you remove the linefeeds from the xml for testing? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Windey Sent: Saturday, December 24, 2005 4:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 Tree control dataprovider problem. Hi all, I'm experimenting a bit with flex 2.0 alpha, and I'm trying to use a webservice to provide the datasource of my tree control. I took the xml structure that can be found in the examples explorer, and made a webservice that is giving exactly the same result: Now comes the problem, when I give my treeview this result as datasource, the output isn't what it should be, as can be seen on this url: http://www.narcisten.be/pl_treeProblem.jpg I've tried setting the dataprovide as event.result.childNodes[0], but no luck. Here's my code (without the markup) http://www.macromedia.com/2005/mxml"; creationComplete="catWS.getCategories.send();" fontSize="11"> ... http://localhost:1200/pixcoID/pixcoThoughts.asmx?WSDL"; showBusyCursor="true" fault="Alert.show(event.fault.faultstring)"> 1 In the code example, the tree control uses a httpservice, and there you can use event.result.node, which looks inside the xml to loop through the correct nodes. Any suggestions? Thanks in advance. Jonas -- 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 Yahoo! Groups Sponsor ~--> 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM ~-> -- 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] Flex 2.0 Tree control dataprovider problem.
No luck, if I use event.result.node.node, I get a flash player 8.5 warning stating: TypeError: Error #1010: undefined has no properties. at PixcoLabs/__catWS_result() at flash.events::EventDispatcher/dispatchEvent() -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: maandag 26 december 2005 11:35 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2.0 Tree control dataprovider problem. On 12/25/05, Jonas Windey <[EMAIL PROTECTED]> wrote: > I'm experimenting a bit with flex 2.0 alpha, and I'm trying to use a > webservice to provide the datasource of my tree control. I took the xml > structure that can be found in the examples explorer, and made a webservice > that is giving exactly the same result: > > > > > > > Now comes the problem, when I give my treeview this result as datasource, > the output isn't what it should be, as can be seen on this url: > http://www.narcisten.be/pl_treeProblem.jpg > > I've tried setting the dataprovide as event.result.childNodes[0], but no > luck. Shouldn't that be event.result.node.node? Manish -- 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 Yahoo! Groups Sponsor ~--> 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM ~-> -- 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] Flex 2.0 Tree control dataprovider problem.
On 12/25/05, Jonas Windey <[EMAIL PROTECTED]> wrote: > I'm experimenting a bit with flex 2.0 alpha, and I'm trying to use a > webservice to provide the datasource of my tree control. I took the xml > structure that can be found in the examples explorer, and made a webservice > that is giving exactly the same result: > > > > ... > > ... > Now comes the problem, when I give my treeview this result as datasource, > the output isn't what it should be, as can be seen on this url: > http://www.narcisten.be/pl_treeProblem.jpg > > I've tried setting the dataprovide as event.result.childNodes[0], but no > luck. Shouldn't that be event.result.node.node? Manish Yahoo! Groups Sponsor ~--> 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM ~-> -- 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/
[flexcoders] Flex 2.0 Tree control dataprovider problem.
Hi all, I'm experimenting a bit with flex 2.0 alpha, and I'm trying to use a webservice to provide the datasource of my tree control. I took the xml structure that can be found in the examples explorer, and made a webservice that is giving exactly the same result: Now comes the problem, when I give my treeview this result as datasource, the output isn't what it should be, as can be seen on this url: http://www.narcisten.be/pl_treeProblem.jpg I've tried setting the dataprovide as event.result.childNodes[0], but no luck. Here's my code (without the markup) http://www.macromedia.com/2005/mxml"; creationComplete="catWS.getCategories.send();" fontSize="11"> ... http://localhost:1200/pixcoID/pixcoThoughts.asmx?WSDL"; showBusyCursor="true" fault="Alert.show(event.fault.faultstring)"> 1 In the code example, the tree control uses a httpservice, and there you can use event.result.node, which looks inside the xml to loop through the correct nodes. Any suggestions? Thanks in advance. Jonas Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~-> -- 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/
[flexcoders] Flex 2.0 Tree control dataprovider problem.
Hi all, I'm experimenting a bit with flex 2.0 alpha, and I'm trying to use a webservice to provide the datasource of my tree control. I took the xml structure that can be found in the examples explorer, and made a webservice that is giving exactly the same result: Now comes the problem, when I give my treeview this result as datasource, the output isn't what it should be, as can be seen on this url: http://www.narcisten.be/pl_treeProblem.jpg I've tried setting the dataprovide as event.result.childNodes[0], but no luck. Here's my code (without the markup) http://www.macromedia.com/2005/mxml"; creationComplete="catWS.getCategories.send();" fontSize="11"> ... http://localhost:1200/pixcoID/pixcoThoughts.asmx?WSDL"; showBusyCursor="true" fault="Alert.show(event.fault.faultstring)"> 1 In the code example, the tree control uses a httpservice, and there you can use event.result.node, which looks inside the xml to loop through the correct nodes. Any suggestions? Thanks in advance. One last thing, is this the place to ask these questions, or is there a flex 1/2 group like this too? Jonas Yahoo! Groups Sponsor ~--> AIDS in India: A "lurking bomb." Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM ~-> -- 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/