RE: Charts

2020-07-28 Thread Maria Jose Esteve
Hi, Thanks Harbs. Yesterday I was looking at Carlos's integration with html2PDF, https://github.com/tomLadder/react-native-echarts-wrapper and some examples from the SDK. I have implemented an echart class, another echartInstance, but I don't know if it will work as I need… In principle it seem

Re: HTTPService and POST

2020-07-28 Thread Carlos Rovira
Hi Piotr, seems Joanne has problem in part due to MXRoyale not compiled with -js-default-initializers=true (getStaticConstantsByConvention :: the reflection target mx.rpc.http.mxml.HTTPService was not Compiled with default initializers enabled) Don't know if it is possible to add that to MXRoya

Re: Charts

2020-07-28 Thread Alina Kazi
Hi Piotr, Can you share a simple example with us. For the integration of ECharts with Royale. Thanks, Alina Kazi On Mon, Jul 27, 2020 at 8:31 PM Piotr Zarzycki wrote: > Hi Carlos, > > I didn't create typedefs and I won't have time for that - unless I will > get some direct task to do that. I h

Re: HTTPService and POST

2020-07-28 Thread Joanne Seneque
Hi Piotr, Thanks for the example - I tried modifying my code but now I am having compilation errors : C:\Dev\moonshine\ESSLite\src\service\LoginDelegate.as(34): col: 17 Error: Access of possibly undefined property contentData through a reference with static type mx.rpc.http.HTTPService. : :

Re: HTTPService and POST

2020-07-28 Thread Joanne Seneque
Sorry, updated code to be found here instead: https://bit.ly/2Esj8EQ On 2020/07/28 13:14:09, Joanne Seneque wrote: > Hi Piotr, > > Thanks for the example - I tried modifying my code but now I am having > compilation errors : > > C:\Dev\moonshine\ESSLite\src\service\LoginDelegate.as(34): col:

Re: HTTPService and POST

2020-07-28 Thread Carlos Rovira
Hi Joanne, I think you're mixing HTTPService classes. Seems Piotr was using the one in Network instead the emulation in MXRoyale. try to switch to Network one and see if that works for you. El mar., 28 jul. 2020 a las 15:17, Joanne Seneque () escribió: > Sorry, updated code to be found here ins

Re: HTTPService and POST

2020-07-28 Thread Piotr Zarzycki
Joanne, My example is showing of usage http service class from module Network [1] import org.apache.royale.net.HTTPService; import org.apache.royale.net.beads.CORSCredentialsBead; URLSearchParams [2] is native HTML/JS class - whatever API is native you can just use it in theory and your code com

Re: HTTPService and POST

2020-07-28 Thread Joanne Seneque
Hi Carlos & Piotr, Thanks for your help. It works with http service from module network instead of "mx.rpc.http.HTTPService", even if I still see the following warning in console: [WARNING] getStaticConstantsByConvention :: the reflection target org.apache.royale.net.HTTPService was not Compile

Re: HTTPService and POST

2020-07-28 Thread Carlos Rovira
Hi Joanne, great you make it work finally! :) but mx:HTTPService should work in that case too. don't know if there's a bug there or if that case is still not supported. Hope others using mx version could give us more info about this. About RemoteObject. For this case I think you'll need for sure

Re: HTTPService and POST

2020-07-28 Thread Greg Dove
The 'WARNING' is just a warning. It will not appear in a release build. It appears in this case of the HTTPService class because js-default-initializers is off by default in the framework builds. Ignoring the warning in most cases it will probably be ok (particularly in this case, where there are n

Re: HTTPService and POST

2020-07-28 Thread serkan
Hi, I used both HttpService and URLLoader beside custom services for GET and POST and most of them works well. I used URLLoader for login for example. Ref : https://github.com/likyateknoloji/pinaraui-royale/blob/master/src/com/likya/pinara/main/PinaraUI.mxml Line : 446 Hope helps. Serkan.