I'm using Moonshine for my IDE.

I saw the example and I do need to dig into it.  I was hoping for something 
that was directed more for someone used to flex builder and a simple Royale 
HTML datagrid for a coldfusion source on SecureAMF.  Last time I had to do this 
many years ago it was a challenge to get everything to work in our environment 
and I was hoping to jump start.  The Jan 1 deadline is killing me.  I will work 
one up myself.  Thanks for all the hint's on what to put where.  That's exactly 
the kind of things I was looking for.

From: Carlos Rovira [mailto:[email protected]]
Sent: Friday, September 18, 2020 5:38 AM
To: [email protected]
Subject: [EXTERNAL] Re: How to set up a remote object (JS)


This message was sent from outside of Boeing. Please do not click links or open 
attachments unless you recognize the sender and know that the content is safe.




Hi,

You have a working examples in /examples/mxroyale/RemoteObjectAMFTest.

Check this doc page [1]

Are you using BlazeDS? If so there's a java app configured to test.
Also ensure you use MXRoyale version of RemoteObject

Add this to additional compiler options to avoid MXRoyale mix of CSS styles:

-compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css;

also register ArrayList to be used instead of ArrayCollection since Jewel uses 
the first one

import org.apache.royale.collections.ArrayList;
            public function setUp():void
            {
                //register ArrayCollection alias to map to ArrayList in local 
project
                registerClassAlias("flex.messaging.io.ArrayCollection", 
ArrayList);

            }

And don't forget to add this bead to Application

<j:beads>
        <js:ClassAliasBead/>
    </j:beads>


[1] 
https://apache.github.io/royale-docs/features/loading-external-data/remoteobject

El jue., 17 sept. 2020 a las 23:02, wkoch 
(<[email protected]<mailto:[email protected]>>) escribió:
I'm going to try and convert some Flex remote object calls over to Royale JS.
My first hurdle is that we use a custom services-config.xml file that brings
in custom remoting-config.xml, proxy-config.xml, messaging-config.xml files.
How do I invoke this file?

And... is there a simple hello world example I can look at?




--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


--
Carlos Rovira
http://about.me/carlosrovira

Reply via email to