I guess there might be a problem in the web service deserialization.  Unfortunately I can’t make any suggestions other than setting resultFormat=”xml” and parsing and passing the result yourself.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of everesnet
Sent: Friday, June 24, 2005 2:23 AM
To: [email protected]
Subject: [flexcoders] Re: Sort Order of mx.controls.Tree

 

Thanx for your help!

The Tree kept the order with HTTPService result(xml).
#But Tree with WebService result(soap..object) doesn't keep order is
specification ? hmmmm.

--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
> Hmm, so you are receiving nodes with child arrays and they are correct
> in the web service but wrong in the Tree?  The Tree shouldn't be
> reversing the order of any arrays.  What if you took the WebService
> result as literal XML and gave it to the Tree (resultFormat="xml")?
> Maybe the deserialization into objects is mucking the order up and
> leaving it in XML form would work better?
>

>
> Matt
>

>
> ________________________________
>
> From: [email protected] [mailto:[email protected]] On
> Behalf Of everesnet
> Sent: Wednesday, June 22, 2005 9:57 AM
> To: [email protected]
> Subject: [flexcoders] Sort Order of mx.controls.Tree
>

>
> Hello,
>
> I'm trying to use Tree with WebService result, and I can show that.
> Tree's treeDataProvider keeps sort order.
> I mean treeDataProvider has arrays that is ordered correct.
>
> But tree's nodes are showing onother order of rows.
> It's same as tree's backingObject's order of rows.
>
> I just set WebService result to dataProvider like below.
> <mx:Tree dataProvider="{WebService.getDataResult}" />
>
> How can I set dataProvider's order of rows to tree's.
>
>
> thanx in advance,
>
> makoto tsuyuki
>
>
>
>
>
>
> ________________________________
>
> 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]
> <mailto:[EMAIL PROTECTED]>
>        
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





--
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

Reply via email to