Can you send VO's for Flex to Railo via remoting? Yes Railo 3.1.0.16 introduced working flashremoting between Flex and Railo cfc's I already have a post on sending simple datatypes between Railo and Flex so I wanted to make a slightly more complex example of sending Value Object from Flex to Railo and back.

I also demonstrate that you can place data into session via remoting. In the 2nd iframe you can see a dump of session and see the data passed back to flex and sent from flex.

Click "Send" or/and "Get" then reload the dump of session.

You can view the source here or right click and select view source on the Flex Example.





PeopleDemo.mxml


Person.as


Person.cfc


service.cfc

The code will work on both Railo and ColdFusion

3 comments:

Steve Good said...

Useful info, thanks for sharing Paul.

Anonymous said...

Nice, shame the comments on this blog always fail.

John Gag said...

This is a nice example. Glad to see remoting working in Railo.

Post a Comment