The button click was just a way fire the webservice and see some data. I want to flesh out the callback with an array list which I then will use as a data provider to a grid or list. I'm moving very slowly here…
I didn't use the nightly build as there was a warning on the web site not to use in for production applications. From: Carlos Rovira [mailto:[email protected]] Sent: Tuesday, September 29, 2020 1:42 PM To: [email protected] Subject: [EXTERNAL] Re: How do I convert complex JSON to an ArrayList? 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 Warren, The problem with the code you posted is that it is only UI, the crucial parts are the objects you use to get the data (I guess the button click). Also, why don't you use a nightly? I think 0.9.7 start to be a bit old (check at the end of this url: https://royale.apache.org/get-involved/) Thanks El mar., 29 sept. 2020 a las 20:32, wkoch (<[email protected]<mailto:[email protected]>>) escribió: I've simplified the code a whole bunch to make it easier (for me!) to understand. I've tried a bunch of things but took it all out going on the assumption you wizards could modify this faster to add an ArrayList rather than try and clean up my mess. FYI -- I'm using 0.9.7 with Moonshine 3.0.0 build 234. <?xml version="1.0" encoding="utf-8"?> <j:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:j="library://ns.apache.org/royale/jewel<http://ns.apache.org/royale/jewel>" xmlns:js="library://ns.apache.org/royale/basic<http://ns.apache.org/royale/basic>" xmlns:html="library://ns.apache.org/royale/html<http://ns.apache.org/royale/html>" xmlns:local="*"> <fx:Style source="resources/app-styles.css"/> <fx:Script> </fx:Script> <j:valuesImpl> <js:SimpleCSSValuesImpl /> </j:valuesImpl> <j:initialView> <j:View> <j:beads> <j:VerticalCenteredLayout/> </j:beads> <j:Button text="Get Data 2" emphasis="primary" click="getCfcStoredProcContent(event)" /> </j:View> </j:initialView> </j:Application> -- Sent from: http://apache-royale-users.20374.n8.nabble.com/ -- Carlos Rovira http://about.me/carlosrovira
