Re: Remote Object Call Performance and Fault Event

2021-03-12 Thread David Slotemaker de Bruine
It seems that the issue is with the Node server that runs with Moonshine, 
exporting to a tomcat server the correct calls are made and no duplicate 
sessions occur.

Thank you all for your help.

On 2021/03/09 09:15:58, David Slotemaker de Bruine 
 wrote: 
> Hi Safrizal,
> 
> I only just found your reply now as it got buried in the thread and I was off 
> trying to fic everything else. 
> 
> Back on the server side of things now and want to implement your solution. 
> 
> I have to use MX:RemoteObject as my existing backend is BlazeDS 4.0.1. I 
> would like to keep using the sessions as that is what is already implemented. 
> 
> I am using CRUX with Apache Royal. How do I implement your solution when 
> using serviceHelper.executeServiceCall?
> 
> I have noticed using CharlesProxy that the first ping call from Royal is not 
> the same as from an AIR client. The AIR client is sending a POST AMF Message 
> Operation 5.
> 
> But the ApacheRoyal is just sending the following with no body:
> 
> OPTIONS /SERVER/messagebroker/amf.txt HTTP/1.1
> Host: XXX8400
> Pragma: no-cache
> Cache-Control: no-cache
> Accept: */*
> Access-Control-Request-Method: POST
> Access-Control-Request-Headers: content-type
> Origin: http://localhost:3000
> User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 
> (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
> Sec-Fetch-Mode: cors
> Referer: http://localhost:3000/
> Accept-Encoding: gzip, deflate
> Accept-Language: en-US,en;q=0.9
> 
> I am sure that this is the problem, but I don't know how to fix it.
> 
> Any ideas?
> 
> David
> 
> 
> 
> 
> 
> On 2021/02/10 16:49:47, Safrizal  wrote: 
> > do not use cookies, use stateless session.
> > 
> > if you still have to use cookies, you should check blazeDS
> > AppendToGatewayUrl message,
> > after command message PING / Operation 5, executed.
> > 
> > check message.headers, if name == 'AppendToGatewayUrl' and mustUnderstand ==
> > true,
> > save jsession value.
> > 
> > and use jsession value,
> > 
> > requestQueue.push(
> > {
> > url: url + jsession,
> > targetURI: command,
> > responder: responder,
> > args: params
> > }
> > ); 
> > 
> > then our friendly message, "Detected duplicate HTTP-based FlexSessions,
> > generally due to ..." gone, and no double call.
> > 
> > but, if you want to use stateless session, ignore jsession, then you can
> > force null to royale header.
> > 
> > protected function setRoyaleClientIdOnMessage(message:IMessage):void
> > {
> >  //var id:String = RoyaleClient.getInstance().id;
> >  //trace("[*setRoyaleClientIdOnMessage] RoyaleClient.getInstance().id: "
> > + RoyaleClient.getInstance().id);
> >  //message.headers[AbstractMessage.ROYALE_CLIENT_ID_HEADER] = (id !=
> > null) ? id : RoyaleClient.NULL_ROYALECLIENT_ID;
> >  
> >  message.headers[AbstractMessage.ROYALE_CLIENT_ID_HEADER] =
> > RoyaleClient.NULL_ROYALECLIENT_ID;
> > }
> > 
> > and there is no "Detected duplicate HTTP-based FlexSessions, ...", no double
> > call.
> > 
> > use jwt or paseto or macaroons or others.( I use JPaseto)
> > and of course, you should aware about session housekeeping, 
> > caused by too many BlazeDS flexSessions creation, hdr(DSId) always null.
> > 
> > i use JS::RemoteObject, because MX::RemoteObject is very "mbulet" (in
> > Indonesian, meanings Complicated),
> > there are Channels, Channelset, Operation, AsyncToken and Responders, just
> > to call a function.
> > 
> > i build latest royale-asjs develop branch using maven, and code with VSCode.
> > 
> > 
> > 
> > Salam,
> > 
> > 
> > Rizal
> > 
> > 
> > 
> > 
> > --
> > Sent from: http://apache-royale-users.20374.n8.nabble.com/
> > 
> 


Re: Remote Object Call Performance and Fault Event

2021-03-09 Thread David Slotemaker de Bruine
Hi Safrizal,

I only just found your reply now as it got buried in the thread and I was off 
trying to fic everything else. 

Back on the server side of things now and want to implement your solution. 

I have to use MX:RemoteObject as my existing backend is BlazeDS 4.0.1. I would 
like to keep using the sessions as that is what is already implemented. 

I am using CRUX with Apache Royal. How do I implement your solution when using 
serviceHelper.executeServiceCall?

I have noticed using CharlesProxy that the first ping call from Royal is not 
the same as from an AIR client. The AIR client is sending a POST AMF Message 
Operation 5.

But the ApacheRoyal is just sending the following with no body:

OPTIONS /SERVER/messagebroker/amf.txt HTTP/1.1
Host: XXX8400
Pragma: no-cache
Cache-Control: no-cache
Accept: */*
Access-Control-Request-Method: POST
Access-Control-Request-Headers: content-type
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, 
like Gecko) Chrome/88.0.4324.190 Safari/537.36
Sec-Fetch-Mode: cors
Referer: http://localhost:3000/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9

I am sure that this is the problem, but I don't know how to fix it.

Any ideas?

David





On 2021/02/10 16:49:47, Safrizal  wrote: 
> do not use cookies, use stateless session.
> 
> if you still have to use cookies, you should check blazeDS
> AppendToGatewayUrl message,
> after command message PING / Operation 5, executed.
> 
> check message.headers, if name == 'AppendToGatewayUrl' and mustUnderstand ==
> true,
> save jsession value.
> 
> and use jsession value,
> 
> requestQueue.push(
>   {
>   url: url + jsession,
>   targetURI: command,
>   responder: responder,
>   args: params
>   }
> ); 
> 
> then our friendly message, "Detected duplicate HTTP-based FlexSessions,
> generally due to ..." gone, and no double call.
> 
> but, if you want to use stateless session, ignore jsession, then you can
> force null to royale header.
> 
> protected function setRoyaleClientIdOnMessage(message:IMessage):void
> {
>  //var id:String = RoyaleClient.getInstance().id;
>  //trace("[*setRoyaleClientIdOnMessage] RoyaleClient.getInstance().id: "
> + RoyaleClient.getInstance().id);
>  //message.headers[AbstractMessage.ROYALE_CLIENT_ID_HEADER] = (id !=
> null) ? id : RoyaleClient.NULL_ROYALECLIENT_ID;
>  
>  message.headers[AbstractMessage.ROYALE_CLIENT_ID_HEADER] =
> RoyaleClient.NULL_ROYALECLIENT_ID;
> }
> 
> and there is no "Detected duplicate HTTP-based FlexSessions, ...", no double
> call.
> 
> use jwt or paseto or macaroons or others.( I use JPaseto)
> and of course, you should aware about session housekeeping, 
> caused by too many BlazeDS flexSessions creation, hdr(DSId) always null.
> 
> i use JS::RemoteObject, because MX::RemoteObject is very "mbulet" (in
> Indonesian, meanings Complicated),
> there are Channels, Channelset, Operation, AsyncToken and Responders, just
> to call a function.
> 
> i build latest royale-asjs develop branch using maven, and code with VSCode.
> 
> 
> 
> Salam,
> 
> 
> Rizal
> 
> 
> 
> 
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
> 


Re: Remote Object Call Performance and Fault Event

2021-02-11 Thread David Slotemaker de Bruine
Sure! Great Thank you.

On Thu, 11 Feb 2021 at 09:38, Maria Jose Esteve  wrote:

> Hi David,
>
> I'm going to set up a project of examples, with little things that I'm
> doing, I'll share the address when I have it. Can you wait?
>
>
>
> Hiedra
>
>
>
> *De:* David Slotemaker de Bruine 
> *Enviado el:* miércoles, 10 de febrero de 2021 17:36
> *Para:* users@royale.apache.org
> *Asunto:* Re: Remote Object Call Performance and Fault Event
>
>
>
> Hi Hiedra,
>
>
>
> Thank you for your response. Please do share the paging component you have
> been working on, that will be a good stop gap until the datagrid component
> acts more like the old Flex one.
>
>
>
> Any idea about the dual http sessions error?
>
>
>
> Cheers.
>
>
>
> David
>
>
>
> On Wed, 10 Feb 2021 at 16:29, Maria Jose Esteve  wrote:
>
> Hi David,
>
> We experience the same behavior as you. Waiting for time to be spent
> debugging the VirtualDataGrid we use a List with a custom itemRenderer for
> each row.
>
> In any case, with the List we cannot load a lot of data at once, so we
> have opted for pagination of the data.
>
>
>
> When you have to load a lot of data you will have to use the "Virtual"
> components: VirtualDataGrid, VirtualList and VirtualComboBox, although as I
> said, they still need some work.
>
>
>
> I would check if there is a problem with the received data: filter the
> return and load only 10 or 20 records and if it works for you, implement a
> paging process. (I could share with you a little PaginatorNav control that
> I implemented. It is not finished and needs work but maybe it will help you
> continue)
>
>
>
> Anyway, wait for another colleague to give us their opinion.
>
>
>
> Hiedra.
>
>
>
> *De:* David Slotemaker de Bruine 
> *Enviado el:* miércoles, 10 de febrero de 2021 15:59
> *Para:* users@royale.apache.org
> *Asunto:* Re: Remote Object Call Performance and Fault Event
>
>
>
> 520, the response from the server is immediate. The objects inherit from a
> base object, could that be the cause?
>
>
>
> On Wed., 10 Feb. 2021, 15:57 Maria Jose Esteve,  wrote:
>
> Hi David,
>
> How many records do you have?
>
>
>
> Hiedra
>
>
>
> *De:* David Slotemaker de Bruine 
> *Enviado el:* miércoles, 10 de febrero de 2021 15:27
> *Para:* users@royale.apache.org
> *Asunto:* Re: Remote Object Call Performance and Fault Event
>
>
>
> Hey Guys,
>
>
>
> Thank you both! That compile string works a treat, I can now send and
> receive using the mx:Remote object instead of js:Remote Object.
>
>
>
> @Carlos I am still getting
>
>  "Detected duplicate HTTP-based FlexSessions, generally due to the remote
> host disabling session cookies. Session cookies must be enabled to manage
> the client connection correctly."
>
>
>
>  Fault calls every second request.
>
>
>
>  Once the second call completes (rapidly from the server) it takes 30
> seconds to "paint" the results to the datagrid using the following result
> Handler.
>
>
>
> private function clientesResultHandler(e:ResultEvent):void
> {
> if(e.result is ArrayList)
> {
>   dg.dataProvider = e.result as ArrayList;
>   }
> }
>
>
>
> Am I assigning it the right way? Do I need to cast the individual items in
> the ArrayList?
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
>
>
>
>
> On Wed, 10 Feb 2021 at 14:03, Piotr Zarzycki 
> wrote:
>
> I bit of an explanation why in Maven build we are using:
>
>
>
>
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>
>
>
> Instead:
>
>
>
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>
>
>
> Each Maven swc which has been generated are having following signature
> MXRoyale-0.9.8-js.swc - when you binaries distribution of SDK which you can
> use in IDE all MX royale library doesn't have framework version in name -
> it's just  MXRoyaleJS.swc
>
>
>
> śr., 10 lut 2021 o 13:55 Piotr Zarzycki 
> napisał(a):
>
> David,
>
>
>
> I think this should be your compiler options:
>
>
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> +configname=flex
>
>
>
>   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc - I believe also
> instead of equality sign it should be used h

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Carlos Rovira
Hi Safrizal,

cool :)
Thanks for your response. I think js:RemoteObject could be an option if
you're starting a project from scratch. For people coming from a full
mx:RemoteObject implementation, wil be more difficult since I think there's
still some issues.

Great you have a solution to sessions, I searched and this problem didn't
arise before here, so we have now a good starting point with you shared
knowledge about the issues :)

Best



El mié, 10 feb 2021 a las 17:49, Safrizal () escribió:

> do not use cookies, use stateless session.
>
> if you still have to use cookies, you should check blazeDS
> AppendToGatewayUrl message,
> after command message PING / Operation 5, executed.
>
> check message.headers, if name == 'AppendToGatewayUrl' and mustUnderstand
> ==
> true,
> save jsession value.
>
> and use jsession value,
>
> requestQueue.push(
> {
> url: url + jsession,
> targetURI: command,
> responder: responder,
> args: params
> }
> );
>
> then our friendly message, "Detected duplicate HTTP-based FlexSessions,
> generally due to ..." gone, and no double call.
>
> but, if you want to use stateless session, ignore jsession, then you can
> force null to royale header.
>
> protected function setRoyaleClientIdOnMessage(message:IMessage):void
> {
>  //var id:String = RoyaleClient.getInstance().id;
>  //trace("[*setRoyaleClientIdOnMessage] RoyaleClient.getInstance().id:
> "
> + RoyaleClient.getInstance().id);
>  //message.headers[AbstractMessage.ROYALE_CLIENT_ID_HEADER] = (id !=
> null) ? id : RoyaleClient.NULL_ROYALECLIENT_ID;
>
>  message.headers[AbstractMessage.ROYALE_CLIENT_ID_HEADER] =
> RoyaleClient.NULL_ROYALECLIENT_ID;
> }
>
> and there is no "Detected duplicate HTTP-based FlexSessions, ...", no
> double
> call.
>
> use jwt or paseto or macaroons or others.( I use JPaseto)
> and of course, you should aware about session housekeeping,
> caused by too many BlazeDS flexSessions creation, hdr(DSId) always null.
>
> i use JS::RemoteObject, because MX::RemoteObject is very "mbulet" (in
> Indonesian, meanings Complicated),
> there are Channels, Channelset, Operation, AsyncToken and Responders, just
> to call a function.
>
> i build latest royale-asjs develop branch using maven, and code with
> VSCode.
>
>
>
> Salam,
>
>
> Rizal
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Safrizal
do not use cookies, use stateless session.

if you still have to use cookies, you should check blazeDS
AppendToGatewayUrl message,
after command message PING / Operation 5, executed.

check message.headers, if name == 'AppendToGatewayUrl' and mustUnderstand ==
true,
save jsession value.

and use jsession value,

requestQueue.push(
{
url: url + jsession,
targetURI: command,
responder: responder,
args: params
}
); 

then our friendly message, "Detected duplicate HTTP-based FlexSessions,
generally due to ..." gone, and no double call.

but, if you want to use stateless session, ignore jsession, then you can
force null to royale header.

protected function setRoyaleClientIdOnMessage(message:IMessage):void
{
 //var id:String = RoyaleClient.getInstance().id;
 //trace("[*setRoyaleClientIdOnMessage] RoyaleClient.getInstance().id: "
+ RoyaleClient.getInstance().id);
 //message.headers[AbstractMessage.ROYALE_CLIENT_ID_HEADER] = (id !=
null) ? id : RoyaleClient.NULL_ROYALECLIENT_ID;
 
 message.headers[AbstractMessage.ROYALE_CLIENT_ID_HEADER] =
RoyaleClient.NULL_ROYALECLIENT_ID;
}

and there is no "Detected duplicate HTTP-based FlexSessions, ...", no double
call.

use jwt or paseto or macaroons or others.( I use JPaseto)
and of course, you should aware about session housekeeping, 
caused by too many BlazeDS flexSessions creation, hdr(DSId) always null.

i use JS::RemoteObject, because MX::RemoteObject is very "mbulet" (in
Indonesian, meanings Complicated),
there are Channels, Channelset, Operation, AsyncToken and Responders, just
to call a function.

i build latest royale-asjs develop branch using maven, and code with VSCode.



Salam,


Rizal




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


Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Carlos Rovira
Hi David,

the problem with sessions seems to be off the Royale scope. I remember hear
about it in the Flex days, but don't remember the cause. I think you need
to give more info about your server configuration.

Also check this to see if it helps [1]

Did you start from scratch we very simple call to a java backend to request
a simple String? It's important to start to work on AMF with very simple
calls and then receive a string, if all goes well, you can go to the next
step and try objects, class objects, custom class objects and finally
collections. If you try the latest as your first use case, you¡ll probably
will have many problems and hard to debug.

[1]
https://stackoverflow.com/questions/14254469/detected-duplicate-http-based-flexsessions-generally-due-to-the-remote-host-dis

El mié, 10 feb 2021 a las 17:35, David Slotemaker de Bruine (<
dslotema...@vicensvives.com>) escribió:

> Hi Hiedra,
>
> Thank you for your response. Please do share the paging component you have
> been working on, that will be a good stop gap until the datagrid component
> acts more like the old Flex one.
>
> Any idea about the dual http sessions error?
>
> Cheers.
>
> David
>
> On Wed, 10 Feb 2021 at 16:29, Maria Jose Esteve  wrote:
>
>> Hi David,
>>
>> We experience the same behavior as you. Waiting for time to be spent
>> debugging the VirtualDataGrid we use a List with a custom itemRenderer for
>> each row.
>>
>> In any case, with the List we cannot load a lot of data at once, so we
>> have opted for pagination of the data.
>>
>>
>>
>> When you have to load a lot of data you will have to use the "Virtual"
>> components: VirtualDataGrid, VirtualList and VirtualComboBox, although as I
>> said, they still need some work.
>>
>>
>>
>> I would check if there is a problem with the received data: filter the
>> return and load only 10 or 20 records and if it works for you, implement a
>> paging process. (I could share with you a little PaginatorNav control that
>> I implemented. It is not finished and needs work but maybe it will help you
>> continue)
>>
>>
>>
>> Anyway, wait for another colleague to give us their opinion.
>>
>>
>>
>> Hiedra.
>>
>>
>>
>> *De:* David Slotemaker de Bruine 
>> *Enviado el:* miércoles, 10 de febrero de 2021 15:59
>> *Para:* users@royale.apache.org
>> *Asunto:* Re: Remote Object Call Performance and Fault Event
>>
>>
>>
>> 520, the response from the server is immediate. The objects inherit from
>> a base object, could that be the cause?
>>
>>
>>
>> On Wed., 10 Feb. 2021, 15:57 Maria Jose Esteve, 
>> wrote:
>>
>> Hi David,
>>
>> How many records do you have?
>>
>>
>>
>> Hiedra
>>
>>
>>
>> *De:* David Slotemaker de Bruine 
>> *Enviado el:* miércoles, 10 de febrero de 2021 15:27
>> *Para:* users@royale.apache.org
>> *Asunto:* Re: Remote Object Call Performance and Fault Event
>>
>>
>>
>> Hey Guys,
>>
>>
>>
>> Thank you both! That compile string works a treat, I can now send and
>> receive using the mx:Remote object instead of js:Remote Object.
>>
>>
>>
>> @Carlos I am still getting
>>
>>  "Detected duplicate HTTP-based FlexSessions, generally due to the
>> remote host disabling session cookies. Session cookies must be enabled to
>> manage the client connection correctly."
>>
>>
>>
>>  Fault calls every second request.
>>
>>
>>
>>  Once the second call completes (rapidly from the server) it takes 30
>> seconds to "paint" the results to the datagrid using the following result
>> Handler.
>>
>>
>>
>> private function clientesResultHandler(e:ResultEvent):void
>> {
>> if(e.result is ArrayList)
>> {
>>   dg.dataProvider = e.result as ArrayList;
>>   }
>> }
>>
>>
>>
>> Am I assigning it the right way? Do I need to cast the individual items
>> in the ArrayList?
>>
>>
>>
>> Cheers,
>>
>>
>>
>> David
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, 10 Feb 2021 at 14:03, Piotr Zarzycki 
>> wrote:
>>
>> I bit of an explanation why in Maven build we are using:
>>
>>
>>
>>
>> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>>
>>
>>
>> Instead:
>>
>>
>>
>> -compiler.exclude-defaults-css-files=M

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread David Slotemaker de Bruine
Hi Hiedra,

Thank you for your response. Please do share the paging component you have
been working on, that will be a good stop gap until the datagrid component
acts more like the old Flex one.

Any idea about the dual http sessions error?

Cheers.

David

On Wed, 10 Feb 2021 at 16:29, Maria Jose Esteve  wrote:

> Hi David,
>
> We experience the same behavior as you. Waiting for time to be spent
> debugging the VirtualDataGrid we use a List with a custom itemRenderer for
> each row.
>
> In any case, with the List we cannot load a lot of data at once, so we
> have opted for pagination of the data.
>
>
>
> When you have to load a lot of data you will have to use the "Virtual"
> components: VirtualDataGrid, VirtualList and VirtualComboBox, although as I
> said, they still need some work.
>
>
>
> I would check if there is a problem with the received data: filter the
> return and load only 10 or 20 records and if it works for you, implement a
> paging process. (I could share with you a little PaginatorNav control that
> I implemented. It is not finished and needs work but maybe it will help you
> continue)
>
>
>
> Anyway, wait for another colleague to give us their opinion.
>
>
>
> Hiedra.
>
>
>
> *De:* David Slotemaker de Bruine 
> *Enviado el:* miércoles, 10 de febrero de 2021 15:59
> *Para:* users@royale.apache.org
> *Asunto:* Re: Remote Object Call Performance and Fault Event
>
>
>
> 520, the response from the server is immediate. The objects inherit from a
> base object, could that be the cause?
>
>
>
> On Wed., 10 Feb. 2021, 15:57 Maria Jose Esteve,  wrote:
>
> Hi David,
>
> How many records do you have?
>
>
>
> Hiedra
>
>
>
> *De:* David Slotemaker de Bruine 
> *Enviado el:* miércoles, 10 de febrero de 2021 15:27
> *Para:* users@royale.apache.org
> *Asunto:* Re: Remote Object Call Performance and Fault Event
>
>
>
> Hey Guys,
>
>
>
> Thank you both! That compile string works a treat, I can now send and
> receive using the mx:Remote object instead of js:Remote Object.
>
>
>
> @Carlos I am still getting
>
>  "Detected duplicate HTTP-based FlexSessions, generally due to the remote
> host disabling session cookies. Session cookies must be enabled to manage
> the client connection correctly."
>
>
>
>  Fault calls every second request.
>
>
>
>  Once the second call completes (rapidly from the server) it takes 30
> seconds to "paint" the results to the datagrid using the following result
> Handler.
>
>
>
> private function clientesResultHandler(e:ResultEvent):void
> {
> if(e.result is ArrayList)
> {
>   dg.dataProvider = e.result as ArrayList;
>   }
> }
>
>
>
> Am I assigning it the right way? Do I need to cast the individual items in
> the ArrayList?
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
>
>
>
>
> On Wed, 10 Feb 2021 at 14:03, Piotr Zarzycki 
> wrote:
>
> I bit of an explanation why in Maven build we are using:
>
>
>
>
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>
>
>
> Instead:
>
>
>
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>
>
>
> Each Maven swc which has been generated are having following signature
> MXRoyale-0.9.8-js.swc - when you binaries distribution of SDK which you can
> use in IDE all MX royale library doesn't have framework version in name -
> it's just  MXRoyaleJS.swc
>
>
>
> śr., 10 lut 2021 o 13:55 Piotr Zarzycki 
> napisał(a):
>
> David,
>
>
>
> I think this should be your compiler options:
>
>
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> +configname=flex
>
>
>
>   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc - I believe also
> instead of equality sign it should be used here +=, because with equality
> we completely override our js-library-path instead adding something to it.
>
>
>
> Thanks,
>
> Piotr
>
>
>
> śr., 10 lut 2021 o 13:44 Piotr Zarzycki 
> napisał(a):
>
> Sorry I missed your email I see your options. Give me a second I will
> provide you correct stuff
>
>
>
> śr., 10 lut 2021 o 13:43 Piotr Zarzycki 
> napisał(a):
>
> David,
>
>
>
> Show me screenshot with your compiler options. Carlos provided you correct
> stuff now you just need to place in a proper way.
>
>
>
> śr., 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread David Slotemaker de Bruine
520, the response from the server is immediate. The objects inherit from a
base object, could that be the cause?

On Wed., 10 Feb. 2021, 15:57 Maria Jose Esteve,  wrote:

> Hi David,
>
> How many records do you have?
>
>
>
> Hiedra
>
>
>
> *De:* David Slotemaker de Bruine 
> *Enviado el:* miércoles, 10 de febrero de 2021 15:27
> *Para:* users@royale.apache.org
> *Asunto:* Re: Remote Object Call Performance and Fault Event
>
>
>
> Hey Guys,
>
>
>
> Thank you both! That compile string works a treat, I can now send and
> receive using the mx:Remote object instead of js:Remote Object.
>
>
>
> @Carlos I am still getting
>
>  "Detected duplicate HTTP-based FlexSessions, generally due to the remote
> host disabling session cookies. Session cookies must be enabled to manage
> the client connection correctly."
>
>
>
>  Fault calls every second request.
>
>
>
>  Once the second call completes (rapidly from the server) it takes 30
> seconds to "paint" the results to the datagrid using the following result
> Handler.
>
>
>
> private function clientesResultHandler(e:ResultEvent):void
> {
> if(e.result is ArrayList)
> {
>   dg.dataProvider = e.result as ArrayList;
>   }
> }
>
>
>
> Am I assigning it the right way? Do I need to cast the individual items in
> the ArrayList?
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
>
>
>
>
> On Wed, 10 Feb 2021 at 14:03, Piotr Zarzycki 
> wrote:
>
> I bit of an explanation why in Maven build we are using:
>
>
>
>
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>
>
>
> Instead:
>
>
>
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>
>
>
> Each Maven swc which has been generated are having following signature
> MXRoyale-0.9.8-js.swc - when you binaries distribution of SDK which you can
> use in IDE all MX royale library doesn't have framework version in name -
> it's just  MXRoyaleJS.swc
>
>
>
> śr., 10 lut 2021 o 13:55 Piotr Zarzycki 
> napisał(a):
>
> David,
>
>
>
> I think this should be your compiler options:
>
>
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> +configname=flex
>
>
>
>   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc - I believe also
> instead of equality sign it should be used here +=, because with equality
> we completely override our js-library-path instead adding something to it.
>
>
>
> Thanks,
>
> Piotr
>
>
>
> śr., 10 lut 2021 o 13:44 Piotr Zarzycki 
> napisał(a):
>
> Sorry I missed your email I see your options. Give me a second I will
> provide you correct stuff
>
>
>
> śr., 10 lut 2021 o 13:43 Piotr Zarzycki 
> napisał(a):
>
> David,
>
>
>
> Show me screenshot with your compiler options. Carlos provided you correct
> stuff now you just need to place in a proper way.
>
>
>
> śr., 10 lut 2021 o 13:35 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
> : command line Error: configuration variable
> 'compiler.exclude-defaults-css-files' value contains unknown token
> 'royale.framework.version'.
>
>
>
> On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine <
> dslotema...@vicensvives.com> wrote:
>
> Hi guys,
>
>
>
> @Carlos I am using Moonshine to compile, I guess it uses maven under the
> hood??
>
>
>
> This is the string I am using:
>
>
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
> -html-template=src/resources/jewel-index-template.html
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
> +configname=flex
>
>
>
> I am getting the following error:
>
>
>
>
>
>
>
>
>
> On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
> wrote:
>
> Hi David,
>
>
>
> so you have the old ApplicationResponsiveView and must be changed to
> ResponsiveView right? That's the reason I was telling to start a project
> from scratch, so having a j:Application file alone from the hello world
> (for example) will start with a successful compilation. Then adding the
> older tag, will make you find that is not valid, and code hinting or
> searching on mailing list or asking here will give you the clue. That's the
> reason I said 

RE: Remote Object Call Performance and Fault Event

2021-02-10 Thread Maria Jose Esteve
Hi David,
How many records do you have?

Hiedra

De: David Slotemaker de Bruine 
Enviado el: miércoles, 10 de febrero de 2021 15:27
Para: users@royale.apache.org
Asunto: Re: Remote Object Call Performance and Fault Event

Hey Guys,

Thank you both! That compile string works a treat, I can now send and receive 
using the mx:Remote object instead of js:Remote Object.

@Carlos I am still getting
 "Detected duplicate HTTP-based FlexSessions, generally due to the remote host 
disabling session cookies. Session cookies must be enabled to manage the client 
connection correctly."

 Fault calls every second request.

 Once the second call completes (rapidly from the server) it takes 30 seconds 
to "paint" the results to the datagrid using the following result Handler.

private function clientesResultHandler(e:ResultEvent):void
{
if(e.result is ArrayList)
{
  dg.dataProvider = e.result as ArrayList;
  }
}

Am I assigning it the right way? Do I need to cast the individual items in the 
ArrayList?

Cheers,

David




On Wed, 10 Feb 2021 at 14:03, Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>> wrote:
I bit of an explanation why in Maven build we are using:

-compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css

Instead:

-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css

Each Maven swc which has been generated are having following signature 
MXRoyale-0.9.8-js.swc - when you binaries distribution of SDK which you can use 
in IDE all MX royale library doesn't have framework version in name - it's just 
 MXRoyaleJS.swc

śr., 10 lut 2021 o 13:55 Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>> napisał(a):
David,

I think this should be your compiler options:

-theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css 
-html-template=src/resources/jewel-index-template.html 
-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc 
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css 
+configname=flex

  -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc - I believe also 
instead of equality sign it should be used here +=, because with equality we 
completely override our js-library-path instead adding something to it.

Thanks,
Piotr

śr., 10 lut 2021 o 13:44 Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>> napisał(a):
Sorry I missed your email I see your options. Give me a second I will provide 
you correct stuff

śr., 10 lut 2021 o 13:43 Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>> napisał(a):
David,

Show me screenshot with your compiler options. Carlos provided you correct 
stuff now you just need to place in a proper way.

śr., 10 lut 2021 o 13:35 David Slotemaker de Bruine 
mailto:dslotema...@vicensvives.com>> napisał(a):
: command line Error: configuration variable 
'compiler.exclude-defaults-css-files' value contains unknown token 
'royale.framework.version'.

On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine 
mailto:dslotema...@vicensvives.com>> wrote:
Hi guys,

@Carlos I am using Moonshine to compile, I guess it uses maven under the hood??

This is the string I am using:

-theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css 
-js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc 
-html-template=src/resources/jewel-index-template.html 
-compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
 +configname=flex

I am getting the following error:




On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
mailto:carlosrov...@apache.org>> wrote:
Hi David,

so you have the old ApplicationResponsiveView and must be changed to 
ResponsiveView right? That's the reason I was telling to start a project from 
scratch, so having a j:Application file alone from the hello world (for 
example) will start with a successful compilation. Then adding the older tag, 
will make you find that is not valid, and code hinting or searching on mailing 
list or asking here will give you the clue. That's the reason I said it's 
important to keep on the loop at least until we get 1.0 and freeze APIs so 
changes of this kind will be much less frequent.

MXRoyale is added directly if you use +configname=flex, but that will remove 
jewel that is in your current config +configname=royale that is default. So we 
need to add MXRoyale SWC to the mix.

In VSCode you use to add this:

"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"js-library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
]

(probably just the later since you're only interested in JS)

So if you're creating a command line that will be probably 
-js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc

Take into account that I use Maven build since I prefer depend on a build 
system instead of any IDE or just the compiler to ensure my build is consistent 
from my desktop development environment to any CI server out there, so thin

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Piotr Zarzycki
David,

Great to hear that! Thanks for using Moonshine :)

śr., 10 lut 2021 o 15:27 David Slotemaker de Bruine <
dslotema...@vicensvives.com> napisał(a):

> Hey Guys,
>
> Thank you both! That compile string works a treat, I can now send and
> receive using the mx:Remote object instead of js:Remote Object.
>
> @Carlos I am still getting
>  "Detected duplicate HTTP-based FlexSessions, generally due to the remote
> host disabling session cookies. Session cookies must be enabled to manage
> the client connection correctly."
>
>  Fault calls every second request.
>
>  Once the second call completes (rapidly from the server) it takes 30
> seconds to "paint" the results to the datagrid using the following result
> Handler.
>
> private function clientesResultHandler(e:ResultEvent):void
> {
> if(e.result is ArrayList)
> {
>   dg.dataProvider = e.result as ArrayList;
>   }
> }
>
> Am I assigning it the right way? Do I need to cast the individual items in
> the ArrayList?
>
> Cheers,
>
> David
>
>
>
>
> On Wed, 10 Feb 2021 at 14:03, Piotr Zarzycki 
> wrote:
>
>> I bit of an explanation why in Maven build we are using:
>>
>>
>> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>>
>> Instead:
>>
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>>
>> Each Maven swc which has been generated are having following signature
>> MXRoyale-0.9.8-js.swc - when you binaries distribution of SDK which you can
>> use in IDE all MX royale library doesn't have framework version in name -
>> it's just  MXRoyaleJS.swc
>>
>> śr., 10 lut 2021 o 13:55 Piotr Zarzycki 
>> napisał(a):
>>
>>> David,
>>>
>>> I think this should be your compiler options:
>>>
>>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>> -html-template=src/resources/jewel-index-template.html
>>> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>>> +configname=flex
>>>
>>>   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc - I believe also
>>> instead of equality sign it should be used here +=, because with equality
>>> we completely override our js-library-path instead adding something to it.
>>>
>>> Thanks,
>>> Piotr
>>>
>>> śr., 10 lut 2021 o 13:44 Piotr Zarzycki 
>>> napisał(a):
>>>
 Sorry I missed your email I see your options. Give me a second I will
 provide you correct stuff

 śr., 10 lut 2021 o 13:43 Piotr Zarzycki 
 napisał(a):

> David,
>
> Show me screenshot with your compiler options. Carlos provided you
> correct stuff now you just need to place in a proper way.
>
> śr., 10 lut 2021 o 13:35 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
>> : command line Error: configuration variable
>> 'compiler.exclude-defaults-css-files' value contains unknown token
>> 'royale.framework.version'.
>>
>> On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> wrote:
>>
>>> Hi guys,
>>>
>>> @Carlos I am using Moonshine to compile, I guess it uses maven under
>>> the hood??
>>>
>>> This is the string I am using:
>>>
>>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>> -html-template=src/resources/jewel-index-template.html
>>> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>>> +configname=flex
>>>
>>> I am getting the following error:
>>>
>>>
>>>
>>>
>>> On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
>>> wrote:
>>>
 Hi David,

 so you have the old ApplicationResponsiveView and must be changed
 to ResponsiveView right? That's the reason I was telling to start a 
 project
 from scratch, so having a j:Application file alone from the hello world
 (for example) will start with a successful compilation. Then adding the
 older tag, will make you find that is not valid, and code hinting or
 searching on mailing list or asking here will give you the clue. 
 That's the
 reason I said it's important to keep on the loop at least until we get 
 1.0
 and freeze APIs so changes of this kind will be much less frequent.

 MXRoyale is added directly if you use +configname=flex, but that
 will remove jewel that is in your current config +configname=royale 
 that is
 default. So we need to add MXRoyale SWC to the mix.

 In VSCode you use to add this:

 "library-path": [
 "${royalelib}/js/libs/MXRoyaleJS.swc"
 ],
 "js-library-path": [
 "${royalelib}/js/libs/MXRoyaleJS.swc"
 ]

 (probably just the later since you're only interested in JS)


Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread David Slotemaker de Bruine
Hey Guys,

Thank you both! That compile string works a treat, I can now send and
receive using the mx:Remote object instead of js:Remote Object.

@Carlos I am still getting
 "Detected duplicate HTTP-based FlexSessions, generally due to the remote
host disabling session cookies. Session cookies must be enabled to manage
the client connection correctly."

 Fault calls every second request.

 Once the second call completes (rapidly from the server) it takes 30
seconds to "paint" the results to the datagrid using the following result
Handler.

private function clientesResultHandler(e:ResultEvent):void
{
if(e.result is ArrayList)
{
  dg.dataProvider = e.result as ArrayList;
  }
}

Am I assigning it the right way? Do I need to cast the individual items in
the ArrayList?

Cheers,

David




On Wed, 10 Feb 2021 at 14:03, Piotr Zarzycki 
wrote:

> I bit of an explanation why in Maven build we are using:
>
>
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>
> Instead:
>
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>
> Each Maven swc which has been generated are having following signature
> MXRoyale-0.9.8-js.swc - when you binaries distribution of SDK which you can
> use in IDE all MX royale library doesn't have framework version in name -
> it's just  MXRoyaleJS.swc
>
> śr., 10 lut 2021 o 13:55 Piotr Zarzycki 
> napisał(a):
>
>> David,
>>
>> I think this should be your compiler options:
>>
>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> -html-template=src/resources/jewel-index-template.html
>> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> +configname=flex
>>
>>   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc - I believe also
>> instead of equality sign it should be used here +=, because with equality
>> we completely override our js-library-path instead adding something to it.
>>
>> Thanks,
>> Piotr
>>
>> śr., 10 lut 2021 o 13:44 Piotr Zarzycki 
>> napisał(a):
>>
>>> Sorry I missed your email I see your options. Give me a second I will
>>> provide you correct stuff
>>>
>>> śr., 10 lut 2021 o 13:43 Piotr Zarzycki 
>>> napisał(a):
>>>
 David,

 Show me screenshot with your compiler options. Carlos provided you
 correct stuff now you just need to place in a proper way.

 śr., 10 lut 2021 o 13:35 David Slotemaker de Bruine <
 dslotema...@vicensvives.com> napisał(a):

> : command line Error: configuration variable
> 'compiler.exclude-defaults-css-files' value contains unknown token
> 'royale.framework.version'.
>
> On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine <
> dslotema...@vicensvives.com> wrote:
>
>> Hi guys,
>>
>> @Carlos I am using Moonshine to compile, I guess it uses maven under
>> the hood??
>>
>> This is the string I am using:
>>
>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>> -html-template=src/resources/jewel-index-template.html
>> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>> +configname=flex
>>
>> I am getting the following error:
>>
>>
>>
>>
>> On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
>> wrote:
>>
>>> Hi David,
>>>
>>> so you have the old ApplicationResponsiveView and must be changed to
>>> ResponsiveView right? That's the reason I was telling to start a project
>>> from scratch, so having a j:Application file alone from the hello world
>>> (for example) will start with a successful compilation. Then adding the
>>> older tag, will make you find that is not valid, and code hinting or
>>> searching on mailing list or asking here will give you the clue. That's 
>>> the
>>> reason I said it's important to keep on the loop at least until we get 
>>> 1.0
>>> and freeze APIs so changes of this kind will be much less frequent.
>>>
>>> MXRoyale is added directly if you use +configname=flex, but that
>>> will remove jewel that is in your current config +configname=royale 
>>> that is
>>> default. So we need to add MXRoyale SWC to the mix.
>>>
>>> In VSCode you use to add this:
>>>
>>> "library-path": [
>>> "${royalelib}/js/libs/MXRoyaleJS.swc"
>>> ],
>>> "js-library-path": [
>>> "${royalelib}/js/libs/MXRoyaleJS.swc"
>>> ]
>>>
>>> (probably just the later since you're only interested in JS)
>>>
>>> So if you're creating a command line that will be probably
>>> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>>
>>> Take into account that I use Maven build since I prefer depend on a
>>> build system instead of any IDE or just the compiler to ensure my build 
>>> is
>>> consistent from my 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Piotr Zarzycki
I bit of an explanation why in Maven build we are using:

-compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css

Instead:

-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css

Each Maven swc which has been generated are having following signature
MXRoyale-0.9.8-js.swc - when you binaries distribution of SDK which you can
use in IDE all MX royale library doesn't have framework version in name -
it's just  MXRoyaleJS.swc

śr., 10 lut 2021 o 13:55 Piotr Zarzycki 
napisał(a):

> David,
>
> I think this should be your compiler options:
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> +configname=flex
>
>   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc - I believe also
> instead of equality sign it should be used here +=, because with equality
> we completely override our js-library-path instead adding something to it.
>
> Thanks,
> Piotr
>
> śr., 10 lut 2021 o 13:44 Piotr Zarzycki 
> napisał(a):
>
>> Sorry I missed your email I see your options. Give me a second I will
>> provide you correct stuff
>>
>> śr., 10 lut 2021 o 13:43 Piotr Zarzycki 
>> napisał(a):
>>
>>> David,
>>>
>>> Show me screenshot with your compiler options. Carlos provided you
>>> correct stuff now you just need to place in a proper way.
>>>
>>> śr., 10 lut 2021 o 13:35 David Slotemaker de Bruine <
>>> dslotema...@vicensvives.com> napisał(a):
>>>
 : command line Error: configuration variable
 'compiler.exclude-defaults-css-files' value contains unknown token
 'royale.framework.version'.

 On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine <
 dslotema...@vicensvives.com> wrote:

> Hi guys,
>
> @Carlos I am using Moonshine to compile, I guess it uses maven under
> the hood??
>
> This is the string I am using:
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
> -html-template=src/resources/jewel-index-template.html
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
> +configname=flex
>
> I am getting the following error:
>
>
>
>
> On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
> wrote:
>
>> Hi David,
>>
>> so you have the old ApplicationResponsiveView and must be changed to
>> ResponsiveView right? That's the reason I was telling to start a project
>> from scratch, so having a j:Application file alone from the hello world
>> (for example) will start with a successful compilation. Then adding the
>> older tag, will make you find that is not valid, and code hinting or
>> searching on mailing list or asking here will give you the clue. That's 
>> the
>> reason I said it's important to keep on the loop at least until we get 
>> 1.0
>> and freeze APIs so changes of this kind will be much less frequent.
>>
>> MXRoyale is added directly if you use +configname=flex, but that will
>> remove jewel that is in your current config +configname=royale that is
>> default. So we need to add MXRoyale SWC to the mix.
>>
>> In VSCode you use to add this:
>>
>> "library-path": [
>> "${royalelib}/js/libs/MXRoyaleJS.swc"
>> ],
>> "js-library-path": [
>> "${royalelib}/js/libs/MXRoyaleJS.swc"
>> ]
>>
>> (probably just the later since you're only interested in JS)
>>
>> So if you're creating a command line that will be probably
>> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>
>> Take into account that I use Maven build since I prefer depend on a
>> build system instead of any IDE or just the compiler to ensure my build 
>> is
>> consistent from my desktop development environment to any CI server out
>> there, so think as a suggestion since the line could be not usable
>> directly, but that's the info you need to build yours for sure.
>>
>> One more thing you'll need is to avoid CSS from MXRoyale until we
>> separate RPC from visual mx/spark components:
>> -compiler.exclude-defaults-css-files=MXRoyale-${
>> royale.framework.version}-js.swc:defaults.css
>>
>> Thanks
>>
>>
>> El mié, 10 feb 2021 a las 12:03, David Slotemaker de Bruine (<
>> dslotema...@vicensvives.com>) escribió:
>>
>>> Hi Carlos,
>>>
>>> Piotr helped me out fixing the template for a new project. For
>>> others finding this post you have to change a tag in the MXML:
>>>
>>> [1] https://github.com/prominic/Moonshine-IDE/issues/778
>>>
>>> I still have issues with mx.rpc imports. I am only using the JS
>>> version of the SDK nightly build which Piotr says should be 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Piotr Zarzycki
David,

I think this should be your compiler options:

-theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
-html-template=src/resources/jewel-index-template.html
-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
+configname=flex

  -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc - I believe also
instead of equality sign it should be used here +=, because with equality
we completely override our js-library-path instead adding something to it.

Thanks,
Piotr

śr., 10 lut 2021 o 13:44 Piotr Zarzycki 
napisał(a):

> Sorry I missed your email I see your options. Give me a second I will
> provide you correct stuff
>
> śr., 10 lut 2021 o 13:43 Piotr Zarzycki 
> napisał(a):
>
>> David,
>>
>> Show me screenshot with your compiler options. Carlos provided you
>> correct stuff now you just need to place in a proper way.
>>
>> śr., 10 lut 2021 o 13:35 David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> napisał(a):
>>
>>> : command line Error: configuration variable
>>> 'compiler.exclude-defaults-css-files' value contains unknown token
>>> 'royale.framework.version'.
>>>
>>> On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine <
>>> dslotema...@vicensvives.com> wrote:
>>>
 Hi guys,

 @Carlos I am using Moonshine to compile, I guess it uses maven under
 the hood??

 This is the string I am using:

 -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
 -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
 -html-template=src/resources/jewel-index-template.html
 -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
 +configname=flex

 I am getting the following error:




 On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
 wrote:

> Hi David,
>
> so you have the old ApplicationResponsiveView and must be changed to
> ResponsiveView right? That's the reason I was telling to start a project
> from scratch, so having a j:Application file alone from the hello world
> (for example) will start with a successful compilation. Then adding the
> older tag, will make you find that is not valid, and code hinting or
> searching on mailing list or asking here will give you the clue. That's 
> the
> reason I said it's important to keep on the loop at least until we get 1.0
> and freeze APIs so changes of this kind will be much less frequent.
>
> MXRoyale is added directly if you use +configname=flex, but that will
> remove jewel that is in your current config +configname=royale that is
> default. So we need to add MXRoyale SWC to the mix.
>
> In VSCode you use to add this:
>
> "library-path": [
> "${royalelib}/js/libs/MXRoyaleJS.swc"
> ],
> "js-library-path": [
> "${royalelib}/js/libs/MXRoyaleJS.swc"
> ]
>
> (probably just the later since you're only interested in JS)
>
> So if you're creating a command line that will be probably
> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>
> Take into account that I use Maven build since I prefer depend on a
> build system instead of any IDE or just the compiler to ensure my build is
> consistent from my desktop development environment to any CI server out
> there, so think as a suggestion since the line could be not usable
> directly, but that's the info you need to build yours for sure.
>
> One more thing you'll need is to avoid CSS from MXRoyale until we
> separate RPC from visual mx/spark components:
> -compiler.exclude-defaults-css-files=MXRoyale-${
> royale.framework.version}-js.swc:defaults.css
>
> Thanks
>
>
> El mié, 10 feb 2021 a las 12:03, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
>
>> Hi Carlos,
>>
>> Piotr helped me out fixing the template for a new project. For others
>> finding this post you have to change a tag in the MXML:
>>
>> [1] https://github.com/prominic/Moonshine-IDE/issues/778
>>
>> I still have issues with mx.rpc imports. I am only using the JS
>> version of the SDK nightly build which Piotr says should be ok for using
>> the mx.rpc.* imports but I might be missing a compiler instruction. Can 
>> you
>> help me out with what I need to add to the compiler?
>>
>> The compiler lines I have (the default) are:
>>
>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> -html-template=src/resources/jewel-index-template.html
>>
>> Cheers,
>>
>> David
>>
>> On 2021/02/10 08:57:45, Piotr Zarzycki 
>> wrote:
>> > In order to download Nightly build of Royale trough Moonshine you
>> should go
>> > to menu Help -> Getting Started -> Download Third Party Software
>> >
>> > In launched 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Piotr Zarzycki
Sorry I missed your email I see your options. Give me a second I will
provide you correct stuff

śr., 10 lut 2021 o 13:43 Piotr Zarzycki 
napisał(a):

> David,
>
> Show me screenshot with your compiler options. Carlos provided you correct
> stuff now you just need to place in a proper way.
>
> śr., 10 lut 2021 o 13:35 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
>> : command line Error: configuration variable
>> 'compiler.exclude-defaults-css-files' value contains unknown token
>> 'royale.framework.version'.
>>
>> On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> wrote:
>>
>>> Hi guys,
>>>
>>> @Carlos I am using Moonshine to compile, I guess it uses maven under the
>>> hood??
>>>
>>> This is the string I am using:
>>>
>>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>> -html-template=src/resources/jewel-index-template.html
>>> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>>> +configname=flex
>>>
>>> I am getting the following error:
>>>
>>>
>>>
>>>
>>> On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
>>> wrote:
>>>
 Hi David,

 so you have the old ApplicationResponsiveView and must be changed to
 ResponsiveView right? That's the reason I was telling to start a project
 from scratch, so having a j:Application file alone from the hello world
 (for example) will start with a successful compilation. Then adding the
 older tag, will make you find that is not valid, and code hinting or
 searching on mailing list or asking here will give you the clue. That's the
 reason I said it's important to keep on the loop at least until we get 1.0
 and freeze APIs so changes of this kind will be much less frequent.

 MXRoyale is added directly if you use +configname=flex, but that will
 remove jewel that is in your current config +configname=royale that is
 default. So we need to add MXRoyale SWC to the mix.

 In VSCode you use to add this:

 "library-path": [
 "${royalelib}/js/libs/MXRoyaleJS.swc"
 ],
 "js-library-path": [
 "${royalelib}/js/libs/MXRoyaleJS.swc"
 ]

 (probably just the later since you're only interested in JS)

 So if you're creating a command line that will be probably
 -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc

 Take into account that I use Maven build since I prefer depend on a
 build system instead of any IDE or just the compiler to ensure my build is
 consistent from my desktop development environment to any CI server out
 there, so think as a suggestion since the line could be not usable
 directly, but that's the info you need to build yours for sure.

 One more thing you'll need is to avoid CSS from MXRoyale until we
 separate RPC from visual mx/spark components:
 -compiler.exclude-defaults-css-files=MXRoyale-${
 royale.framework.version}-js.swc:defaults.css

 Thanks


 El mié, 10 feb 2021 a las 12:03, David Slotemaker de Bruine (<
 dslotema...@vicensvives.com>) escribió:

> Hi Carlos,
>
> Piotr helped me out fixing the template for a new project. For others
> finding this post you have to change a tag in the MXML:
>
> [1] https://github.com/prominic/Moonshine-IDE/issues/778
>
> I still have issues with mx.rpc imports. I am only using the JS
> version of the SDK nightly build which Piotr says should be ok for using
> the mx.rpc.* imports but I might be missing a compiler instruction. Can 
> you
> help me out with what I need to add to the compiler?
>
> The compiler lines I have (the default) are:
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
>
> Cheers,
>
> David
>
> On 2021/02/10 08:57:45, Piotr Zarzycki 
> wrote:
> > In order to download Nightly build of Royale trough Moonshine you
> should go
> > to menu Help -> Getting Started -> Download Third Party Software
> >
> > In launched application choose from Drop down list 0.9.8 in Royale
> section
> > - click Download. - Once it's done you can choose for your project
> > downloaded Nightly build of SDK.
> >
> > Path of downloaded SDK will
> > be: c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\ - make
> sure
> > that you are seeing this for selected SDK. On Mac that path is
> different.
> >
> >
> > śr., 10 lut 2021 o 09:53 Piotr Zarzycki 
> > napisał(a):
> >
> > > Please upload to some dropbox, onedrive or something like that and
> send me
> > > to my email - do you see my email here ?
> > >
> > >
> > >
> > > śr., 10 lut 2021 o 09:25 David Slotemaker de Bruine <
> > 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Piotr Zarzycki
David,

Show me screenshot with your compiler options. Carlos provided you correct
stuff now you just need to place in a proper way.

śr., 10 lut 2021 o 13:35 David Slotemaker de Bruine <
dslotema...@vicensvives.com> napisał(a):

> : command line Error: configuration variable
> 'compiler.exclude-defaults-css-files' value contains unknown token
> 'royale.framework.version'.
>
> On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine <
> dslotema...@vicensvives.com> wrote:
>
>> Hi guys,
>>
>> @Carlos I am using Moonshine to compile, I guess it uses maven under the
>> hood??
>>
>> This is the string I am using:
>>
>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>> -html-template=src/resources/jewel-index-template.html
>> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
>> +configname=flex
>>
>> I am getting the following error:
>>
>>
>>
>>
>> On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
>> wrote:
>>
>>> Hi David,
>>>
>>> so you have the old ApplicationResponsiveView and must be changed to
>>> ResponsiveView right? That's the reason I was telling to start a project
>>> from scratch, so having a j:Application file alone from the hello world
>>> (for example) will start with a successful compilation. Then adding the
>>> older tag, will make you find that is not valid, and code hinting or
>>> searching on mailing list or asking here will give you the clue. That's the
>>> reason I said it's important to keep on the loop at least until we get 1.0
>>> and freeze APIs so changes of this kind will be much less frequent.
>>>
>>> MXRoyale is added directly if you use +configname=flex, but that will
>>> remove jewel that is in your current config +configname=royale that is
>>> default. So we need to add MXRoyale SWC to the mix.
>>>
>>> In VSCode you use to add this:
>>>
>>> "library-path": [
>>> "${royalelib}/js/libs/MXRoyaleJS.swc"
>>> ],
>>> "js-library-path": [
>>> "${royalelib}/js/libs/MXRoyaleJS.swc"
>>> ]
>>>
>>> (probably just the later since you're only interested in JS)
>>>
>>> So if you're creating a command line that will be probably
>>> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>>
>>> Take into account that I use Maven build since I prefer depend on a
>>> build system instead of any IDE or just the compiler to ensure my build is
>>> consistent from my desktop development environment to any CI server out
>>> there, so think as a suggestion since the line could be not usable
>>> directly, but that's the info you need to build yours for sure.
>>>
>>> One more thing you'll need is to avoid CSS from MXRoyale until we
>>> separate RPC from visual mx/spark components:
>>> -compiler.exclude-defaults-css-files=MXRoyale-${
>>> royale.framework.version}-js.swc:defaults.css
>>>
>>> Thanks
>>>
>>>
>>> El mié, 10 feb 2021 a las 12:03, David Slotemaker de Bruine (<
>>> dslotema...@vicensvives.com>) escribió:
>>>
 Hi Carlos,

 Piotr helped me out fixing the template for a new project. For others
 finding this post you have to change a tag in the MXML:

 [1] https://github.com/prominic/Moonshine-IDE/issues/778

 I still have issues with mx.rpc imports. I am only using the JS version
 of the SDK nightly build which Piotr says should be ok for using the
 mx.rpc.* imports but I might be missing a compiler instruction. Can you
 help me out with what I need to add to the compiler?

 The compiler lines I have (the default) are:

 -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
 -html-template=src/resources/jewel-index-template.html

 Cheers,

 David

 On 2021/02/10 08:57:45, Piotr Zarzycki 
 wrote:
 > In order to download Nightly build of Royale trough Moonshine you
 should go
 > to menu Help -> Getting Started -> Download Third Party Software
 >
 > In launched application choose from Drop down list 0.9.8 in Royale
 section
 > - click Download. - Once it's done you can choose for your project
 > downloaded Nightly build of SDK.
 >
 > Path of downloaded SDK will
 > be: c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\ - make
 sure
 > that you are seeing this for selected SDK. On Mac that path is
 different.
 >
 >
 > śr., 10 lut 2021 o 09:53 Piotr Zarzycki 
 > napisał(a):
 >
 > > Please upload to some dropbox, onedrive or something like that and
 send me
 > > to my email - do you see my email here ?
 > >
 > >
 > >
 > > śr., 10 lut 2021 o 09:25 David Slotemaker de Bruine <
 > > dslotema...@vicensvives.com> napisał(a):
 > >
 > >> Hi Piotr,
 > >>
 > >> How can I send the project to you, I can't attached files to the
 post? If
 > >> I change the SDK back to 9.7 -JS Moonshine no longer shows the:
 > >>
 > >> The IDE highlights 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread David Slotemaker de Bruine
: command line Error: configuration variable
'compiler.exclude-defaults-css-files' value contains unknown token
'royale.framework.version'.

On Wed, 10 Feb 2021 at 13:34, David Slotemaker de Bruine <
dslotema...@vicensvives.com> wrote:

> Hi guys,
>
> @Carlos I am using Moonshine to compile, I guess it uses maven under the
> hood??
>
> This is the string I am using:
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
> -html-template=src/resources/jewel-index-template.html
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
> +configname=flex
>
> I am getting the following error:
>
>
>
>
> On Wed, 10 Feb 2021 at 13:24, Carlos Rovira 
> wrote:
>
>> Hi David,
>>
>> so you have the old ApplicationResponsiveView and must be changed to
>> ResponsiveView right? That's the reason I was telling to start a project
>> from scratch, so having a j:Application file alone from the hello world
>> (for example) will start with a successful compilation. Then adding the
>> older tag, will make you find that is not valid, and code hinting or
>> searching on mailing list or asking here will give you the clue. That's the
>> reason I said it's important to keep on the loop at least until we get 1.0
>> and freeze APIs so changes of this kind will be much less frequent.
>>
>> MXRoyale is added directly if you use +configname=flex, but that will
>> remove jewel that is in your current config +configname=royale that is
>> default. So we need to add MXRoyale SWC to the mix.
>>
>> In VSCode you use to add this:
>>
>> "library-path": [
>> "${royalelib}/js/libs/MXRoyaleJS.swc"
>> ],
>> "js-library-path": [
>> "${royalelib}/js/libs/MXRoyaleJS.swc"
>> ]
>>
>> (probably just the later since you're only interested in JS)
>>
>> So if you're creating a command line that will be probably
>> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>
>> Take into account that I use Maven build since I prefer depend on a build
>> system instead of any IDE or just the compiler to ensure my build is
>> consistent from my desktop development environment to any CI server out
>> there, so think as a suggestion since the line could be not usable
>> directly, but that's the info you need to build yours for sure.
>>
>> One more thing you'll need is to avoid CSS from MXRoyale until we
>> separate RPC from visual mx/spark components:
>> -compiler.exclude-defaults-css-files=MXRoyale-${
>> royale.framework.version}-js.swc:defaults.css
>>
>> Thanks
>>
>>
>> El mié, 10 feb 2021 a las 12:03, David Slotemaker de Bruine (<
>> dslotema...@vicensvives.com>) escribió:
>>
>>> Hi Carlos,
>>>
>>> Piotr helped me out fixing the template for a new project. For others
>>> finding this post you have to change a tag in the MXML:
>>>
>>> [1] https://github.com/prominic/Moonshine-IDE/issues/778
>>>
>>> I still have issues with mx.rpc imports. I am only using the JS version
>>> of the SDK nightly build which Piotr says should be ok for using the
>>> mx.rpc.* imports but I might be missing a compiler instruction. Can you
>>> help me out with what I need to add to the compiler?
>>>
>>> The compiler lines I have (the default) are:
>>>
>>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>> -html-template=src/resources/jewel-index-template.html
>>>
>>> Cheers,
>>>
>>> David
>>>
>>> On 2021/02/10 08:57:45, Piotr Zarzycki 
>>> wrote:
>>> > In order to download Nightly build of Royale trough Moonshine you
>>> should go
>>> > to menu Help -> Getting Started -> Download Third Party Software
>>> >
>>> > In launched application choose from Drop down list 0.9.8 in Royale
>>> section
>>> > - click Download. - Once it's done you can choose for your project
>>> > downloaded Nightly build of SDK.
>>> >
>>> > Path of downloaded SDK will
>>> > be: c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\ - make sure
>>> > that you are seeing this for selected SDK. On Mac that path is
>>> different.
>>> >
>>> >
>>> > śr., 10 lut 2021 o 09:53 Piotr Zarzycki 
>>> > napisał(a):
>>> >
>>> > > Please upload to some dropbox, onedrive or something like that and
>>> send me
>>> > > to my email - do you see my email here ?
>>> > >
>>> > >
>>> > >
>>> > > śr., 10 lut 2021 o 09:25 David Slotemaker de Bruine <
>>> > > dslotema...@vicensvives.com> napisał(a):
>>> > >
>>> > >> Hi Piotr,
>>> > >>
>>> > >> How can I send the project to you, I can't attached files to the
>>> post? If
>>> > >> I change the SDK back to 9.7 -JS Moonshine no longer shows the:
>>> > >>
>>> > >> The IDE highlights "J:initialView" with a red underline stating:
>>> "Cannot
>>> > >> parse a value of type org.apache.royal.core.IApplicationView"
>>> > >>
>>> > >> error, nor the .swc error. So something is messed up with the 9.8
>>> JS-SWF
>>> > >> version. Could the nightly I have not be installed correctly? How
>>> do I
>>> > >> automate the nightlys into Moonshine?
>>> > >>
>>> > >> Cheers,

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread David Slotemaker de Bruine
Hi guys,

@Carlos I am using Moonshine to compile, I guess it uses maven under the
hood??

This is the string I am using:

-theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
-js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
-html-template=src/resources/jewel-index-template.html
-compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css
+configname=flex

I am getting the following error:




On Wed, 10 Feb 2021 at 13:24, Carlos Rovira  wrote:

> Hi David,
>
> so you have the old ApplicationResponsiveView and must be changed to
> ResponsiveView right? That's the reason I was telling to start a project
> from scratch, so having a j:Application file alone from the hello world
> (for example) will start with a successful compilation. Then adding the
> older tag, will make you find that is not valid, and code hinting or
> searching on mailing list or asking here will give you the clue. That's the
> reason I said it's important to keep on the loop at least until we get 1.0
> and freeze APIs so changes of this kind will be much less frequent.
>
> MXRoyale is added directly if you use +configname=flex, but that will
> remove jewel that is in your current config +configname=royale that is
> default. So we need to add MXRoyale SWC to the mix.
>
> In VSCode you use to add this:
>
> "library-path": [
> "${royalelib}/js/libs/MXRoyaleJS.swc"
> ],
> "js-library-path": [
> "${royalelib}/js/libs/MXRoyaleJS.swc"
> ]
>
> (probably just the later since you're only interested in JS)
>
> So if you're creating a command line that will be probably
> -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>
> Take into account that I use Maven build since I prefer depend on a build
> system instead of any IDE or just the compiler to ensure my build is
> consistent from my desktop development environment to any CI server out
> there, so think as a suggestion since the line could be not usable
> directly, but that's the info you need to build yours for sure.
>
> One more thing you'll need is to avoid CSS from MXRoyale until we separate
> RPC from visual mx/spark components:
> -compiler.exclude-defaults-css-files=MXRoyale-${
> royale.framework.version}-js.swc:defaults.css
>
> Thanks
>
>
> El mié, 10 feb 2021 a las 12:03, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
>
>> Hi Carlos,
>>
>> Piotr helped me out fixing the template for a new project. For others
>> finding this post you have to change a tag in the MXML:
>>
>> [1] https://github.com/prominic/Moonshine-IDE/issues/778
>>
>> I still have issues with mx.rpc imports. I am only using the JS version
>> of the SDK nightly build which Piotr says should be ok for using the
>> mx.rpc.* imports but I might be missing a compiler instruction. Can you
>> help me out with what I need to add to the compiler?
>>
>> The compiler lines I have (the default) are:
>>
>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> -html-template=src/resources/jewel-index-template.html
>>
>> Cheers,
>>
>> David
>>
>> On 2021/02/10 08:57:45, Piotr Zarzycki 
>> wrote:
>> > In order to download Nightly build of Royale trough Moonshine you
>> should go
>> > to menu Help -> Getting Started -> Download Third Party Software
>> >
>> > In launched application choose from Drop down list 0.9.8 in Royale
>> section
>> > - click Download. - Once it's done you can choose for your project
>> > downloaded Nightly build of SDK.
>> >
>> > Path of downloaded SDK will
>> > be: c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\ - make sure
>> > that you are seeing this for selected SDK. On Mac that path is
>> different.
>> >
>> >
>> > śr., 10 lut 2021 o 09:53 Piotr Zarzycki 
>> > napisał(a):
>> >
>> > > Please upload to some dropbox, onedrive or something like that and
>> send me
>> > > to my email - do you see my email here ?
>> > >
>> > >
>> > >
>> > > śr., 10 lut 2021 o 09:25 David Slotemaker de Bruine <
>> > > dslotema...@vicensvives.com> napisał(a):
>> > >
>> > >> Hi Piotr,
>> > >>
>> > >> How can I send the project to you, I can't attached files to the
>> post? If
>> > >> I change the SDK back to 9.7 -JS Moonshine no longer shows the:
>> > >>
>> > >> The IDE highlights "J:initialView" with a red underline stating:
>> "Cannot
>> > >> parse a value of type org.apache.royal.core.IApplicationView"
>> > >>
>> > >> error, nor the .swc error. So something is messed up with the 9.8
>> JS-SWF
>> > >> version. Could the nightly I have not be installed correctly? How do
>> I
>> > >> automate the nightlys into Moonshine?
>> > >>
>> > >> Cheers,
>> > >>
>> > >> David
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >> On Tue, 9 Feb 2021 at 21:53, Piotr Zarzycki <
>> piotrzarzyck...@gmail.com>
>> > >> wrote:
>> > >>
>> > >>> Carlos,
>> > >>>
>> > >>> Above errors are nothing to do with Moonshine at all.
>> > >>>
>> > >>> David,
>> > >>>
>> > >>> Can you zip your project and send me off the list - I will look
>> what is
>> > >>> 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Carlos Rovira
Hi David,

so you have the old ApplicationResponsiveView and must be changed to
ResponsiveView right? That's the reason I was telling to start a project
from scratch, so having a j:Application file alone from the hello world
(for example) will start with a successful compilation. Then adding the
older tag, will make you find that is not valid, and code hinting or
searching on mailing list or asking here will give you the clue. That's the
reason I said it's important to keep on the loop at least until we get 1.0
and freeze APIs so changes of this kind will be much less frequent.

MXRoyale is added directly if you use +configname=flex, but that will
remove jewel that is in your current config +configname=royale that is
default. So we need to add MXRoyale SWC to the mix.

In VSCode you use to add this:

"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"js-library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
]

(probably just the later since you're only interested in JS)

So if you're creating a command line that will be probably
-js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc

Take into account that I use Maven build since I prefer depend on a build
system instead of any IDE or just the compiler to ensure my build is
consistent from my desktop development environment to any CI server out
there, so think as a suggestion since the line could be not usable
directly, but that's the info you need to build yours for sure.

One more thing you'll need is to avoid CSS from MXRoyale until we separate
RPC from visual mx/spark components:
-compiler.exclude-defaults-css-files=MXRoyale-${
royale.framework.version}-js.swc:defaults.css

Thanks


El mié, 10 feb 2021 a las 12:03, David Slotemaker de Bruine (<
dslotema...@vicensvives.com>) escribió:

> Hi Carlos,
>
> Piotr helped me out fixing the template for a new project. For others
> finding this post you have to change a tag in the MXML:
>
> [1] https://github.com/prominic/Moonshine-IDE/issues/778
>
> I still have issues with mx.rpc imports. I am only using the JS version of
> the SDK nightly build which Piotr says should be ok for using the mx.rpc.*
> imports but I might be missing a compiler instruction. Can you help me out
> with what I need to add to the compiler?
>
> The compiler lines I have (the default) are:
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/resources/jewel-index-template.html
>
> Cheers,
>
> David
>
> On 2021/02/10 08:57:45, Piotr Zarzycki  wrote:
> > In order to download Nightly build of Royale trough Moonshine you should
> go
> > to menu Help -> Getting Started -> Download Third Party Software
> >
> > In launched application choose from Drop down list 0.9.8 in Royale
> section
> > - click Download. - Once it's done you can choose for your project
> > downloaded Nightly build of SDK.
> >
> > Path of downloaded SDK will
> > be: c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\ - make sure
> > that you are seeing this for selected SDK. On Mac that path is different.
> >
> >
> > śr., 10 lut 2021 o 09:53 Piotr Zarzycki 
> > napisał(a):
> >
> > > Please upload to some dropbox, onedrive or something like that and
> send me
> > > to my email - do you see my email here ?
> > >
> > >
> > >
> > > śr., 10 lut 2021 o 09:25 David Slotemaker de Bruine <
> > > dslotema...@vicensvives.com> napisał(a):
> > >
> > >> Hi Piotr,
> > >>
> > >> How can I send the project to you, I can't attached files to the
> post? If
> > >> I change the SDK back to 9.7 -JS Moonshine no longer shows the:
> > >>
> > >> The IDE highlights "J:initialView" with a red underline stating:
> "Cannot
> > >> parse a value of type org.apache.royal.core.IApplicationView"
> > >>
> > >> error, nor the .swc error. So something is messed up with the 9.8
> JS-SWF
> > >> version. Could the nightly I have not be installed correctly? How do I
> > >> automate the nightlys into Moonshine?
> > >>
> > >> Cheers,
> > >>
> > >> David
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> On Tue, 9 Feb 2021 at 21:53, Piotr Zarzycki <
> piotrzarzyck...@gmail.com>
> > >> wrote:
> > >>
> > >>> Carlos,
> > >>>
> > >>> Above errors are nothing to do with Moonshine at all.
> > >>>
> > >>> David,
> > >>>
> > >>> Can you zip your project and send me off the list - I will look what
> is
> > >>> your problems and guide you to resolve it. - If it's possible of
> course.
> > >>>
> > >>> Thanks,
> > >>> Piotr
> > >>>
> > >>> wt., 9 lut 2021 o 17:25 Carlos Rovira 
> > >>> napisał(a):
> > >>>
> >  Hi David,
> > 
> >  sorry but I'm not an expert in Moonshine, to set up a project
> >  hope Piotr could give you a hand. Since you're doing from scratch
> it should
> >  be fairly straight forward.
> > 
> >  El mar, 9 feb 2021 a las 16:07, David Slotemaker de Bruine (<
> >  dslotema...@vicensvives.com>) escribió:
> > 
> > > Hi Carlos,
> > >
> > > I have installed the nightly of Moonshine (3.1.0) and it is point
> to
> > 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread David Slotemaker de Bruine
Hi Carlos,

Piotr helped me out fixing the template for a new project. For others finding 
this post you have to change a tag in the MXML:

[1] https://github.com/prominic/Moonshine-IDE/issues/778

I still have issues with mx.rpc imports. I am only using the JS version of the 
SDK nightly build which Piotr says should be ok for using the mx.rpc.* imports 
but I might be missing a compiler instruction. Can you help me out with what I 
need to add to the compiler?

The compiler lines I have (the default) are:

-theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css 
-html-template=src/resources/jewel-index-template.html

Cheers,

David

On 2021/02/10 08:57:45, Piotr Zarzycki  wrote: 
> In order to download Nightly build of Royale trough Moonshine you should go
> to menu Help -> Getting Started -> Download Third Party Software
> 
> In launched application choose from Drop down list 0.9.8 in Royale section
> - click Download. - Once it's done you can choose for your project
> downloaded Nightly build of SDK.
> 
> Path of downloaded SDK will
> be: c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\ - make sure
> that you are seeing this for selected SDK. On Mac that path is different.
> 
> 
> śr., 10 lut 2021 o 09:53 Piotr Zarzycki 
> napisał(a):
> 
> > Please upload to some dropbox, onedrive or something like that and send me
> > to my email - do you see my email here ?
> >
> >
> >
> > śr., 10 lut 2021 o 09:25 David Slotemaker de Bruine <
> > dslotema...@vicensvives.com> napisał(a):
> >
> >> Hi Piotr,
> >>
> >> How can I send the project to you, I can't attached files to the post? If
> >> I change the SDK back to 9.7 -JS Moonshine no longer shows the:
> >>
> >> The IDE highlights "J:initialView" with a red underline stating: "Cannot
> >> parse a value of type org.apache.royal.core.IApplicationView"
> >>
> >> error, nor the .swc error. So something is messed up with the 9.8 JS-SWF
> >> version. Could the nightly I have not be installed correctly? How do I
> >> automate the nightlys into Moonshine?
> >>
> >> Cheers,
> >>
> >> David
> >>
> >>
> >>
> >>
> >>
> >> On Tue, 9 Feb 2021 at 21:53, Piotr Zarzycki 
> >> wrote:
> >>
> >>> Carlos,
> >>>
> >>> Above errors are nothing to do with Moonshine at all.
> >>>
> >>> David,
> >>>
> >>> Can you zip your project and send me off the list - I will look what is
> >>> your problems and guide you to resolve it. - If it's possible of course.
> >>>
> >>> Thanks,
> >>> Piotr
> >>>
> >>> wt., 9 lut 2021 o 17:25 Carlos Rovira 
> >>> napisał(a):
> >>>
>  Hi David,
> 
>  sorry but I'm not an expert in Moonshine, to set up a project
>  hope Piotr could give you a hand. Since you're doing from scratch it 
>  should
>  be fairly straight forward.
> 
>  El mar, 9 feb 2021 a las 16:07, David Slotemaker de Bruine (<
>  dslotema...@vicensvives.com>) escribió:
> 
> > Hi Carlos,
> >
> > I have installed the nightly of Moonshine (3.1.0) and it is point to
> > the nightly of Royal (9.8 - swf-js).
> >
> > I created a new ApacheRoyal Project with platform set to JS.
> >
> > I created the frameworks folder in:
> >
> > C:\IDE\ApacheRoyalNightlyAll
> >
> > which contains the royal-* folders, package.json etc.
> >
> > When I build I get the :
> >
> > "This SDK does not contains playerglobal.swc in
> > frameworks\libs\player\11.7\playerglobal.swc".  error.
> >
> > So where should I place the folder?
> >
> > The IDE highlights "J:initialView" with a red underline stating:
> > "Cannot parse a value of type org.apache.royal.core.IApplicationView"
> >
> > Where to from here?
> >
> > Thanks,
> >
> > David
> >
> >
> >
> >
> >
> > On Tue, 9 Feb 2021 at 15:23, Carlos Rovira 
> > wrote:
> >
> >> Hi, if I understand correctly, you just need to create a folder 11.7
> >> and copy the playerglobal.swc you have there. Although it is not that
> >> version, I think Royale just wants to find it there. Even though you 
> >> really
> >> use SWF, I think that will work, but more over you just want to 
> >> compile to
> >> JS.
> >>
> >> Apart from that. I think starting from Royale 0.9.7 is normal that
> >> your app breaks. There's lots of changes! 0.9.7 is from May 2020. So 
> >> in two
> >> months that will be a complete year of changes, fixes, and refactors.
> >>
> >> You should remove 9.7 completely and go with the latest nightly and
> >> update at least each week until we release 0.9.8
> >> Then start from scratch with an empty project that compiles with a
> >> hello world. Then start adding your current code little by little and
> >> fixing and updating things as you get errors until you get to the 
> >> actual
> >> state.
> >>
> >> Sorry, but there's no better way to do this. Royale is still young
> >> and many things are 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Piotr Zarzycki
In order to download Nightly build of Royale trough Moonshine you should go
to menu Help -> Getting Started -> Download Third Party Software

In launched application choose from Drop down list 0.9.8 in Royale section
- click Download. - Once it's done you can choose for your project
downloaded Nightly build of SDK.

Path of downloaded SDK will
be: c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\ - make sure
that you are seeing this for selected SDK. On Mac that path is different.


śr., 10 lut 2021 o 09:53 Piotr Zarzycki 
napisał(a):

> Please upload to some dropbox, onedrive or something like that and send me
> to my email - do you see my email here ?
>
>
>
> śr., 10 lut 2021 o 09:25 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
>> Hi Piotr,
>>
>> How can I send the project to you, I can't attached files to the post? If
>> I change the SDK back to 9.7 -JS Moonshine no longer shows the:
>>
>> The IDE highlights "J:initialView" with a red underline stating: "Cannot
>> parse a value of type org.apache.royal.core.IApplicationView"
>>
>> error, nor the .swc error. So something is messed up with the 9.8 JS-SWF
>> version. Could the nightly I have not be installed correctly? How do I
>> automate the nightlys into Moonshine?
>>
>> Cheers,
>>
>> David
>>
>>
>>
>>
>>
>> On Tue, 9 Feb 2021 at 21:53, Piotr Zarzycki 
>> wrote:
>>
>>> Carlos,
>>>
>>> Above errors are nothing to do with Moonshine at all.
>>>
>>> David,
>>>
>>> Can you zip your project and send me off the list - I will look what is
>>> your problems and guide you to resolve it. - If it's possible of course.
>>>
>>> Thanks,
>>> Piotr
>>>
>>> wt., 9 lut 2021 o 17:25 Carlos Rovira 
>>> napisał(a):
>>>
 Hi David,

 sorry but I'm not an expert in Moonshine, to set up a project
 hope Piotr could give you a hand. Since you're doing from scratch it should
 be fairly straight forward.

 El mar, 9 feb 2021 a las 16:07, David Slotemaker de Bruine (<
 dslotema...@vicensvives.com>) escribió:

> Hi Carlos,
>
> I have installed the nightly of Moonshine (3.1.0) and it is point to
> the nightly of Royal (9.8 - swf-js).
>
> I created a new ApacheRoyal Project with platform set to JS.
>
> I created the frameworks folder in:
>
> C:\IDE\ApacheRoyalNightlyAll
>
> which contains the royal-* folders, package.json etc.
>
> When I build I get the :
>
> "This SDK does not contains playerglobal.swc in
> frameworks\libs\player\11.7\playerglobal.swc".  error.
>
> So where should I place the folder?
>
> The IDE highlights "J:initialView" with a red underline stating:
> "Cannot parse a value of type org.apache.royal.core.IApplicationView"
>
> Where to from here?
>
> Thanks,
>
> David
>
>
>
>
>
> On Tue, 9 Feb 2021 at 15:23, Carlos Rovira 
> wrote:
>
>> Hi, if I understand correctly, you just need to create a folder 11.7
>> and copy the playerglobal.swc you have there. Although it is not that
>> version, I think Royale just wants to find it there. Even though you 
>> really
>> use SWF, I think that will work, but more over you just want to compile 
>> to
>> JS.
>>
>> Apart from that. I think starting from Royale 0.9.7 is normal that
>> your app breaks. There's lots of changes! 0.9.7 is from May 2020. So in 
>> two
>> months that will be a complete year of changes, fixes, and refactors.
>>
>> You should remove 9.7 completely and go with the latest nightly and
>> update at least each week until we release 0.9.8
>> Then start from scratch with an empty project that compiles with a
>> hello world. Then start adding your current code little by little and
>> fixing and updating things as you get errors until you get to the actual
>> state.
>>
>> Sorry, but there's no better way to do this. Royale is still young
>> and many things are still changing and is important to stay on the loop 
>> and
>> upgrade as we improve it.
>>
>> HTH
>>
>>
>> El mar, 9 feb 2021 a las 11:49, Piotr Zarzycki (<
>> piotrzarzyck...@gmail.com>) escribió:
>>
>>> You should use in my opinion Nightly build of Royale 0.9.8 - JS
>>> version - Carlos should provide you compiler options which builds his
>>> project
>>> In case if you have problems with Moonshine try Nightly build of it.
>>> It is available on Moonshine's website by clicking small arrow near
>>> Download button.
>>>
>>> wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
>>> dslotema...@vicensvives.com> napisał(a):
>>>
 A Nightly build of moonshine or Royal? How do I go about setting
 that up automatically like you mentioned before.

 Cheers,

 David

 On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki <
 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread Piotr Zarzycki
Please upload to some dropbox, onedrive or something like that and send me
to my email - do you see my email here ?



śr., 10 lut 2021 o 09:25 David Slotemaker de Bruine <
dslotema...@vicensvives.com> napisał(a):

> Hi Piotr,
>
> How can I send the project to you, I can't attached files to the post? If
> I change the SDK back to 9.7 -JS Moonshine no longer shows the:
>
> The IDE highlights "J:initialView" with a red underline stating: "Cannot
> parse a value of type org.apache.royal.core.IApplicationView"
>
> error, nor the .swc error. So something is messed up with the 9.8 JS-SWF
> version. Could the nightly I have not be installed correctly? How do I
> automate the nightlys into Moonshine?
>
> Cheers,
>
> David
>
>
>
>
>
> On Tue, 9 Feb 2021 at 21:53, Piotr Zarzycki 
> wrote:
>
>> Carlos,
>>
>> Above errors are nothing to do with Moonshine at all.
>>
>> David,
>>
>> Can you zip your project and send me off the list - I will look what is
>> your problems and guide you to resolve it. - If it's possible of course.
>>
>> Thanks,
>> Piotr
>>
>> wt., 9 lut 2021 o 17:25 Carlos Rovira 
>> napisał(a):
>>
>>> Hi David,
>>>
>>> sorry but I'm not an expert in Moonshine, to set up a project hope Piotr
>>> could give you a hand. Since you're doing from scratch it should be fairly
>>> straight forward.
>>>
>>> El mar, 9 feb 2021 a las 16:07, David Slotemaker de Bruine (<
>>> dslotema...@vicensvives.com>) escribió:
>>>
 Hi Carlos,

 I have installed the nightly of Moonshine (3.1.0) and it is point to
 the nightly of Royal (9.8 - swf-js).

 I created a new ApacheRoyal Project with platform set to JS.

 I created the frameworks folder in:

 C:\IDE\ApacheRoyalNightlyAll

 which contains the royal-* folders, package.json etc.

 When I build I get the :

 "This SDK does not contains playerglobal.swc in
 frameworks\libs\player\11.7\playerglobal.swc".  error.

 So where should I place the folder?

 The IDE highlights "J:initialView" with a red underline stating:
 "Cannot parse a value of type org.apache.royal.core.IApplicationView"

 Where to from here?

 Thanks,

 David





 On Tue, 9 Feb 2021 at 15:23, Carlos Rovira 
 wrote:

> Hi, if I understand correctly, you just need to create a folder 11.7
> and copy the playerglobal.swc you have there. Although it is not that
> version, I think Royale just wants to find it there. Even though you 
> really
> use SWF, I think that will work, but more over you just want to compile to
> JS.
>
> Apart from that. I think starting from Royale 0.9.7 is normal that
> your app breaks. There's lots of changes! 0.9.7 is from May 2020. So in 
> two
> months that will be a complete year of changes, fixes, and refactors.
>
> You should remove 9.7 completely and go with the latest nightly and
> update at least each week until we release 0.9.8
> Then start from scratch with an empty project that compiles with a
> hello world. Then start adding your current code little by little and
> fixing and updating things as you get errors until you get to the actual
> state.
>
> Sorry, but there's no better way to do this. Royale is still young and
> many things are still changing and is important to stay on the loop and
> upgrade as we improve it.
>
> HTH
>
>
> El mar, 9 feb 2021 a las 11:49, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
>> You should use in my opinion Nightly build of Royale 0.9.8 - JS
>> version - Carlos should provide you compiler options which builds his
>> project
>> In case if you have problems with Moonshine try Nightly build of it.
>> It is available on Moonshine's website by clicking small arrow near
>> Download button.
>>
>> wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> napisał(a):
>>
>>> A Nightly build of moonshine or Royal? How do I go about setting
>>> that up automatically like you mentioned before.
>>>
>>> Cheers,
>>>
>>> David
>>>
>>> On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki <
>>> piotrzarzyck...@gmail.com> wrote:
>>>
 I don't think you need that version. I think you should use JS
 version with some compiler options for your project. I would leave 
 Carlos
 clarification.

 If you think that you will have problem with Moonshine try Nightly
 build of it to see if it's the same.

 wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
 dslotema...@vicensvives.com> napisał(a):

> No, I have download the SWF and JS Version as Carlos says I need
> the mx:RemoteObject implementation to call BlazeDS Remote objects 
> correctly.
>
> All sorts of weird things are 

Re: Remote Object Call Performance and Fault Event

2021-02-10 Thread David Slotemaker de Bruine
Hi Piotr,

How can I send the project to you, I can't attached files to the post? If I
change the SDK back to 9.7 -JS Moonshine no longer shows the:

The IDE highlights "J:initialView" with a red underline stating: "Cannot
parse a value of type org.apache.royal.core.IApplicationView"

error, nor the .swc error. So something is messed up with the 9.8 JS-SWF
version. Could the nightly I have not be installed correctly? How do I
automate the nightlys into Moonshine?

Cheers,

David





On Tue, 9 Feb 2021 at 21:53, Piotr Zarzycki 
wrote:

> Carlos,
>
> Above errors are nothing to do with Moonshine at all.
>
> David,
>
> Can you zip your project and send me off the list - I will look what is
> your problems and guide you to resolve it. - If it's possible of course.
>
> Thanks,
> Piotr
>
> wt., 9 lut 2021 o 17:25 Carlos Rovira 
> napisał(a):
>
>> Hi David,
>>
>> sorry but I'm not an expert in Moonshine, to set up a project hope Piotr
>> could give you a hand. Since you're doing from scratch it should be fairly
>> straight forward.
>>
>> El mar, 9 feb 2021 a las 16:07, David Slotemaker de Bruine (<
>> dslotema...@vicensvives.com>) escribió:
>>
>>> Hi Carlos,
>>>
>>> I have installed the nightly of Moonshine (3.1.0) and it is point to the
>>> nightly of Royal (9.8 - swf-js).
>>>
>>> I created a new ApacheRoyal Project with platform set to JS.
>>>
>>> I created the frameworks folder in:
>>>
>>> C:\IDE\ApacheRoyalNightlyAll
>>>
>>> which contains the royal-* folders, package.json etc.
>>>
>>> When I build I get the :
>>>
>>> "This SDK does not contains playerglobal.swc in
>>> frameworks\libs\player\11.7\playerglobal.swc".  error.
>>>
>>> So where should I place the folder?
>>>
>>> The IDE highlights "J:initialView" with a red underline stating: "Cannot
>>> parse a value of type org.apache.royal.core.IApplicationView"
>>>
>>> Where to from here?
>>>
>>> Thanks,
>>>
>>> David
>>>
>>>
>>>
>>>
>>>
>>> On Tue, 9 Feb 2021 at 15:23, Carlos Rovira 
>>> wrote:
>>>
 Hi, if I understand correctly, you just need to create a folder 11.7
 and copy the playerglobal.swc you have there. Although it is not that
 version, I think Royale just wants to find it there. Even though you really
 use SWF, I think that will work, but more over you just want to compile to
 JS.

 Apart from that. I think starting from Royale 0.9.7 is normal that your
 app breaks. There's lots of changes! 0.9.7 is from May 2020. So in two
 months that will be a complete year of changes, fixes, and refactors.

 You should remove 9.7 completely and go with the latest nightly and
 update at least each week until we release 0.9.8
 Then start from scratch with an empty project that compiles with a
 hello world. Then start adding your current code little by little and
 fixing and updating things as you get errors until you get to the actual
 state.

 Sorry, but there's no better way to do this. Royale is still young and
 many things are still changing and is important to stay on the loop and
 upgrade as we improve it.

 HTH


 El mar, 9 feb 2021 a las 11:49, Piotr Zarzycki (<
 piotrzarzyck...@gmail.com>) escribió:

> You should use in my opinion Nightly build of Royale 0.9.8 - JS
> version - Carlos should provide you compiler options which builds his
> project
> In case if you have problems with Moonshine try Nightly build of it.
> It is available on Moonshine's website by clicking small arrow near
> Download button.
>
> wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
>> A Nightly build of moonshine or Royal? How do I go about setting that
>> up automatically like you mentioned before.
>>
>> Cheers,
>>
>> David
>>
>> On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki <
>> piotrzarzyck...@gmail.com> wrote:
>>
>>> I don't think you need that version. I think you should use JS
>>> version with some compiler options for your project. I would leave 
>>> Carlos
>>> clarification.
>>>
>>> If you think that you will have problem with Moonshine try Nightly
>>> build of it to see if it's the same.
>>>
>>> wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
>>> dslotema...@vicensvives.com> napisał(a):
>>>
 No, I have download the SWF and JS Version as Carlos says I need
 the mx:RemoteObject implementation to call BlazeDS Remote objects 
 correctly.

 All sorts of weird things are happening now with the IDE, I get
 build errors and mark-up warnings on all my projects even if I go back 
 to
 the standard JS only version of 9.8. frustrating :( Nothing compiles 
 now.
 Not even starting an Empty App!

 D

 On 2021/02/09 09:40:28, Piotr Zarzycki 
 wrote:
 > Just o be clear - you are 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread Piotr Zarzycki
Carlos,

Above errors are nothing to do with Moonshine at all.

David,

Can you zip your project and send me off the list - I will look what is
your problems and guide you to resolve it. - If it's possible of course.

Thanks,
Piotr

wt., 9 lut 2021 o 17:25 Carlos Rovira  napisał(a):

> Hi David,
>
> sorry but I'm not an expert in Moonshine, to set up a project hope Piotr
> could give you a hand. Since you're doing from scratch it should be fairly
> straight forward.
>
> El mar, 9 feb 2021 a las 16:07, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
>
>> Hi Carlos,
>>
>> I have installed the nightly of Moonshine (3.1.0) and it is point to the
>> nightly of Royal (9.8 - swf-js).
>>
>> I created a new ApacheRoyal Project with platform set to JS.
>>
>> I created the frameworks folder in:
>>
>> C:\IDE\ApacheRoyalNightlyAll
>>
>> which contains the royal-* folders, package.json etc.
>>
>> When I build I get the :
>>
>> "This SDK does not contains playerglobal.swc in
>> frameworks\libs\player\11.7\playerglobal.swc".  error.
>>
>> So where should I place the folder?
>>
>> The IDE highlights "J:initialView" with a red underline stating: "Cannot
>> parse a value of type org.apache.royal.core.IApplicationView"
>>
>> Where to from here?
>>
>> Thanks,
>>
>> David
>>
>>
>>
>>
>>
>> On Tue, 9 Feb 2021 at 15:23, Carlos Rovira 
>> wrote:
>>
>>> Hi, if I understand correctly, you just need to create a folder 11.7 and
>>> copy the playerglobal.swc you have there. Although it is not that version,
>>> I think Royale just wants to find it there. Even though you really use SWF,
>>> I think that will work, but more over you just want to compile to JS.
>>>
>>> Apart from that. I think starting from Royale 0.9.7 is normal that your
>>> app breaks. There's lots of changes! 0.9.7 is from May 2020. So in two
>>> months that will be a complete year of changes, fixes, and refactors.
>>>
>>> You should remove 9.7 completely and go with the latest nightly and
>>> update at least each week until we release 0.9.8
>>> Then start from scratch with an empty project that compiles with a hello
>>> world. Then start adding your current code little by little and fixing and
>>> updating things as you get errors until you get to the actual state.
>>>
>>> Sorry, but there's no better way to do this. Royale is still young and
>>> many things are still changing and is important to stay on the loop and
>>> upgrade as we improve it.
>>>
>>> HTH
>>>
>>>
>>> El mar, 9 feb 2021 a las 11:49, Piotr Zarzycki (<
>>> piotrzarzyck...@gmail.com>) escribió:
>>>
 You should use in my opinion Nightly build of Royale 0.9.8 - JS version
 - Carlos should provide you compiler options which builds his project
 In case if you have problems with Moonshine try Nightly build of it. It
 is available on Moonshine's website by clicking small arrow near Download
 button.

 wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
 dslotema...@vicensvives.com> napisał(a):

> A Nightly build of moonshine or Royal? How do I go about setting that
> up automatically like you mentioned before.
>
> Cheers,
>
> David
>
> On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki 
> wrote:
>
>> I don't think you need that version. I think you should use JS
>> version with some compiler options for your project. I would leave Carlos
>> clarification.
>>
>> If you think that you will have problem with Moonshine try Nightly
>> build of it to see if it's the same.
>>
>> wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> napisał(a):
>>
>>> No, I have download the SWF and JS Version as Carlos says I need the
>>> mx:RemoteObject implementation to call BlazeDS Remote objects correctly.
>>>
>>> All sorts of weird things are happening now with the IDE, I get
>>> build errors and mark-up warnings on all my projects even if I go back 
>>> to
>>> the standard JS only version of 9.8. frustrating :( Nothing compiles 
>>> now.
>>> Not even starting an Empty App!
>>>
>>> D
>>>
>>> On 2021/02/09 09:40:28, Piotr Zarzycki 
>>> wrote:
>>> > Just o be clear - you are using JS only version of SDK ? Did you
>>> download
>>> > it trough Moonshine SDK Installer ?
>>> >
>>> > wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
>>> > dslotema...@vicensvives.com> napisał(a):
>>> >
>>> > > I am re copying the SDK, just in case a file is missing, because
>>> even
>>> > > creating a empty js app is giving me compile errors.
>>> > >
>>> > > D
>>> > >
>>> > > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki <
>>> piotrzarzyck...@gmail.com>
>>> > > wrote:
>>> > >
>>> > >> Carlos,
>>> > >>
>>> > >> Could you provide compiler options which you have in your
>>> project ? I
>>> > >> think David is missing something in his. I don't follow 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread Carlos Rovira
Hi David,

sorry but I'm not an expert in Moonshine, to set up a project hope Piotr
could give you a hand. Since you're doing from scratch it should be fairly
straight forward.

El mar, 9 feb 2021 a las 16:07, David Slotemaker de Bruine (<
dslotema...@vicensvives.com>) escribió:

> Hi Carlos,
>
> I have installed the nightly of Moonshine (3.1.0) and it is point to the
> nightly of Royal (9.8 - swf-js).
>
> I created a new ApacheRoyal Project with platform set to JS.
>
> I created the frameworks folder in:
>
> C:\IDE\ApacheRoyalNightlyAll
>
> which contains the royal-* folders, package.json etc.
>
> When I build I get the :
>
> "This SDK does not contains playerglobal.swc in
> frameworks\libs\player\11.7\playerglobal.swc".  error.
>
> So where should I place the folder?
>
> The IDE highlights "J:initialView" with a red underline stating: "Cannot
> parse a value of type org.apache.royal.core.IApplicationView"
>
> Where to from here?
>
> Thanks,
>
> David
>
>
>
>
>
> On Tue, 9 Feb 2021 at 15:23, Carlos Rovira 
> wrote:
>
>> Hi, if I understand correctly, you just need to create a folder 11.7 and
>> copy the playerglobal.swc you have there. Although it is not that version,
>> I think Royale just wants to find it there. Even though you really use SWF,
>> I think that will work, but more over you just want to compile to JS.
>>
>> Apart from that. I think starting from Royale 0.9.7 is normal that your
>> app breaks. There's lots of changes! 0.9.7 is from May 2020. So in two
>> months that will be a complete year of changes, fixes, and refactors.
>>
>> You should remove 9.7 completely and go with the latest nightly and
>> update at least each week until we release 0.9.8
>> Then start from scratch with an empty project that compiles with a hello
>> world. Then start adding your current code little by little and fixing and
>> updating things as you get errors until you get to the actual state.
>>
>> Sorry, but there's no better way to do this. Royale is still young and
>> many things are still changing and is important to stay on the loop and
>> upgrade as we improve it.
>>
>> HTH
>>
>>
>> El mar, 9 feb 2021 a las 11:49, Piotr Zarzycki (<
>> piotrzarzyck...@gmail.com>) escribió:
>>
>>> You should use in my opinion Nightly build of Royale 0.9.8 - JS version
>>> - Carlos should provide you compiler options which builds his project
>>> In case if you have problems with Moonshine try Nightly build of it. It
>>> is available on Moonshine's website by clicking small arrow near Download
>>> button.
>>>
>>> wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
>>> dslotema...@vicensvives.com> napisał(a):
>>>
 A Nightly build of moonshine or Royal? How do I go about setting that
 up automatically like you mentioned before.

 Cheers,

 David

 On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki 
 wrote:

> I don't think you need that version. I think you should use JS version
> with some compiler options for your project. I would leave Carlos
> clarification.
>
> If you think that you will have problem with Moonshine try Nightly
> build of it to see if it's the same.
>
> wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
>> No, I have download the SWF and JS Version as Carlos says I need the
>> mx:RemoteObject implementation to call BlazeDS Remote objects correctly.
>>
>> All sorts of weird things are happening now with the IDE, I get build
>> errors and mark-up warnings on all my projects even if I go back to the
>> standard JS only version of 9.8. frustrating :( Nothing compiles now. Not
>> even starting an Empty App!
>>
>> D
>>
>> On 2021/02/09 09:40:28, Piotr Zarzycki 
>> wrote:
>> > Just o be clear - you are using JS only version of SDK ? Did you
>> download
>> > it trough Moonshine SDK Installer ?
>> >
>> > wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
>> > dslotema...@vicensvives.com> napisał(a):
>> >
>> > > I am re copying the SDK, just in case a file is missing, because
>> even
>> > > creating a empty js app is giving me compile errors.
>> > >
>> > > D
>> > >
>> > > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki <
>> piotrzarzyck...@gmail.com>
>> > > wrote:
>> > >
>> > >> Carlos,
>> > >>
>> > >> Could you provide compiler options which you have in your
>> project ? I
>> > >> think David is missing something in his. I don't follow fully
>> this thread.
>> > >>
>> > >> Thanks,
>> > >> Piotr
>> > >>
>> > >> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
>> > >> dslotema...@vicensvives.com> napisał(a):
>> > >>
>> > >>> Yes I have "JS" selected as Run, I even selected SWF saved, and
>> > >>> reselected JS. No joy.  I can clean the project but it doesn't
>> fix the
>> > >>> problem.
>> > >>>
>> > >>> Do I 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread David Slotemaker de Bruine
Hi Carlos,

I have installed the nightly of Moonshine (3.1.0) and it is point to the
nightly of Royal (9.8 - swf-js).

I created a new ApacheRoyal Project with platform set to JS.

I created the frameworks folder in:

C:\IDE\ApacheRoyalNightlyAll

which contains the royal-* folders, package.json etc.

When I build I get the :

"This SDK does not contains playerglobal.swc in
frameworks\libs\player\11.7\playerglobal.swc".  error.

So where should I place the folder?

The IDE highlights "J:initialView" with a red underline stating: "Cannot
parse a value of type org.apache.royal.core.IApplicationView"

Where to from here?

Thanks,

David





On Tue, 9 Feb 2021 at 15:23, Carlos Rovira  wrote:

> Hi, if I understand correctly, you just need to create a folder 11.7 and
> copy the playerglobal.swc you have there. Although it is not that version,
> I think Royale just wants to find it there. Even though you really use SWF,
> I think that will work, but more over you just want to compile to JS.
>
> Apart from that. I think starting from Royale 0.9.7 is normal that your
> app breaks. There's lots of changes! 0.9.7 is from May 2020. So in two
> months that will be a complete year of changes, fixes, and refactors.
>
> You should remove 9.7 completely and go with the latest nightly and update
> at least each week until we release 0.9.8
> Then start from scratch with an empty project that compiles with a hello
> world. Then start adding your current code little by little and fixing and
> updating things as you get errors until you get to the actual state.
>
> Sorry, but there's no better way to do this. Royale is still young and
> many things are still changing and is important to stay on the loop and
> upgrade as we improve it.
>
> HTH
>
>
> El mar, 9 feb 2021 a las 11:49, Piotr Zarzycki ()
> escribió:
>
>> You should use in my opinion Nightly build of Royale 0.9.8 - JS version -
>> Carlos should provide you compiler options which builds his project
>> In case if you have problems with Moonshine try Nightly build of it. It
>> is available on Moonshine's website by clicking small arrow near Download
>> button.
>>
>> wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> napisał(a):
>>
>>> A Nightly build of moonshine or Royal? How do I go about setting that up
>>> automatically like you mentioned before.
>>>
>>> Cheers,
>>>
>>> David
>>>
>>> On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki 
>>> wrote:
>>>
 I don't think you need that version. I think you should use JS version
 with some compiler options for your project. I would leave Carlos
 clarification.

 If you think that you will have problem with Moonshine try Nightly
 build of it to see if it's the same.

 wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
 dslotema...@vicensvives.com> napisał(a):

> No, I have download the SWF and JS Version as Carlos says I need the
> mx:RemoteObject implementation to call BlazeDS Remote objects correctly.
>
> All sorts of weird things are happening now with the IDE, I get build
> errors and mark-up warnings on all my projects even if I go back to the
> standard JS only version of 9.8. frustrating :( Nothing compiles now. Not
> even starting an Empty App!
>
> D
>
> On 2021/02/09 09:40:28, Piotr Zarzycki 
> wrote:
> > Just o be clear - you are using JS only version of SDK ? Did you
> download
> > it trough Moonshine SDK Installer ?
> >
> > wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
> > dslotema...@vicensvives.com> napisał(a):
> >
> > > I am re copying the SDK, just in case a file is missing, because
> even
> > > creating a empty js app is giving me compile errors.
> > >
> > > D
> > >
> > > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki <
> piotrzarzyck...@gmail.com>
> > > wrote:
> > >
> > >> Carlos,
> > >>
> > >> Could you provide compiler options which you have in your project
> ? I
> > >> think David is missing something in his. I don't follow fully
> this thread.
> > >>
> > >> Thanks,
> > >> Piotr
> > >>
> > >> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
> > >> dslotema...@vicensvives.com> napisał(a):
> > >>
> > >>> Yes I have "JS" selected as Run, I even selected SWF saved, and
> > >>> reselected JS. No joy.  I can clean the project but it doesn't
> fix the
> > >>> problem.
> > >>>
> > >>> Do I need the playerglobal.swc? Where can I get the .swc and
> where do I
> > >>> put it so I can compile?
> > >>>
> > >>> David
> > >>>
> > >>>
> > >>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki <
> piotrzarzyck...@gmail.com>
> > >>> wrote:
> > >>>
> >  Hi David,
> > 
> >  This is weird. Could you check in project Settings - section
> “Run” that
> >  you have selected Platform - “JS”
> > 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread Carlos Rovira
Hi, if I understand correctly, you just need to create a folder 11.7 and
copy the playerglobal.swc you have there. Although it is not that version,
I think Royale just wants to find it there. Even though you really use SWF,
I think that will work, but more over you just want to compile to JS.

Apart from that. I think starting from Royale 0.9.7 is normal that your app
breaks. There's lots of changes! 0.9.7 is from May 2020. So in two months
that will be a complete year of changes, fixes, and refactors.

You should remove 9.7 completely and go with the latest nightly and update
at least each week until we release 0.9.8
Then start from scratch with an empty project that compiles with a hello
world. Then start adding your current code little by little and fixing and
updating things as you get errors until you get to the actual state.

Sorry, but there's no better way to do this. Royale is still young and many
things are still changing and is important to stay on the loop and upgrade
as we improve it.

HTH


El mar, 9 feb 2021 a las 11:49, Piotr Zarzycki ()
escribió:

> You should use in my opinion Nightly build of Royale 0.9.8 - JS version -
> Carlos should provide you compiler options which builds his project
> In case if you have problems with Moonshine try Nightly build of it. It is
> available on Moonshine's website by clicking small arrow near Download
> button.
>
> wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
>> A Nightly build of moonshine or Royal? How do I go about setting that up
>> automatically like you mentioned before.
>>
>> Cheers,
>>
>> David
>>
>> On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki 
>> wrote:
>>
>>> I don't think you need that version. I think you should use JS version
>>> with some compiler options for your project. I would leave Carlos
>>> clarification.
>>>
>>> If you think that you will have problem with Moonshine try Nightly build
>>> of it to see if it's the same.
>>>
>>> wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
>>> dslotema...@vicensvives.com> napisał(a):
>>>
 No, I have download the SWF and JS Version as Carlos says I need the
 mx:RemoteObject implementation to call BlazeDS Remote objects correctly.

 All sorts of weird things are happening now with the IDE, I get build
 errors and mark-up warnings on all my projects even if I go back to the
 standard JS only version of 9.8. frustrating :( Nothing compiles now. Not
 even starting an Empty App!

 D

 On 2021/02/09 09:40:28, Piotr Zarzycki 
 wrote:
 > Just o be clear - you are using JS only version of SDK ? Did you
 download
 > it trough Moonshine SDK Installer ?
 >
 > wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
 > dslotema...@vicensvives.com> napisał(a):
 >
 > > I am re copying the SDK, just in case a file is missing, because
 even
 > > creating a empty js app is giving me compile errors.
 > >
 > > D
 > >
 > > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki <
 piotrzarzyck...@gmail.com>
 > > wrote:
 > >
 > >> Carlos,
 > >>
 > >> Could you provide compiler options which you have in your project
 ? I
 > >> think David is missing something in his. I don't follow fully this
 thread.
 > >>
 > >> Thanks,
 > >> Piotr
 > >>
 > >> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
 > >> dslotema...@vicensvives.com> napisał(a):
 > >>
 > >>> Yes I have "JS" selected as Run, I even selected SWF saved, and
 > >>> reselected JS. No joy.  I can clean the project but it doesn't
 fix the
 > >>> problem.
 > >>>
 > >>> Do I need the playerglobal.swc? Where can I get the .swc and
 where do I
 > >>> put it so I can compile?
 > >>>
 > >>> David
 > >>>
 > >>>
 > >>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki <
 piotrzarzyck...@gmail.com>
 > >>> wrote:
 > >>>
 >  Hi David,
 > 
 >  This is weird. Could you check in project Settings - section
 “Run” that
 >  you have selected Platform - “JS”
 > 
 >  Piotr
 > 
 >  On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
 >  dslotema...@vicensvives.com> wrote:
 > 
 > > Hi Carlos, Thanks,
 > >
 > > I have download the SWF and JS verison of .98 and changed the
 paths in
 > > Moonshine.
 > >
 > > Moonshine is giving me "Definition cannot be found" source
 errors for
 > > the mx imports and on building
 > > I am getting:
 > >
 > > This SDK does not contains playerglobal.swc in
 > > frameworks\libs\player\11.7\playerglobal.swc.
 > >
 > > The download think has been removed by Adobe. Where can I get
 the .swc
 > > and where do I put it so I can compile?
 > >
 > > Cheers.
 > >
 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread Piotr Zarzycki
You should use in my opinion Nightly build of Royale 0.9.8 - JS version -
Carlos should provide you compiler options which builds his project
In case if you have problems with Moonshine try Nightly build of it. It is
available on Moonshine's website by clicking small arrow near Download
button.

wt., 9 lut 2021 o 11:34 David Slotemaker de Bruine <
dslotema...@vicensvives.com> napisał(a):

> A Nightly build of moonshine or Royal? How do I go about setting that up
> automatically like you mentioned before.
>
> Cheers,
>
> David
>
> On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki 
> wrote:
>
>> I don't think you need that version. I think you should use JS version
>> with some compiler options for your project. I would leave Carlos
>> clarification.
>>
>> If you think that you will have problem with Moonshine try Nightly build
>> of it to see if it's the same.
>>
>> wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> napisał(a):
>>
>>> No, I have download the SWF and JS Version as Carlos says I need the
>>> mx:RemoteObject implementation to call BlazeDS Remote objects correctly.
>>>
>>> All sorts of weird things are happening now with the IDE, I get build
>>> errors and mark-up warnings on all my projects even if I go back to the
>>> standard JS only version of 9.8. frustrating :( Nothing compiles now. Not
>>> even starting an Empty App!
>>>
>>> D
>>>
>>> On 2021/02/09 09:40:28, Piotr Zarzycki 
>>> wrote:
>>> > Just o be clear - you are using JS only version of SDK ? Did you
>>> download
>>> > it trough Moonshine SDK Installer ?
>>> >
>>> > wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
>>> > dslotema...@vicensvives.com> napisał(a):
>>> >
>>> > > I am re copying the SDK, just in case a file is missing, because even
>>> > > creating a empty js app is giving me compile errors.
>>> > >
>>> > > D
>>> > >
>>> > > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki <
>>> piotrzarzyck...@gmail.com>
>>> > > wrote:
>>> > >
>>> > >> Carlos,
>>> > >>
>>> > >> Could you provide compiler options which you have in your project ?
>>> I
>>> > >> think David is missing something in his. I don't follow fully this
>>> thread.
>>> > >>
>>> > >> Thanks,
>>> > >> Piotr
>>> > >>
>>> > >> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
>>> > >> dslotema...@vicensvives.com> napisał(a):
>>> > >>
>>> > >>> Yes I have "JS" selected as Run, I even selected SWF saved, and
>>> > >>> reselected JS. No joy.  I can clean the project but it doesn't fix
>>> the
>>> > >>> problem.
>>> > >>>
>>> > >>> Do I need the playerglobal.swc? Where can I get the .swc and where
>>> do I
>>> > >>> put it so I can compile?
>>> > >>>
>>> > >>> David
>>> > >>>
>>> > >>>
>>> > >>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki <
>>> piotrzarzyck...@gmail.com>
>>> > >>> wrote:
>>> > >>>
>>> >  Hi David,
>>> > 
>>> >  This is weird. Could you check in project Settings - section
>>> “Run” that
>>> >  you have selected Platform - “JS”
>>> > 
>>> >  Piotr
>>> > 
>>> >  On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
>>> >  dslotema...@vicensvives.com> wrote:
>>> > 
>>> > > Hi Carlos, Thanks,
>>> > >
>>> > > I have download the SWF and JS verison of .98 and changed the
>>> paths in
>>> > > Moonshine.
>>> > >
>>> > > Moonshine is giving me "Definition cannot be found" source
>>> errors for
>>> > > the mx imports and on building
>>> > > I am getting:
>>> > >
>>> > > This SDK does not contains playerglobal.swc in
>>> > > frameworks\libs\player\11.7\playerglobal.swc.
>>> > >
>>> > > The download think has been removed by Adobe. Where can I get
>>> the .swc
>>> > > and where do I put it so I can compile?
>>> > >
>>> > > Cheers.
>>> > >
>>> > > David
>>> > >
>>> > > On 2021/02/08 16:21:22, Carlos Rovira 
>>> > > wrote:
>>> > > > Hi David,
>>> > > >
>>> > > > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale.
>>> The
>>> > > emulation
>>> > > > version is far more complete while the first one still
>>> requires more
>>> > > work
>>> > > > to be done. mx:RemoteObject can be considered 96% or so
>>> completed ;)
>>> > > >
>>> > > > About the timing issue, please first use mx version and then we
>>> > > could see
>>> > > > if the problem continues.
>>> > > >
>>> > > > Also, think that we have "Virtual" layout versions, although
>>> Jewel
>>> > > > VirtualDataGrid is still not complete.
>>> > > > If you don't need things like item renderer editing or column
>>> > > ordering, I
>>> > > > always recommend to use a simple Jewel List or VirtualList
>>> with an
>>> > > item
>>> > > > renderer and a header, since is far simpler and performant. In
>>> Flex
>>> > > we used
>>> > > > to overuse DataGrids.
>>> > > >
>>> > > > HTH
>>> > > >
>>> > > > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
>>> > 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread David Slotemaker de Bruine
A Nightly build of moonshine or Royal? How do I go about setting that up
automatically like you mentioned before.

Cheers,

David

On Tue, 9 Feb 2021 at 11:16, Piotr Zarzycki 
wrote:

> I don't think you need that version. I think you should use JS version
> with some compiler options for your project. I would leave Carlos
> clarification.
>
> If you think that you will have problem with Moonshine try Nightly build
> of it to see if it's the same.
>
> wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
>> No, I have download the SWF and JS Version as Carlos says I need the
>> mx:RemoteObject implementation to call BlazeDS Remote objects correctly.
>>
>> All sorts of weird things are happening now with the IDE, I get build
>> errors and mark-up warnings on all my projects even if I go back to the
>> standard JS only version of 9.8. frustrating :( Nothing compiles now. Not
>> even starting an Empty App!
>>
>> D
>>
>> On 2021/02/09 09:40:28, Piotr Zarzycki 
>> wrote:
>> > Just o be clear - you are using JS only version of SDK ? Did you
>> download
>> > it trough Moonshine SDK Installer ?
>> >
>> > wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
>> > dslotema...@vicensvives.com> napisał(a):
>> >
>> > > I am re copying the SDK, just in case a file is missing, because even
>> > > creating a empty js app is giving me compile errors.
>> > >
>> > > D
>> > >
>> > > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki <
>> piotrzarzyck...@gmail.com>
>> > > wrote:
>> > >
>> > >> Carlos,
>> > >>
>> > >> Could you provide compiler options which you have in your project ? I
>> > >> think David is missing something in his. I don't follow fully this
>> thread.
>> > >>
>> > >> Thanks,
>> > >> Piotr
>> > >>
>> > >> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
>> > >> dslotema...@vicensvives.com> napisał(a):
>> > >>
>> > >>> Yes I have "JS" selected as Run, I even selected SWF saved, and
>> > >>> reselected JS. No joy.  I can clean the project but it doesn't fix
>> the
>> > >>> problem.
>> > >>>
>> > >>> Do I need the playerglobal.swc? Where can I get the .swc and where
>> do I
>> > >>> put it so I can compile?
>> > >>>
>> > >>> David
>> > >>>
>> > >>>
>> > >>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki <
>> piotrzarzyck...@gmail.com>
>> > >>> wrote:
>> > >>>
>> >  Hi David,
>> > 
>> >  This is weird. Could you check in project Settings - section “Run”
>> that
>> >  you have selected Platform - “JS”
>> > 
>> >  Piotr
>> > 
>> >  On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
>> >  dslotema...@vicensvives.com> wrote:
>> > 
>> > > Hi Carlos, Thanks,
>> > >
>> > > I have download the SWF and JS verison of .98 and changed the
>> paths in
>> > > Moonshine.
>> > >
>> > > Moonshine is giving me "Definition cannot be found" source errors
>> for
>> > > the mx imports and on building
>> > > I am getting:
>> > >
>> > > This SDK does not contains playerglobal.swc in
>> > > frameworks\libs\player\11.7\playerglobal.swc.
>> > >
>> > > The download think has been removed by Adobe. Where can I get the
>> .swc
>> > > and where do I put it so I can compile?
>> > >
>> > > Cheers.
>> > >
>> > > David
>> > >
>> > > On 2021/02/08 16:21:22, Carlos Rovira 
>> > > wrote:
>> > > > Hi David,
>> > > >
>> > > > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale.
>> The
>> > > emulation
>> > > > version is far more complete while the first one still requires
>> more
>> > > work
>> > > > to be done. mx:RemoteObject can be considered 96% or so
>> completed ;)
>> > > >
>> > > > About the timing issue, please first use mx version and then we
>> > > could see
>> > > > if the problem continues.
>> > > >
>> > > > Also, think that we have "Virtual" layout versions, although
>> Jewel
>> > > > VirtualDataGrid is still not complete.
>> > > > If you don't need things like item renderer editing or column
>> > > ordering, I
>> > > > always recommend to use a simple Jewel List or VirtualList with
>> an
>> > > item
>> > > > renderer and a header, since is far simpler and performant. In
>> Flex
>> > > we used
>> > > > to overuse DataGrids.
>> > > >
>> > > > HTH
>> > > >
>> > > > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
>> > > > dslotema...@vicensvives.com>) escribió:
>> > > >
>> > > > > Hey Guys,
>> > > > >
>> > > > > I have managed to get a Remote Object Call working to our
>> current
>> > > BlazeDS
>> > > > > backend using Jewel UI and js:RemoteObject, Great work getting
>> > > that done!
>> > > > >
>> > > > > Some questions:
>> > > > >
>> > > > > I have make the call twice, the first one always returns a
>> Error
>> > > message
>> > > > > with the fault string "Detected duplicate HTTP-based
>> 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread Piotr Zarzycki
I don't think you need that version. I think you should use JS version with
some compiler options for your project. I would leave Carlos clarification.

If you think that you will have problem with Moonshine try Nightly build of
it to see if it's the same.

wt., 9 lut 2021 o 11:00 David Slotemaker de Bruine <
dslotema...@vicensvives.com> napisał(a):

> No, I have download the SWF and JS Version as Carlos says I need the
> mx:RemoteObject implementation to call BlazeDS Remote objects correctly.
>
> All sorts of weird things are happening now with the IDE, I get build
> errors and mark-up warnings on all my projects even if I go back to the
> standard JS only version of 9.8. frustrating :( Nothing compiles now. Not
> even starting an Empty App!
>
> D
>
> On 2021/02/09 09:40:28, Piotr Zarzycki  wrote:
> > Just o be clear - you are using JS only version of SDK ? Did you download
> > it trough Moonshine SDK Installer ?
> >
> > wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
> > dslotema...@vicensvives.com> napisał(a):
> >
> > > I am re copying the SDK, just in case a file is missing, because even
> > > creating a empty js app is giving me compile errors.
> > >
> > > D
> > >
> > > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki  >
> > > wrote:
> > >
> > >> Carlos,
> > >>
> > >> Could you provide compiler options which you have in your project ? I
> > >> think David is missing something in his. I don't follow fully this
> thread.
> > >>
> > >> Thanks,
> > >> Piotr
> > >>
> > >> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
> > >> dslotema...@vicensvives.com> napisał(a):
> > >>
> > >>> Yes I have "JS" selected as Run, I even selected SWF saved, and
> > >>> reselected JS. No joy.  I can clean the project but it doesn't fix
> the
> > >>> problem.
> > >>>
> > >>> Do I need the playerglobal.swc? Where can I get the .swc and where
> do I
> > >>> put it so I can compile?
> > >>>
> > >>> David
> > >>>
> > >>>
> > >>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki <
> piotrzarzyck...@gmail.com>
> > >>> wrote:
> > >>>
> >  Hi David,
> > 
> >  This is weird. Could you check in project Settings - section “Run”
> that
> >  you have selected Platform - “JS”
> > 
> >  Piotr
> > 
> >  On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
> >  dslotema...@vicensvives.com> wrote:
> > 
> > > Hi Carlos, Thanks,
> > >
> > > I have download the SWF and JS verison of .98 and changed the
> paths in
> > > Moonshine.
> > >
> > > Moonshine is giving me "Definition cannot be found" source errors
> for
> > > the mx imports and on building
> > > I am getting:
> > >
> > > This SDK does not contains playerglobal.swc in
> > > frameworks\libs\player\11.7\playerglobal.swc.
> > >
> > > The download think has been removed by Adobe. Where can I get the
> .swc
> > > and where do I put it so I can compile?
> > >
> > > Cheers.
> > >
> > > David
> > >
> > > On 2021/02/08 16:21:22, Carlos Rovira 
> > > wrote:
> > > > Hi David,
> > > >
> > > > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The
> > > emulation
> > > > version is far more complete while the first one still requires
> more
> > > work
> > > > to be done. mx:RemoteObject can be considered 96% or so
> completed ;)
> > > >
> > > > About the timing issue, please first use mx version and then we
> > > could see
> > > > if the problem continues.
> > > >
> > > > Also, think that we have "Virtual" layout versions, although
> Jewel
> > > > VirtualDataGrid is still not complete.
> > > > If you don't need things like item renderer editing or column
> > > ordering, I
> > > > always recommend to use a simple Jewel List or VirtualList with
> an
> > > item
> > > > renderer and a header, since is far simpler and performant. In
> Flex
> > > we used
> > > > to overuse DataGrids.
> > > >
> > > > HTH
> > > >
> > > > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
> > > > dslotema...@vicensvives.com>) escribió:
> > > >
> > > > > Hey Guys,
> > > > >
> > > > > I have managed to get a Remote Object Call working to our
> current
> > > BlazeDS
> > > > > backend using Jewel UI and js:RemoteObject, Great work getting
> > > that done!
> > > > >
> > > > > Some questions:
> > > > >
> > > > > I have make the call twice, the first one always returns a
> Error
> > > message
> > > > > with the fault string "Detected duplicate HTTP-based
> FlexSessions,
> > > > > generally due to the remote host disabling session cookies.
> > > Session cookies
> > > > > must be enabled to manage the client connection correctly.". I
> > > also noticed
> > > > > this event doesn't map the same way to the Fault event in Flex.
> > > The Fault
> > > > > event in Flex has a faultString and rootCause property 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread David Slotemaker de Bruine
No, I have download the SWF and JS Version as Carlos says I need the 
mx:RemoteObject implementation to call BlazeDS Remote objects correctly.

All sorts of weird things are happening now with the IDE, I get build errors 
and mark-up warnings on all my projects even if I go back to the standard JS 
only version of 9.8. frustrating :( Nothing compiles now. Not even starting an 
Empty App!

D

On 2021/02/09 09:40:28, Piotr Zarzycki  wrote: 
> Just o be clear - you are using JS only version of SDK ? Did you download
> it trough Moonshine SDK Installer ?
> 
> wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
> 
> > I am re copying the SDK, just in case a file is missing, because even
> > creating a empty js app is giving me compile errors.
> >
> > D
> >
> > On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki 
> > wrote:
> >
> >> Carlos,
> >>
> >> Could you provide compiler options which you have in your project ? I
> >> think David is missing something in his. I don't follow fully this thread.
> >>
> >> Thanks,
> >> Piotr
> >>
> >> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
> >> dslotema...@vicensvives.com> napisał(a):
> >>
> >>> Yes I have "JS" selected as Run, I even selected SWF saved, and
> >>> reselected JS. No joy.  I can clean the project but it doesn't fix the
> >>> problem.
> >>>
> >>> Do I need the playerglobal.swc? Where can I get the .swc and where do I
> >>> put it so I can compile?
> >>>
> >>> David
> >>>
> >>>
> >>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki 
> >>> wrote:
> >>>
>  Hi David,
> 
>  This is weird. Could you check in project Settings - section “Run” that
>  you have selected Platform - “JS”
> 
>  Piotr
> 
>  On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
>  dslotema...@vicensvives.com> wrote:
> 
> > Hi Carlos, Thanks,
> >
> > I have download the SWF and JS verison of .98 and changed the paths in
> > Moonshine.
> >
> > Moonshine is giving me "Definition cannot be found" source errors for
> > the mx imports and on building
> > I am getting:
> >
> > This SDK does not contains playerglobal.swc in
> > frameworks\libs\player\11.7\playerglobal.swc.
> >
> > The download think has been removed by Adobe. Where can I get the .swc
> > and where do I put it so I can compile?
> >
> > Cheers.
> >
> > David
> >
> > On 2021/02/08 16:21:22, Carlos Rovira 
> > wrote:
> > > Hi David,
> > >
> > > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The
> > emulation
> > > version is far more complete while the first one still requires more
> > work
> > > to be done. mx:RemoteObject can be considered 96% or so completed ;)
> > >
> > > About the timing issue, please first use mx version and then we
> > could see
> > > if the problem continues.
> > >
> > > Also, think that we have "Virtual" layout versions, although Jewel
> > > VirtualDataGrid is still not complete.
> > > If you don't need things like item renderer editing or column
> > ordering, I
> > > always recommend to use a simple Jewel List or VirtualList with an
> > item
> > > renderer and a header, since is far simpler and performant. In Flex
> > we used
> > > to overuse DataGrids.
> > >
> > > HTH
> > >
> > > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
> > > dslotema...@vicensvives.com>) escribió:
> > >
> > > > Hey Guys,
> > > >
> > > > I have managed to get a Remote Object Call working to our current
> > BlazeDS
> > > > backend using Jewel UI and js:RemoteObject, Great work getting
> > that done!
> > > >
> > > > Some questions:
> > > >
> > > > I have make the call twice, the first one always returns a Error
> > message
> > > > with the fault string "Detected duplicate HTTP-based FlexSessions,
> > > > generally due to the remote host disabling session cookies.
> > Session cookies
> > > > must be enabled to manage the client connection correctly.". I
> > also noticed
> > > > this event doesn't map the same way to the Fault event in Flex.
> > The Fault
> > > > event in Flex has a faultString and rootCause property but the
> > Royal
> > > > version doesn't have those 2 properties. How can I avoid the
> > double call
> > > > and get the faultString property to show to the user?
> > > >
> > > > The drawing of the result to the datagrid takes a massive amount
> > of time,
> > > > the result is 500 object long, but it takes upwards of 40 seconds
> > to fill
> > > > the datagrid, its mxml is:
> > > >
> > > >   
> > > > 
> > > >  > > > label="Codigo" dataField="notesCliente" columnWidth="100"/>
> > > >
> >   > > > 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread Piotr Zarzycki
Just o be clear - you are using JS only version of SDK ? Did you download
it trough Moonshine SDK Installer ?

wt., 9 lut 2021 o 10:32 David Slotemaker de Bruine <
dslotema...@vicensvives.com> napisał(a):

> I am re copying the SDK, just in case a file is missing, because even
> creating a empty js app is giving me compile errors.
>
> D
>
> On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki 
> wrote:
>
>> Carlos,
>>
>> Could you provide compiler options which you have in your project ? I
>> think David is missing something in his. I don't follow fully this thread.
>>
>> Thanks,
>> Piotr
>>
>> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> napisał(a):
>>
>>> Yes I have "JS" selected as Run, I even selected SWF saved, and
>>> reselected JS. No joy.  I can clean the project but it doesn't fix the
>>> problem.
>>>
>>> Do I need the playerglobal.swc? Where can I get the .swc and where do I
>>> put it so I can compile?
>>>
>>> David
>>>
>>>
>>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki 
>>> wrote:
>>>
 Hi David,

 This is weird. Could you check in project Settings - section “Run” that
 you have selected Platform - “JS”

 Piotr

 On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
 dslotema...@vicensvives.com> wrote:

> Hi Carlos, Thanks,
>
> I have download the SWF and JS verison of .98 and changed the paths in
> Moonshine.
>
> Moonshine is giving me "Definition cannot be found" source errors for
> the mx imports and on building
> I am getting:
>
> This SDK does not contains playerglobal.swc in
> frameworks\libs\player\11.7\playerglobal.swc.
>
> The download think has been removed by Adobe. Where can I get the .swc
> and where do I put it so I can compile?
>
> Cheers.
>
> David
>
> On 2021/02/08 16:21:22, Carlos Rovira 
> wrote:
> > Hi David,
> >
> > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The
> emulation
> > version is far more complete while the first one still requires more
> work
> > to be done. mx:RemoteObject can be considered 96% or so completed ;)
> >
> > About the timing issue, please first use mx version and then we
> could see
> > if the problem continues.
> >
> > Also, think that we have "Virtual" layout versions, although Jewel
> > VirtualDataGrid is still not complete.
> > If you don't need things like item renderer editing or column
> ordering, I
> > always recommend to use a simple Jewel List or VirtualList with an
> item
> > renderer and a header, since is far simpler and performant. In Flex
> we used
> > to overuse DataGrids.
> >
> > HTH
> >
> > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
> > dslotema...@vicensvives.com>) escribió:
> >
> > > Hey Guys,
> > >
> > > I have managed to get a Remote Object Call working to our current
> BlazeDS
> > > backend using Jewel UI and js:RemoteObject, Great work getting
> that done!
> > >
> > > Some questions:
> > >
> > > I have make the call twice, the first one always returns a Error
> message
> > > with the fault string "Detected duplicate HTTP-based FlexSessions,
> > > generally due to the remote host disabling session cookies.
> Session cookies
> > > must be enabled to manage the client connection correctly.". I
> also noticed
> > > this event doesn't map the same way to the Fault event in Flex.
> The Fault
> > > event in Flex has a faultString and rootCause property but the
> Royal
> > > version doesn't have those 2 properties. How can I avoid the
> double call
> > > and get the faultString property to show to the user?
> > >
> > > The drawing of the result to the datagrid takes a massive amount
> of time,
> > > the result is 500 object long, but it takes upwards of 40 seconds
> to fill
> > > the datagrid, its mxml is:
> > >
> > >   
> > > 
> > >  > > label="Codigo" dataField="notesCliente" columnWidth="100"/>
> > >
>   > > label="Nombre" dataField="nombre" columnWidth="200"/>
> > >
>   > > label="Poblacion" dataField="poblacionNombre" columnWidth="200"/>
> > >
>   > > label="GPS" dataField="direccionLatLong" columnWidth="100"/>
> > >
>   > > label="Mail" dataField="mail" columnWidth="100"/>
> > >
>   > > label="Tlfno" dataField="tlfno" columnWidth="100"/>
> > >
>   > > label="Cod.Admin" dataField="adminCliente" columnWidth="100"/>
> > > 
> > > 
> > >
> > > Anything I can do to speed it up?
> > >
> > > Cheers,
> > >
> > > David
> > >
> > >
> > >
> 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread David Slotemaker de Bruine
I am re copying the SDK, just in case a file is missing, because even
creating a empty js app is giving me compile errors.

D

On Tue, 9 Feb 2021 at 10:29, Piotr Zarzycki 
wrote:

> Carlos,
>
> Could you provide compiler options which you have in your project ? I
> think David is missing something in his. I don't follow fully this thread.
>
> Thanks,
> Piotr
>
> wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
> dslotema...@vicensvives.com> napisał(a):
>
>> Yes I have "JS" selected as Run, I even selected SWF saved, and
>> reselected JS. No joy.  I can clean the project but it doesn't fix the
>> problem.
>>
>> Do I need the playerglobal.swc? Where can I get the .swc and where do I
>> put it so I can compile?
>>
>> David
>>
>>
>> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki 
>> wrote:
>>
>>> Hi David,
>>>
>>> This is weird. Could you check in project Settings - section “Run” that
>>> you have selected Platform - “JS”
>>>
>>> Piotr
>>>
>>> On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
>>> dslotema...@vicensvives.com> wrote:
>>>
 Hi Carlos, Thanks,

 I have download the SWF and JS verison of .98 and changed the paths in
 Moonshine.

 Moonshine is giving me "Definition cannot be found" source errors for
 the mx imports and on building
 I am getting:

 This SDK does not contains playerglobal.swc in
 frameworks\libs\player\11.7\playerglobal.swc.

 The download think has been removed by Adobe. Where can I get the .swc
 and where do I put it so I can compile?

 Cheers.

 David

 On 2021/02/08 16:21:22, Carlos Rovira  wrote:
 > Hi David,
 >
 > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The
 emulation
 > version is far more complete while the first one still requires more
 work
 > to be done. mx:RemoteObject can be considered 96% or so completed ;)
 >
 > About the timing issue, please first use mx version and then we could
 see
 > if the problem continues.
 >
 > Also, think that we have "Virtual" layout versions, although Jewel
 > VirtualDataGrid is still not complete.
 > If you don't need things like item renderer editing or column
 ordering, I
 > always recommend to use a simple Jewel List or VirtualList with an
 item
 > renderer and a header, since is far simpler and performant. In Flex
 we used
 > to overuse DataGrids.
 >
 > HTH
 >
 > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
 > dslotema...@vicensvives.com>) escribió:
 >
 > > Hey Guys,
 > >
 > > I have managed to get a Remote Object Call working to our current
 BlazeDS
 > > backend using Jewel UI and js:RemoteObject, Great work getting that
 done!
 > >
 > > Some questions:
 > >
 > > I have make the call twice, the first one always returns a Error
 message
 > > with the fault string "Detected duplicate HTTP-based FlexSessions,
 > > generally due to the remote host disabling session cookies. Session
 cookies
 > > must be enabled to manage the client connection correctly.". I also
 noticed
 > > this event doesn't map the same way to the Fault event in Flex. The
 Fault
 > > event in Flex has a faultString and rootCause property but the Royal
 > > version doesn't have those 2 properties. How can I avoid the double
 call
 > > and get the faultString property to show to the user?
 > >
 > > The drawing of the result to the datagrid takes a massive amount of
 time,
 > > the result is 500 object long, but it takes upwards of 40 seconds
 to fill
 > > the datagrid, its mxml is:
 > >
 > >   
 > > 
 > > >>> > > label="Codigo" dataField="notesCliente" columnWidth="100"/>
 > >
  >>> > > label="Nombre" dataField="nombre" columnWidth="200"/>
 > >
  >>> > > label="Poblacion" dataField="poblacionNombre" columnWidth="200"/>
 > >
  >>> > > label="GPS" dataField="direccionLatLong" columnWidth="100"/>
 > >
  >>> > > label="Mail" dataField="mail" columnWidth="100"/>
 > >
  >>> > > label="Tlfno" dataField="tlfno" columnWidth="100"/>
 > >
  >>> > > label="Cod.Admin" dataField="adminCliente" columnWidth="100"/>
 > > 
 > > 
 > >
 > > Anything I can do to speed it up?
 > >
 > > Cheers,
 > >
 > > David
 > >
 > >
 > >
 > >
 > >
 >
 > --
 > Carlos Rovira
 > Apache Member & Apache Royale PMC
 > *Apache Software Foundation*
 > http://about.me/carlosrovira
 >

>>> --
>>>
>>> Piotr Zarzycki
>>>
>>
>>
>> --
>>
>> *David Slotemaker de Bruïne*
>> *Head of Educational Robotics*
>>
>>
>>
>> Av. Sarriá, 130 - 08017 Barcelona
>> 

Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread Piotr Zarzycki
Carlos,

Could you provide compiler options which you have in your project ? I think
David is missing something in his. I don't follow fully this thread.

Thanks,
Piotr

wt., 9 lut 2021 o 10:11 David Slotemaker de Bruine <
dslotema...@vicensvives.com> napisał(a):

> Yes I have "JS" selected as Run, I even selected SWF saved, and reselected
> JS. No joy.  I can clean the project but it doesn't fix the problem.
>
> Do I need the playerglobal.swc? Where can I get the .swc and where do I
> put it so I can compile?
>
> David
>
>
> On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki 
> wrote:
>
>> Hi David,
>>
>> This is weird. Could you check in project Settings - section “Run” that
>> you have selected Platform - “JS”
>>
>> Piotr
>>
>> On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
>> dslotema...@vicensvives.com> wrote:
>>
>>> Hi Carlos, Thanks,
>>>
>>> I have download the SWF and JS verison of .98 and changed the paths in
>>> Moonshine.
>>>
>>> Moonshine is giving me "Definition cannot be found" source errors for
>>> the mx imports and on building
>>> I am getting:
>>>
>>> This SDK does not contains playerglobal.swc in
>>> frameworks\libs\player\11.7\playerglobal.swc.
>>>
>>> The download think has been removed by Adobe. Where can I get the .swc
>>> and where do I put it so I can compile?
>>>
>>> Cheers.
>>>
>>> David
>>>
>>> On 2021/02/08 16:21:22, Carlos Rovira  wrote:
>>> > Hi David,
>>> >
>>> > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The
>>> emulation
>>> > version is far more complete while the first one still requires more
>>> work
>>> > to be done. mx:RemoteObject can be considered 96% or so completed ;)
>>> >
>>> > About the timing issue, please first use mx version and then we could
>>> see
>>> > if the problem continues.
>>> >
>>> > Also, think that we have "Virtual" layout versions, although Jewel
>>> > VirtualDataGrid is still not complete.
>>> > If you don't need things like item renderer editing or column
>>> ordering, I
>>> > always recommend to use a simple Jewel List or VirtualList with an item
>>> > renderer and a header, since is far simpler and performant. In Flex we
>>> used
>>> > to overuse DataGrids.
>>> >
>>> > HTH
>>> >
>>> > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
>>> > dslotema...@vicensvives.com>) escribió:
>>> >
>>> > > Hey Guys,
>>> > >
>>> > > I have managed to get a Remote Object Call working to our current
>>> BlazeDS
>>> > > backend using Jewel UI and js:RemoteObject, Great work getting that
>>> done!
>>> > >
>>> > > Some questions:
>>> > >
>>> > > I have make the call twice, the first one always returns a Error
>>> message
>>> > > with the fault string "Detected duplicate HTTP-based FlexSessions,
>>> > > generally due to the remote host disabling session cookies. Session
>>> cookies
>>> > > must be enabled to manage the client connection correctly.". I also
>>> noticed
>>> > > this event doesn't map the same way to the Fault event in Flex. The
>>> Fault
>>> > > event in Flex has a faultString and rootCause property but the Royal
>>> > > version doesn't have those 2 properties. How can I avoid the double
>>> call
>>> > > and get the faultString property to show to the user?
>>> > >
>>> > > The drawing of the result to the datagrid takes a massive amount of
>>> time,
>>> > > the result is 500 object long, but it takes upwards of 40 seconds to
>>> fill
>>> > > the datagrid, its mxml is:
>>> > >
>>> > >   
>>> > > 
>>> > > >> > > label="Codigo" dataField="notesCliente" columnWidth="100"/>
>>> > >
>>>  >> > > label="Nombre" dataField="nombre" columnWidth="200"/>
>>> > >
>>>  >> > > label="Poblacion" dataField="poblacionNombre" columnWidth="200"/>
>>> > >
>>>  >> > > label="GPS" dataField="direccionLatLong" columnWidth="100"/>
>>> > >
>>>  >> > > label="Mail" dataField="mail" columnWidth="100"/>
>>> > >
>>>  >> > > label="Tlfno" dataField="tlfno" columnWidth="100"/>
>>> > >
>>>  >> > > label="Cod.Admin" dataField="adminCliente" columnWidth="100"/>
>>> > > 
>>> > > 
>>> > >
>>> > > Anything I can do to speed it up?
>>> > >
>>> > > Cheers,
>>> > >
>>> > > David
>>> > >
>>> > >
>>> > >
>>> > >
>>> > >
>>> >
>>> > --
>>> > Carlos Rovira
>>> > Apache Member & Apache Royale PMC
>>> > *Apache Software Foundation*
>>> > http://about.me/carlosrovira
>>> >
>>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
>
> *David Slotemaker de Bruïne*
> *Head of Educational Robotics*
>
>
>
> Av. Sarriá, 130 - 08017 Barcelona
> 
>
>
> T. +34 932 523 729 ext. 135
>
> dslotema...@vicensvives.com
>


-- 

Piotr Zarzycki


Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread David Slotemaker de Bruine
Yes I have "JS" selected as Run, I even selected SWF saved, and reselected
JS. No joy.  I can clean the project but it doesn't fix the problem.

Do I need the playerglobal.swc? Where can I get the .swc and where do I put
it so I can compile?

David


On Tue, 9 Feb 2021 at 09:57, Piotr Zarzycki 
wrote:

> Hi David,
>
> This is weird. Could you check in project Settings - section “Run” that
> you have selected Platform - “JS”
>
> Piotr
>
> On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
> dslotema...@vicensvives.com> wrote:
>
>> Hi Carlos, Thanks,
>>
>> I have download the SWF and JS verison of .98 and changed the paths in
>> Moonshine.
>>
>> Moonshine is giving me "Definition cannot be found" source errors for the
>> mx imports and on building
>> I am getting:
>>
>> This SDK does not contains playerglobal.swc in
>> frameworks\libs\player\11.7\playerglobal.swc.
>>
>> The download think has been removed by Adobe. Where can I get the .swc
>> and where do I put it so I can compile?
>>
>> Cheers.
>>
>> David
>>
>> On 2021/02/08 16:21:22, Carlos Rovira  wrote:
>> > Hi David,
>> >
>> > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The
>> emulation
>> > version is far more complete while the first one still requires more
>> work
>> > to be done. mx:RemoteObject can be considered 96% or so completed ;)
>> >
>> > About the timing issue, please first use mx version and then we could
>> see
>> > if the problem continues.
>> >
>> > Also, think that we have "Virtual" layout versions, although Jewel
>> > VirtualDataGrid is still not complete.
>> > If you don't need things like item renderer editing or column ordering,
>> I
>> > always recommend to use a simple Jewel List or VirtualList with an item
>> > renderer and a header, since is far simpler and performant. In Flex we
>> used
>> > to overuse DataGrids.
>> >
>> > HTH
>> >
>> > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
>> > dslotema...@vicensvives.com>) escribió:
>> >
>> > > Hey Guys,
>> > >
>> > > I have managed to get a Remote Object Call working to our current
>> BlazeDS
>> > > backend using Jewel UI and js:RemoteObject, Great work getting that
>> done!
>> > >
>> > > Some questions:
>> > >
>> > > I have make the call twice, the first one always returns a Error
>> message
>> > > with the fault string "Detected duplicate HTTP-based FlexSessions,
>> > > generally due to the remote host disabling session cookies. Session
>> cookies
>> > > must be enabled to manage the client connection correctly.". I also
>> noticed
>> > > this event doesn't map the same way to the Fault event in Flex. The
>> Fault
>> > > event in Flex has a faultString and rootCause property but the Royal
>> > > version doesn't have those 2 properties. How can I avoid the double
>> call
>> > > and get the faultString property to show to the user?
>> > >
>> > > The drawing of the result to the datagrid takes a massive amount of
>> time,
>> > > the result is 500 object long, but it takes upwards of 40 seconds to
>> fill
>> > > the datagrid, its mxml is:
>> > >
>> > >   
>> > > 
>> > > > > > label="Codigo" dataField="notesCliente" columnWidth="100"/>
>> > >
>>  > > > label="Nombre" dataField="nombre" columnWidth="200"/>
>> > >
>>  > > > label="Poblacion" dataField="poblacionNombre" columnWidth="200"/>
>> > >
>>  > > > label="GPS" dataField="direccionLatLong" columnWidth="100"/>
>> > >
>>  > > > label="Mail" dataField="mail" columnWidth="100"/>
>> > >
>>  > > > label="Tlfno" dataField="tlfno" columnWidth="100"/>
>> > >
>>  > > > label="Cod.Admin" dataField="adminCliente" columnWidth="100"/>
>> > > 
>> > > 
>> > >
>> > > Anything I can do to speed it up?
>> > >
>> > > Cheers,
>> > >
>> > > David
>> > >
>> > >
>> > >
>> > >
>> > >
>> >
>> > --
>> > Carlos Rovira
>> > Apache Member & Apache Royale PMC
>> > *Apache Software Foundation*
>> > http://about.me/carlosrovira
>> >
>>
> --
>
> Piotr Zarzycki
>


-- 

*David Slotemaker de Bruïne*
*Head of Educational Robotics*



Av. Sarriá, 130 - 08017 Barcelona



T. +34 932 523 729 ext. 135

dslotema...@vicensvives.com


Re: Remote Object Call Performance and Fault Event

2021-02-09 Thread Piotr Zarzycki
Hi David,

This is weird. Could you check in project Settings - section “Run” that you
have selected Platform - “JS”

Piotr

On Tue, 9 Feb 2021 at 08:57, David Slotemaker de Bruine <
dslotema...@vicensvives.com> wrote:

> Hi Carlos, Thanks,
>
> I have download the SWF and JS verison of .98 and changed the paths in
> Moonshine.
>
> Moonshine is giving me "Definition cannot be found" source errors for the
> mx imports and on building
> I am getting:
>
> This SDK does not contains playerglobal.swc in
> frameworks\libs\player\11.7\playerglobal.swc.
>
> The download think has been removed by Adobe. Where can I get the .swc and
> where do I put it so I can compile?
>
> Cheers.
>
> David
>
> On 2021/02/08 16:21:22, Carlos Rovira  wrote:
> > Hi David,
> >
> > don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The
> emulation
> > version is far more complete while the first one still requires more work
> > to be done. mx:RemoteObject can be considered 96% or so completed ;)
> >
> > About the timing issue, please first use mx version and then we could see
> > if the problem continues.
> >
> > Also, think that we have "Virtual" layout versions, although Jewel
> > VirtualDataGrid is still not complete.
> > If you don't need things like item renderer editing or column ordering, I
> > always recommend to use a simple Jewel List or VirtualList with an item
> > renderer and a header, since is far simpler and performant. In Flex we
> used
> > to overuse DataGrids.
> >
> > HTH
> >
> > El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
> > dslotema...@vicensvives.com>) escribió:
> >
> > > Hey Guys,
> > >
> > > I have managed to get a Remote Object Call working to our current
> BlazeDS
> > > backend using Jewel UI and js:RemoteObject, Great work getting that
> done!
> > >
> > > Some questions:
> > >
> > > I have make the call twice, the first one always returns a Error
> message
> > > with the fault string "Detected duplicate HTTP-based FlexSessions,
> > > generally due to the remote host disabling session cookies. Session
> cookies
> > > must be enabled to manage the client connection correctly.". I also
> noticed
> > > this event doesn't map the same way to the Fault event in Flex. The
> Fault
> > > event in Flex has a faultString and rootCause property but the Royal
> > > version doesn't have those 2 properties. How can I avoid the double
> call
> > > and get the faultString property to show to the user?
> > >
> > > The drawing of the result to the datagrid takes a massive amount of
> time,
> > > the result is 500 object long, but it takes upwards of 40 seconds to
> fill
> > > the datagrid, its mxml is:
> > >
> > >   
> > > 
> > >  > > label="Codigo" dataField="notesCliente" columnWidth="100"/>
> > >
>   > > label="Nombre" dataField="nombre" columnWidth="200"/>
> > >
>   > > label="Poblacion" dataField="poblacionNombre" columnWidth="200"/>
> > >
>   > > label="GPS" dataField="direccionLatLong" columnWidth="100"/>
> > >
>   > > label="Mail" dataField="mail" columnWidth="100"/>
> > >
>   > > label="Tlfno" dataField="tlfno" columnWidth="100"/>
> > >
>   > > label="Cod.Admin" dataField="adminCliente" columnWidth="100"/>
> > > 
> > > 
> > >
> > > Anything I can do to speed it up?
> > >
> > > Cheers,
> > >
> > > David
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
-- 

Piotr Zarzycki


Re: Remote Object Call Performance and Fault Event

2021-02-08 Thread David Slotemaker de Bruine
Hi Carlos, Thanks,

I have download the SWF and JS verison of .98 and changed the paths in 
Moonshine. 

Moonshine is giving me "Definition cannot be found" source errors for the mx 
imports and on building
I am getting:

This SDK does not contains playerglobal.swc in 
frameworks\libs\player\11.7\playerglobal.swc.

The download think has been removed by Adobe. Where can I get the .swc and 
where do I put it so I can compile?

Cheers.

David

On 2021/02/08 16:21:22, Carlos Rovira  wrote: 
> Hi David,
> 
> don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The emulation
> version is far more complete while the first one still requires more work
> to be done. mx:RemoteObject can be considered 96% or so completed ;)
> 
> About the timing issue, please first use mx version and then we could see
> if the problem continues.
> 
> Also, think that we have "Virtual" layout versions, although Jewel
> VirtualDataGrid is still not complete.
> If you don't need things like item renderer editing or column ordering, I
> always recommend to use a simple Jewel List or VirtualList with an item
> renderer and a header, since is far simpler and performant. In Flex we used
> to overuse DataGrids.
> 
> HTH
> 
> El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
> dslotema...@vicensvives.com>) escribió:
> 
> > Hey Guys,
> >
> > I have managed to get a Remote Object Call working to our current BlazeDS
> > backend using Jewel UI and js:RemoteObject, Great work getting that done!
> >
> > Some questions:
> >
> > I have make the call twice, the first one always returns a Error message
> > with the fault string "Detected duplicate HTTP-based FlexSessions,
> > generally due to the remote host disabling session cookies. Session cookies
> > must be enabled to manage the client connection correctly.". I also noticed
> > this event doesn't map the same way to the Fault event in Flex. The Fault
> > event in Flex has a faultString and rootCause property but the Royal
> > version doesn't have those 2 properties. How can I avoid the double call
> > and get the faultString property to show to the user?
> >
> > The drawing of the result to the datagrid takes a massive amount of time,
> > the result is 500 object long, but it takes upwards of 40 seconds to fill
> > the datagrid, its mxml is:
> >
> >   
> > 
> >  > label="Codigo" dataField="notesCliente" columnWidth="100"/>
> >  > label="Nombre" dataField="nombre" columnWidth="200"/>
> >  > label="Poblacion" dataField="poblacionNombre" columnWidth="200"/>
> >  > label="GPS" dataField="direccionLatLong" columnWidth="100"/>
> >  > label="Mail" dataField="mail" columnWidth="100"/>
> >  > label="Tlfno" dataField="tlfno" columnWidth="100"/>
> >  > label="Cod.Admin" dataField="adminCliente" columnWidth="100"/>
> > 
> > 
> >
> > Anything I can do to speed it up?
> >
> > Cheers,
> >
> > David
> >
> >
> >
> >
> >
> 
> -- 
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
> 


Re: Remote Object Call Performance and Fault Event

2021-02-08 Thread Carlos Rovira
Hi David,

don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The emulation
version is far more complete while the first one still requires more work
to be done. mx:RemoteObject can be considered 96% or so completed ;)

About the timing issue, please first use mx version and then we could see
if the problem continues.

Also, think that we have "Virtual" layout versions, although Jewel
VirtualDataGrid is still not complete.
If you don't need things like item renderer editing or column ordering, I
always recommend to use a simple Jewel List or VirtualList with an item
renderer and a header, since is far simpler and performant. In Flex we used
to overuse DataGrids.

HTH

El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (<
dslotema...@vicensvives.com>) escribió:

> Hey Guys,
>
> I have managed to get a Remote Object Call working to our current BlazeDS
> backend using Jewel UI and js:RemoteObject, Great work getting that done!
>
> Some questions:
>
> I have make the call twice, the first one always returns a Error message
> with the fault string "Detected duplicate HTTP-based FlexSessions,
> generally due to the remote host disabling session cookies. Session cookies
> must be enabled to manage the client connection correctly.". I also noticed
> this event doesn't map the same way to the Fault event in Flex. The Fault
> event in Flex has a faultString and rootCause property but the Royal
> version doesn't have those 2 properties. How can I avoid the double call
> and get the faultString property to show to the user?
>
> The drawing of the result to the datagrid takes a massive amount of time,
> the result is 500 object long, but it takes upwards of 40 seconds to fill
> the datagrid, its mxml is:
>
>   
> 
>  label="Codigo" dataField="notesCliente" columnWidth="100"/>
>  label="Nombre" dataField="nombre" columnWidth="200"/>
>  label="Poblacion" dataField="poblacionNombre" columnWidth="200"/>
>  label="GPS" dataField="direccionLatLong" columnWidth="100"/>
>  label="Mail" dataField="mail" columnWidth="100"/>
>  label="Tlfno" dataField="tlfno" columnWidth="100"/>
>  label="Cod.Admin" dataField="adminCliente" columnWidth="100"/>
> 
> 
>
> Anything I can do to speed it up?
>
> Cheers,
>
> David
>
>
>
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira