RE: Jewel Theme personalized

2020-02-12 Thread Maria Jose Esteve
Good Morning, We can create our own theme, duplicating JewelTheme and modifying it ... in this project we can modify the styles of controls according to whether they are Primary, Secondary or Emphasized ... To modify the base style of a component, (for example the button padding), in the exampl

Binding on non-visual components

2020-02-12 Thread Harbs
I was struggling for a long time last night trying to get binding to properly work in Router. I’m able to use Router as an MXML base, so that’s good, but wasn’t able to use binding: https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/BrowserRouter.mxml

Order of CSS dependencies

2020-02-12 Thread Harbs
I’ve run into an interesting issue while working on the Spectrum components.[1] To quickly summarize: I’m using inject_html to automatically add CSS links to the index.html file. Doing so gives no control over the order of said dependencies. The CSS files are required to be loaded in the declar

Re: Jewel Theme personalized

2020-02-12 Thread Carlos Rovira
Hi, in JewelTheme is more direct, since if you duplicate the project as a base template for your own theme, you can just go to the definition and change it to your preference. Since SASS let us separate and organize code, it's similar to how you organize AS3 code. You can go to _list.sass to chang

Re: Order of CSS dependencies

2020-02-12 Thread Carlos Rovira
Hi Harbs, if I understand the issue correctly this not seems a Royale issue to me, but a problem in Spectrum CSS structure design. In Royale, we provide CSSs to the compiler from libraries, and that generate just one compiled CSS file. User's project CSS takes precedence over framework libraries,

Re: Order of CSS dependencies

2020-02-12 Thread Harbs
The problem is caused by the fact that we have no mechanism of specifying CSS dependency order in Royale. The design of the CSS makes sense. Requiring a specific order for the CSS files is a valid strategy. NPM (via modules) does have a way to specify CSS order. I think this is a general probl

Submit TodoMVC to todomvc.com for review

2020-02-12 Thread Carlos Rovira
Hi, I think we have TodoMVC in a good state now with latest fixes and improvements by Harbs. I had as well a plan to make another version with Crux, that will be very helpful and easy to introduce, since if people is going to use MVC in a big project I think Crux is a must. So I think we can sub

compiler options docs requested on twitter

2020-02-12 Thread Carlos Rovira
Hi Andrew, could you have time to prepare a quick page with a list of the current compiler options in the royale compiler and a brief description? This was requested in this tweet by an user: https://twitter.com/ZacharyIndy/status/1227455217840644096

Re: Order of CSS dependencies

2020-02-12 Thread Carlos Rovira
Again that seems to me a problem out of the Royale realm (that is code and compilation to get a concrete compilation) Does it can be solved, instead of using inject_html, just by using an custom HTML template and setting the links to CSS files in the required order? or even using loadCSS function i

Re: Status of Router

2020-02-12 Thread Andrew Wetmore
@Harbs could you let me know if/when you are finished writing about routing in that help doc page? Once you are hands-clear, I think I want to move that general information to the other page I mentioned. The page you populated is for the tutorial, and will need a set of instructions, demo code, an

Re: Submit TodoMVC to todomvc.com for review

2020-02-12 Thread Andrew Wetmore
@Carlos Rovira I would be glad to help prepare this for submission. I see some areas where I might be able to help, like writing the "convincing description". Can you point me to where the Local Shared Object code lives? I want to be able to write about that in the appropriate doc page, and poin

Re: Submit TodoMVC to todomvc.com for review

2020-02-12 Thread Carlos Rovira
Hi Andrew, thanks for taking the torch! I think it will be of great help thanks to your writing skills :) About Local SharedObject. Harbs added "AMFStorage" class that is better since it removes the dependency from MXRoyale. That class is like LocalStorage, but using AMF instead of JSON and is lo

Re: Binding on non-visual components

2020-02-12 Thread Alex Harui
Binding is really just encapsulation of adding event listeners to things and setting other values in that listener. The different classes like ApplicationDataBinding, ContainerDataBinding, ItemRendererDataBinding are mostly the same, but try to specialize around some knowledge of what is import

addAll in ArrayList

2020-02-12 Thread Raúl Núñez
Hi: Why is not implemented addAll method in ArrayList class?? Best Regards!!

Re: Order of CSS dependencies

2020-02-12 Thread Alex Harui
I don't understand the problem. Maybe you can create a royale-compiler issue and put in the current index.html and show what the correct output should be. Besides inject_html, shouldn't you be able to use -html-template and specify the order in a custom index.html file? -Alex On 2/12/20, 4:

Re: Order of CSS dependencies

2020-02-12 Thread Harbs
> On Feb 12, 2020, at 7:16 PM, Alex Harui wrote: > > I don't understand the problem. Maybe you can create a royale-compiler issue > and put in the current index.html and show what the correct output should be. If you look at the source here: You’ll see the following lines: inputgro

Re: Order of CSS dependencies

2020-02-12 Thread Alex Harui
I'm still not understanding. Are you asking for dependency order of output of inject_html? -Alex On 2/12/20, 10:03 AM, "Harbs" wrote: > On Feb 12, 2020, at 7:16 PM, Alex Harui wrote: > > I don't understand the problem. Maybe you can create a royale-compiler issue and put

Re: Order of CSS dependencies

2020-02-12 Thread Harbs
That’s one option. Another way would be to have a way to declare CSS dependencies in classes. The problem is that we have no way to handle CSS order for Classes which depend on CSS. I’m not sure what the best solution would be. > On Feb 12, 2020, at 8:11 PM, Alex Harui wrote: > > I'm still no

Re: Status of Router

2020-02-12 Thread Harbs
OK. I’ll try to finish writing it tonight. > On Feb 12, 2020, at 4:12 PM, Andrew Wetmore wrote: > > @Harbs could you let me know if/when you are > finished writing about routing in that help doc page? Once you are > hands-clear, I think I want to move that genera

Re: Order of CSS dependencies

2020-02-12 Thread Carlos Rovira
Hi Harbs "Yes, but I’d like to automatically only load the CSS actually required by the components used." so this means you can make a logic that use "loadCSS" function right? I'm using it in Tour De Jewel to switch themes, removing unused ones when needed. I think that's you're looking for. --

Re: Order of CSS dependencies

2020-02-12 Thread Harbs
No. The CSS needs to be loaded before the app. > On Feb 12, 2020, at 8:28 PM, Carlos Rovira wrote: > > Hi Harbs > > "Yes, but I’d like to automatically only load the CSS actually required by > the components used." > > so this means you can make a logic that use "loadCSS" function right? I'm >

RouteToState not setting initial currentState

2020-02-12 Thread Carlos Rovira
Hi Harbs, if you remove all todos in TodoMVC, reload the app and add a new todo, the footer is not in the currentState="All" I thought that was due to currentState="All" in other component, but as you can see in my latest commit I put in the right place but nothing changes. I think there's a littl

New TodoMVC Crux version

2020-02-12 Thread Carlos Rovira
Hi, just let you know that I committed a new Crux version of the TodoMVC example Is good to notice how the example is greatly simplified thanks to Crux: - Controller and Model are no more Beads but plain classes, and are not wired through CSS - Controller now uses EventHandler metadata

Re: RouteToState not setting initial currentState

2020-02-12 Thread Harbs
Fixed. > On Feb 12, 2020, at 9:03 PM, Carlos Rovira wrote: > > Hi Harbs, > > if you remove all todos in TodoMVC, reload the app and add a new todo, the > footer is not in the currentState="All" > I thought that was due to currentState="All" in other component, but as you > can see in my latest

Re: RouteToState not setting initial currentState

2020-02-12 Thread Carlos Rovira
Thanks! :) El mié., 12 feb. 2020 a las 21:00, Harbs () escribió: > Fixed. > > > On Feb 12, 2020, at 9:03 PM, Carlos Rovira > wrote: > > > > Hi Harbs, > > > > if you remove all todos in TodoMVC, reload the app and add a new todo, > the > > footer is not in the currentState="All" > > I thought tha

Build failed in Jenkins: royale-asjs #703

2020-02-12 Thread apacheroyaleci
See Changes: -- [...truncated 310.06 KB...] [echo] Need file: ${still_no_file} get-from-cache-if-needed: fail-if-not-found: fail-with-message: main: te

Build failed in Jenkins: royale-typedefs #335

2020-02-12 Thread apacheroyaleci
See Changes: -- Started by timer Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on agent1 in workspac

Jenkins build is back to normal : royale-asjs #704

2020-02-12 Thread apacheroyaleci
See

Jenkins build is back to normal : royale-typedefs #336

2020-02-12 Thread apacheroyaleci
See

Build failed in Jenkins: Royale_ASDoc_Example #613

2020-02-12 Thread apacheroyaleci
See Changes: [harbs] bead stubs [harbs] More stubs [harbs] Theoretically works Still need path routing [harbs] added to manifest [harbs] added default route [harbs] work on st

Build failed in Jenkins: TourDeFlexMigration #612

2020-02-12 Thread apacheroyaleci
See Changes: [harbs] bead stubs [harbs] More stubs [harbs] Theoretically works Still need path routing [harbs] added to manifest [harbs] added default route [harbs] work on sta

Build failed in Jenkins: Royale_ASDoc_Example #614

2020-02-12 Thread apacheroyaleci
See Changes: -- [...truncated 7.56 KB...] [mxmlc] 14 [mxmlc] -output=

Build failed in Jenkins: TourDeFlexMigration #613

2020-02-12 Thread apacheroyaleci
See Changes: -- Started by upstream project "royale-asjs" build number 705 originally caused by: Started by upstream project "royale-asjs_jsonly" build

Build failed in Jenkins: Royale_ASDoc_Example #615

2020-02-12 Thread apacheroyaleci
See Changes: -- [...truncated 5.09 KB...] [mxmlc] 14 [mxmlc] -output=

Build failed in Jenkins: TourDeFlexMigration #614

2020-02-12 Thread apacheroyaleci
See Changes: -- Started by upstream project "royale-asjs" build number 706 originally caused by: Started by upstream project "royale-asjs_jsonly" build

Build failed in Jenkins: royale-asjs #707

2020-02-12 Thread apacheroyaleci
See Changes: -- [...truncated 1.17 MB...] [java] var events = require('events'); [java] ^^^ [java] [java] Feb 13, 2020 5:30