[flexcoders] Re: Convert arraycollection to XML

2009-03-13 Thread oneworld95
http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/

- Alex C

--- In flexcoders@yahoogroups.com, venkat eswar  wrote:
>
> How to Convert arraycollection to XML
>




[flexcoders] Re: Convert ArrayCollection to XML

2009-03-10 Thread valdhor
I don't quite understand. Why return an XML string in a RemoteObject? Why not 
just return objects?


--- In flexcoders@yahoogroups.com, "tiend...@..."  wrote:
>
> I use RemoteObject
> Yes, in PHP I return XML string. And in Flex I read XML string. 
> So I don't need convert ArrayCollection to XML.
> 
> I use ex4.
> 
> --- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
> >
> > I'd suggest using XML all the way through, instead of converting XML to
> > ArrayCollection first, then trying to convert it back.  What RPC protocol
> > are you using for server communication?  What is your resultFormat?
> > 
> >  
> > 
> > Tracy Spratt,
> > 
> > Lariat Services, development services available
> > 
> >   _  
> > 
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> > Behalf Of tiendans@
> > Sent: Monday, March 09, 2009 8:58 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Convert ArrayCollection to XML
> > 
> >  
> > 
> > Thanks,
> > 
> > I was read it, but can not apply in my app.
> > I think , can not convert ArrayCollection to XML. You must convert XML in
> > PHP code.
> > 
> > Anyway thank you.
> > 
> > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> > "oneworld95"  wrote:
> > >
> > > http://nsdevaraj.
> > <http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/>
> > wordpress.com/2008/08/20/arraycollection-xml/
> > > 
> > > - Alex C
> > > 
> > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> > "tiendans@"  wrote:
> > > >
> > > > Hi all guru,
> > > > 
> > > > I have a question about ArrayCollection.
> > > > 
> > > > [Backend: MySQL,PHP]
> > > > MySQL return result in Array.
> > > > 
> > > > [Frontend: Flex]
> > > > dp = new ArrayCollection( ArrayUtil.toArray(event.result));
> > > > 
> > > > I want to convert ArrayCollection (dp) to XML, and show XML result in
> > TextArea.
> > > > 
> > > > 
> > > > Help me please !
> > > >
> > >
> >
>




RE: [flexcoders] Re: Convert ArrayCollection to XML

2009-03-10 Thread Tracy Spratt
So no problem?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of tiend...@ezweb.ne.jp
Sent: Tuesday, March 10, 2009 4:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Convert ArrayCollection to XML

 

I use RemoteObject
Yes, in PHP I return XML string. And in Flex I read XML string. 
So I don't need convert ArrayCollection to XML.

I use ex4.

--- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
"Tracy Spratt"  wrote:
>
> I'd suggest using XML all the way through, instead of converting XML to
> ArrayCollection first, then trying to convert it back. What RPC protocol
> are you using for server communication? What is your resultFormat?
> 
> 
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
> _ 
> 
> From: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com
[mailto:flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com]
On
> Behalf Of tiend...@...
> Sent: Monday, March 09, 2009 8:58 PM
> To: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com
> Subject: [flexcoders] Re: Convert ArrayCollection to XML
> 
> 
> 
> Thanks,
> 
> I was read it, but can not apply in my app.
> I think , can not convert ArrayCollection to XML. You must convert XML in
> PHP code.
> 
> Anyway thank you.
> 
> --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> "oneworld95"  wrote:
> >
> > http://nsdevaraj.
> <http://nsdevaraj.
<http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/>
wordpress.com/2008/08/20/arraycollection-xml/>
> wordpress.com/2008/08/20/arraycollection-xml/
> > 
> > - Alex C
> > 
> > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com>
ups.com,
> "tiendans@"  wrote:
> > >
> > > Hi all guru,
> > > 
> > > I have a question about ArrayCollection.
> > > 
> > > [Backend: MySQL,PHP]
> > > MySQL return result in Array.
> > > 
> > > [Frontend: Flex]
> > > dp = new ArrayCollection( ArrayUtil.toArray(event.result));
> > > 
> > > I want to convert ArrayCollection (dp) to XML, and show XML result in
> TextArea.
> > > 
> > > 
> > > Help me please !
> > >
> >
>





[flexcoders] Re: Convert ArrayCollection to XML

2009-03-10 Thread tiend...@ezweb.ne.jp
I use RemoteObject
Yes, in PHP I return XML string. And in Flex I read XML string. 
So I don't need convert ArrayCollection to XML.

I use ex4.

--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> I'd suggest using XML all the way through, instead of converting XML to
> ArrayCollection first, then trying to convert it back.  What RPC protocol
> are you using for server communication?  What is your resultFormat?
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of tiend...@...
> Sent: Monday, March 09, 2009 8:58 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Convert ArrayCollection to XML
> 
>  
> 
> Thanks,
> 
> I was read it, but can not apply in my app.
> I think , can not convert ArrayCollection to XML. You must convert XML in
> PHP code.
> 
> Anyway thank you.
> 
> --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> "oneworld95"  wrote:
> >
> > http://nsdevaraj.
> <http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/>
> wordpress.com/2008/08/20/arraycollection-xml/
> > 
> > - Alex C
> > 
> > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> "tiendans@"  wrote:
> > >
> > > Hi all guru,
> > > 
> > > I have a question about ArrayCollection.
> > > 
> > > [Backend: MySQL,PHP]
> > > MySQL return result in Array.
> > > 
> > > [Frontend: Flex]
> > > dp = new ArrayCollection( ArrayUtil.toArray(event.result));
> > > 
> > > I want to convert ArrayCollection (dp) to XML, and show XML result in
> TextArea.
> > > 
> > > 
> > > Help me please !
> > >
> >
>




RE: [flexcoders] Re: Convert ArrayCollection to XML

2009-03-09 Thread Tracy Spratt
I'd suggest using XML all the way through, instead of converting XML to
ArrayCollection first, then trying to convert it back.  What RPC protocol
are you using for server communication?  What is your resultFormat?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of tiend...@ezweb.ne.jp
Sent: Monday, March 09, 2009 8:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Convert ArrayCollection to XML

 

Thanks,

I was read it, but can not apply in my app.
I think , can not convert ArrayCollection to XML. You must convert XML in
PHP code.

Anyway thank you.

--- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
"oneworld95"  wrote:
>
> http://nsdevaraj.
<http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/>
wordpress.com/2008/08/20/arraycollection-xml/
> 
> - Alex C
> 
> --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
"tiendans@"  wrote:
> >
> > Hi all guru,
> > 
> > I have a question about ArrayCollection.
> > 
> > [Backend: MySQL,PHP]
> > MySQL return result in Array.
> > 
> > [Frontend: Flex]
> > dp = new ArrayCollection( ArrayUtil.toArray(event.result));
> > 
> > I want to convert ArrayCollection (dp) to XML, and show XML result in
TextArea.
> > 
> > 
> > Help me please !
> >
>





[flexcoders] Re: Convert ArrayCollection to XML

2009-03-09 Thread tiend...@ezweb.ne.jp
Thanks,

I was read it, but can not apply in my app.
I think , can not convert ArrayCollection to XML. You must convert XML in PHP 
code.

Anyway thank you.

--- In flexcoders@yahoogroups.com, "oneworld95"  wrote:
>
> http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/
> 
> - Alex C
> 
> --- In flexcoders@yahoogroups.com, "tiendans@"  wrote:
> >
> > Hi all guru,
> > 
> > I have a question about ArrayCollection.
> > 
> > [Backend: MySQL,PHP]
> > MySQL return result in Array.
> > 
> > [Frontend: Flex]
> > dp = new ArrayCollection( ArrayUtil.toArray(event.result));
> > 
> > I want to convert ArrayCollection (dp) to XML, and show XML result in 
> > TextArea.
> > 
> > 
> > Help me please !
> >
>




[flexcoders] Re: Convert ArrayCollection to XML

2009-03-09 Thread oneworld95
http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/

- Alex C

--- In flexcoders@yahoogroups.com, "tiend...@..."  wrote:
>
> Hi all guru,
> 
> I have a question about ArrayCollection.
> 
> [Backend: MySQL,PHP]
> MySQL return result in Array.
> 
> [Frontend: Flex]
> dp = new ArrayCollection( ArrayUtil.toArray(event.result));
> 
> I want to convert ArrayCollection (dp) to XML, and show XML result in 
> TextArea.
> 
> 
> Help me please !
>