Announcement Announcement Module
Collapse
No announcement yet.
AMFChannels from server-config.xml Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment

    Working...
    X