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 <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 <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 <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 < >>> 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 <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 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 <piotrzarzyck...@gmail.com> >>>>>>> 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 <piotrzarzyck...@gmail.com >>>>>>> > >>>>>>> > 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 <carlosrov...@apache.org >>>>>>> > >>>>>>> > >>> 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 < >>>>>>> carlosrov...@apache.org> >>>>>>> > >>>>> 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 < >>>>>>> piotrzarzyck...@gmail.com> >>>>>>> > >>>>>>>>>> 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 < >>>>>>> > >>>>>>>>>> carlosrov...@apache.org> >>>>>>> > >>>>>>>>>> > >>>>> 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: >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> > >>>>> > > <j:DataGrid id="dg" width="1000" >>>>>>> height="300"> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> <j:columns> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> <j:DataGridColumn >>>>>>> > >>>>>>>>>> > >>>>> > > label="Codigo" dataField="notesCliente" >>>>>>> > >>>>>>>>>> columnWidth="100"/> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> > >>>>> <j:DataGridColumn >>>>>>> > >>>>>>>>>> > >>>>> > > label="Nombre" dataField="nombre" >>>>>>> columnWidth="200"/> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> > >>>>> <j:DataGridColumn >>>>>>> > >>>>>>>>>> > >>>>> > > label="Poblacion" >>>>>>> dataField="poblacionNombre" >>>>>>> > >>>>>>>>>> columnWidth="200"/> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> > >>>>> <j:DataGridColumn >>>>>>> > >>>>>>>>>> > >>>>> > > label="GPS" dataField="direccionLatLong" >>>>>>> > >>>>>>>>>> columnWidth="100"/> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> > >>>>> <j:DataGridColumn >>>>>>> > >>>>>>>>>> > >>>>> > > label="Mail" dataField="mail" >>>>>>> columnWidth="100"/> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> > >>>>> <j:DataGridColumn >>>>>>> > >>>>>>>>>> > >>>>> > > label="Tlfno" dataField="tlfno" >>>>>>> columnWidth="100"/> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> > >>>>> <j:DataGridColumn >>>>>>> > >>>>>>>>>> > >>>>> > > label="Cod.Admin" dataField="adminCliente" >>>>>>> > >>>>>>>>>> columnWidth="100"/> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> </j:columns> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> </j:DataGrid> >>>>>>> > >>>>>>>>>> > >>>>> > > >>>>>>> > >>>>>>>>>> > >>>>> > > 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 >>>>>>> > >>>>>>>>>> > >>> < >>>>>>> > >>>>>>>>>> >>>>>>> https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g >>>>>>> > >>>>>>>>>> > >>>>>>> > >>>>>>>>>> > >>> >>>>>>> > >>>>>>>>>> > >>> >>>>>>> > >>>>>>>>>> > >>> T. +34 932 523 729 ext. 135 >>>>>>> > >>>>>>>>>> > >>> >>>>>>> > >>>>>>>>>> > >>> dslotema...@vicensvives.com >>>>>>> > >>>>>>>>>> > >>> >>>>>>> > >>>>>>>>>> > >> >>>>>>> > >>>>>>>>>> > >> >>>>>>> > >>>>>>>>>> > >> -- >>>>>>> > >>>>>>>>>> > >> >>>>>>> > >>>>>>>>>> > >> Piotr Zarzycki >>>>>>> > >>>>>>>>>> > >> >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > -- >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > *David Slotemaker de Bruïne* >>>>>>> > >>>>>>>>>> > > *Head of Educational Robotics* >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > Av. Sarriá, 130 - 08017 Barcelona >>>>>>> > >>>>>>>>>> > > < >>>>>>> > >>>>>>>>>> >>>>>>> https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g >>>>>>> > >>>>>>>>>> > >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > T. +34 932 523 729 ext. 135 >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > > dslotema...@vicensvives.com >>>>>>> > >>>>>>>>>> > > >>>>>>> > >>>>>>>>>> > >>>>>>> > >>>>>>>>>> > >>>>>>> > >>>>>>>>>> > -- >>>>>>> > >>>>>>>>>> > >>>>>>> > >>>>>>>>>> > Piotr Zarzycki >>>>>>> > >>>>>>>>>> > >>>>>>> > >>>>>>>>>> >>>>>>> > >>>>>>>>> >>>>>>> > >>>>>>>>> >>>>>>> > >>>>>>>>> -- >>>>>>> > >>>>>>>>> >>>>>>> > >>>>>>>>> Piotr Zarzycki >>>>>>> > >>>>>>>>> >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> -- >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> *David Slotemaker de Bruïne* >>>>>>> > >>>>>>>> *Head of Educational Robotics* >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> Av. Sarriá, 130 - 08017 Barcelona >>>>>>> > >>>>>>>> < >>>>>>> https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g >>>>>>> > >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> T. +34 932 523 729 ext. 135 >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>>> dslotema...@vicensvives.com >>>>>>> > >>>>>>>> >>>>>>> > >>>>>>> >>>>>>> > >>>>>>> >>>>>>> > >>>>>>> -- >>>>>>> > >>>>>>> >>>>>>> > >>>>>>> Piotr Zarzycki >>>>>>> > >>>>>>> >>>>>>> > >>>>>> >>>>>>> > >>>>>> >>>>>>> > >>>>>> -- >>>>>>> > >>>>>> Carlos Rovira >>>>>>> > >>>>>> Apache Member & Apache Royale PMC >>>>>>> > >>>>>> *Apache Software Foundation* >>>>>>> > >>>>>> http://about.me/carlosrovira >>>>>>> > >>>>>> >>>>>>> > >>>>>> >>>>>>> > >>>>> >>>>>>> > >>>>> -- >>>>>>> > >>>>> >>>>>>> > >>>>> *David Slotemaker de Bruïne* >>>>>>> > >>>>> *Head of Educational Robotics* >>>>>>> > >>>>> >>>>>>> > >>>>> >>>>>>> > >>>>> >>>>>>> > >>>>> Av. Sarriá, 130 - 08017 Barcelona >>>>>>> > >>>>> < >>>>>>> https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g >>>>>>> > >>>>>>> > >>>>> >>>>>>> > >>>>> >>>>>>> > >>>>> T. +34 932 523 729 ext. 135 >>>>>>> > >>>>> >>>>>>> > >>>>> dslotema...@vicensvives.com >>>>>>> > >>>>> >>>>>>> > >>>> >>>>>>> > >>>> >>>>>>> > >>>> -- >>>>>>> > >>>> 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 >>>>>>> > >> < >>>>>>> https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g >>>>>>> > >>>>>>> > >> >>>>>>> > >> >>>>>>> > >> T. +34 932 523 729 ext. 135 >>>>>>> > >> >>>>>>> > >> dslotema...@vicensvives.com >>>>>>> > >> >>>>>>> > > >>>>>>> > > >>>>>>> > > -- >>>>>>> > > >>>>>>> > > Piotr Zarzycki >>>>>>> > > >>>>>>> > >>>>>>> > >>>>>>> > -- >>>>>>> > >>>>>>> > Piotr Zarzycki >>>>>>> > >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> *David Slotemaker de Bruïne* >>>>> *Head of Educational Robotics* >>>>> >>>>> >>>>> >>>>> Av. Sarriá, 130 - 08017 Barcelona >>>>> <https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g> >>>>> >>>>> >>>>> T. +34 932 523 729 ext. 135 >>>>> >>>>> dslotema...@vicensvives.com >>>>> >>>> >>>> >>>> -- >>>> >>>> *David Slotemaker de Bruïne* >>>> *Head of Educational Robotics* >>>> >>>> >>>> >>>> Av. Sarriá, 130 - 08017 Barcelona >>>> <https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g> >>>> >>>> >>>> T. +34 932 523 729 ext. 135 >>>> >>>> dslotema...@vicensvives.com >>>> >>> >>> >>> -- >>> >>> Piotr Zarzycki >>> >> >> >> -- >> >> Piotr Zarzycki >> > > > -- > > Piotr Zarzycki > -- Piotr Zarzycki