Sending Arrays instead of ArrayCollections in Fluorine & FluorineFX
Flash, Flex, RIA, fluorinefx December 17th, 2007In Fluorine:
<classMappings>
<classMapping>
<type><![CDATA[System.Collections.Generic.List<T>]]></type>
<customClass>Array</customClass>
</classMapping>
</classMappings>
In FluorineFX:
In services-config.xml
<channels>
<channel-definition id=“my-amf“ class=“mx.messaging.channels.AMFChannel“>
<endpoint uri=“http://{server.name}:{server.port}/context.root}/Gateway.aspx” class=“flex.messaging.endpoints.AMFEndpoint“/>
<properties>
<legacy-collection>true</legacy-collection>
</properties>
</channel-definition>
<!–
<channel-definition id=”my-rtmp” class=”mx.messaging.channels.RTMPChannel”>
<endpoint uri=”rtmp://{server.name}:2037″ class=”flex.messaging.endpoints.RTMPEndpoint”/>
<properties>
<idle-timeout-minutes>20</idle-timeout-minutes>
</properties>
</channel-definition>
–>
</channels>
June 19th, 2008 at 8:47 pm
Wonderful.
Solve my problems with ArrayCollection.
Thanks
September 10th, 2009 at 2:51 pm
Hi! I was surfing and found your blog post… nice! I love your blog.
Cheers! Sandra. R.
March 9th, 2010 at 3:27 pm
i am currently using array collection within array collection in .net code and i am not receiving the array collection in flex. where as i send array within array collection i receive it properly in flex. Is it possible to use array collection within array collection to send a VO to flex via fluorin fx?
March 9th, 2010 at 7:51 pm
I do think so. I’m more experienced for the moment with WebORB, but maybe you could ask your question on the FluorineFX mailing list. I’m sure you’ll get an answer. Maybe you should send an example of your VO.