Results 1 to 2 of 2

Thread: AMFChannels from server-config.xml

  1. #1
    Join Date
    Feb 2010
    Posts
    15

    Default AMFChannels from server-config.xml

    Hey,

    I posted this in the Spring BlazeDS Forum and they told me to ask here.

    We are working on a Spring-Flex-Cairngorm based application and have the configuration for the AMFChannels in a server-config.xml file. Now we want to get these information in our Flex application via mxml.

    At the moment we have this:
    Code:
    <business:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:business="com.adobe.cairngorm.business.*">
      <mx:AMFChannel id="myamf" uri="<hard-coded uri>" />
      <mx:ChannelSet id="channelSet" channels="{[myamf]}" />
      <mx:RemoteObject id="foo" destination="Foo" showBusyCursor="true" channelSet="{channelSet}" />
    </business:ServiceLocator>
    We want to get rid of the hard coded uri in the amf channel and take this information from the server-config.xml. We found code which uses actionscript and ServerConfig.getChannel(), but we did not figure out how to include this in a Cairngorm(!) structured application.
    Do you have any suggestions?

    Regards,
    Amateur

  2. #2
    Join Date
    Dec 2008
    Location
    Brussels
    Posts
    407

    Default cairngorm extensions

    Hi there,

    the Spring Actionscript cairngorm extensions might be of use to you, read up on them in this documentation section:

    http://www.springactionscript.org/docs/reference/html/extensions-documentation.html#cairngorm


    for general Spring Actionscript documentation check this section:

    http://www.springactionscript.org/do...mentation.html

    if you have any questions after that, we'll be happy to help you out,

    cheers,

    Roland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •