Carlos, thanks for your explanation. I will study SASS. As to VS Code compilation, I cannot get the same output as the one using mvn. I do not know how to specify three themes in asconfig.json, which would be the root cause. In the meantime, I need to use mvn.
By the way, I'd like to know the current status of the following page. https://apache.github.io/royale-docs/component-sets/jewel#jewel-themes Thanks. On Mon, Dec 16, 2019 at 5:47 PM Carlos Rovira <[email protected]> wrote: > Hi Takeshita, > > to clean the input is something you can do in a number of ways: > > - You can just clear textinputs after navigate to the next screen, so > when you come back for whatever reason is clean > - You can send an Event when perform the LOGOUT to make the textinputs > be cleared > > This depends more on the structure of your app. Take into account that the > example is just a very simple view state example on how that works. > > About skinning with CSS. I mean that really there's no a SKIN concept like > in Flex 4, since in HTML we can just rely on CSS. So you can create custom > CSS in you APP to add up to some concrete style in Jewel, or just override > it completely. You have available all HTML infrastructure using > "lclassName" or "style" (to go directly to low level html styling). That > kind of things can be ok for few changes you want. If you need to create > your own Theme (override all component styles or most of them), you can > create your own JewelTheme. Copying the project and changing to your needs. > I use in JewelTheme SASS since it give us structure and organization in > files. SASS is for CSS like AS3/MXML for Javascript. A way to code it in a > better and easy way and left the SASS compiler to minimize the output. You > have SASS compilation only in Maven build for free. More info in Royale > Docs in [1] & [2] > > [1] Jewel Themes > <https://apache.github.io/royale-docs/component-sets/jewel/themes> > [2] Jewel Theme Creation > <https://apache.github.io/royale-docs/component-sets/jewel/theme-creation> > > > > El lun., 16 dic. 2019 a las 2:35, Takeshita Shoichiro (<[email protected]>) > escribió: > >> Carlos, thanks. >> >> I cloud center the login panel. >> >> This is just my preference. When showing the login panel, I would not see >> the preset data. And after pressing LOGOUT button, I’d like to clear the >> input. How can we clear the input? >> >> As to skin class replacement by CSS is also fine. Can I see such an >> example? >> >> >> >> 2019年12月16日(月) 2:23 Carlos Rovira <[email protected]>: >> >>> Hi Takeshita, >>> >>> El dom., 15 dic. 2019 a las 3:17, Takeshita Shoichiro (< >>> [email protected]>) escribió: >>> >>>> Carlos, the current asconfig.json is fine. One note is that we need to >>>> use "targets": ["JSRoyale"], for JS only build. >>>> It seems I made some mistakes when creating a project BE0008 project in >>>> VS Code. This morning I tried again and things worked well. >>>> >>> >>> Thanks I committed the fix :) >>> >>> >>>> By the way, would you please advise me on how to display this Login >>>> panel at the center of the screen in Jewel? >>>> >>> >>> In the example just add a <j:VerticalCenteredLayout /> to he View >>> beads. That's all. >>> >>> >>>> And does Jewel support skin class? >>>> >>> >>> Not for now. Skin support will depend on plans on Spark emulation. >>> Maybe @Alex, could give more light on the plans in SparkRoyale. >>> In the other hand, I must admit I was a big user of skins in Flex 4, but >>> in Royale since CSS seems to me more powerful that what we had in Flex >>> times, it don't miss that feature. >>> >>> >>>> >>>> Please also check the following links in your HTML document do not work. >>>> >>>> Where to go from here >>>> >>>> - View States Royale Docs page >>>> >>>> <https://apache.github.io/royale-docs/create-an-application/view-states.html> >>>> - Jewel TextInput Royale Docs page >>>> >>>> <https://apache.github.io/royale-docs/component-sets/jewel/jewel-textinput.html> >>>> - Jewel Button Royale Docs page >>>> >>>> <https://apache.github.io/royale-docs/component-sets/jewel/jewel-button.html> >>>> - Jewel Card Royale Docs page >>>> >>>> <https://apache.github.io/royale-docs/component-sets/jewel/jewel-card.html> >>>> >>>> >>>> >>> Thanks for letting me know, I fixed in pre site. I'll try to publish >>> changes soon >>> >>> Thanks! >>> >>> Carlos >>> >>> >>> >>>> >>>> On Sat, Dec 14, 2019 at 12:17 AM Carlos Rovira <[email protected]> >>>> wrote: >>>> >>>>> Hi Takehita, >>>>> >>>>> thanks for looking into it. As expected, maven is set up but the rest >>>>> of build system are not. if you want to fix it and submit PR would be >>>>> great >>>>> :) >>>>> >>>>> Best >>>>> >>>>> Carlos >>>>> >>>>> El vie., 13 dic. 2019 a las 14:18, Takeshita Shoichiro (< >>>>> [email protected]>) escribió: >>>>> >>>>>> Carlos, I could see the output with maven clean install on Mac. >>>>>> >>>>>> But, VS Code compilation against it (project is copied to the >>>>>> different directory) does not create the output to be shown on the >>>>>> browser >>>>>> (Windows 10 Chrome). >>>>>> >>>>>> I will examine the problem tomorrow. >>>>>> >>>>>> On Fri, Dec 13, 2019 at 8:27 PM Carlos Rovira < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Blog examples was created with maven build system. Unless others >>>>>>> setup ANT, or IDE configs, I can't guarantee it would work. >>>>>>> I think others like you can try and fix if needed that config files >>>>>>> and submit as a PR to improve it. >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>> Carlos >>>>>>> >>>>>>> >>>>>>> >>>>>>> El vie., 13 dic. 2019 a las 8:47, Takeshita Shoichiro (< >>>>>>> [email protected]>) escribió: >>>>>>> >>>>>>>> Carlos, thanks a lot. >>>>>>>> >>>>>>>> There might be spam environment problem at my office. No output in >>>>>>>> the browser. I will retry at home. >>>>>>>> >>>>>>>> Just confirmation. I used the same asconfig.json for tourdejewel. >>>>>>>> Is it ok? >>>>>>>> >>>>>>>> 2019年12月13日(金) 15:57 Carlos Rovira <[email protected]>: >>>>>>>> >>>>>>>>> Hi Takeshita, >>>>>>>>> >>>>>>>>> I did this tutorial [1] for View States some months ago. >>>>>>>>> >>>>>>>>> IS that of help for you? If not let me know more about the problem >>>>>>>>> you have. It's not clear to me what's your problem. >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> Carlos >>>>>>>>> >>>>>>>>> [1] >>>>>>>>> https://royale.apache.org/using-view-states-to-show-or-hide-content/ >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> El vie., 13 dic. 2019 a las 2:58, Takeshita Shoichiro (< >>>>>>>>> [email protected]>) escribió: >>>>>>>>> >>>>>>>>>> Carlos, I have a question. >>>>>>>>>> >>>>>>>>>> If I want to reuse a part of View States, actually View States >>>>>>>>>> with includeIn panel, what should I do? >>>>>>>>>> >>>>>>>>>> Compiling only ViewStatesIncludeIn.mxml does show the output on >>>>>>>>>> the browser. >>>>>>>>>> >>>>>>>>>> Appreciate your advice. >>>>>>>>>> -- >>>>>>>>>> Shoichiro Takeshita >>>>>>>>>> 武下 祥一郎 >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Carlos Rovira >>>>>>>>> http://about.me/carlosrovira >>>>>>>>> >>>>>>>>> -- >>>>>>>> Shoichiro Takeshita >>>>>>>> 武下 祥一郎 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Carlos Rovira >>>>>>> http://about.me/carlosrovira >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> Shoichiro Takeshita >>>>>> 武下 祥一郎 >>>>>> >>>>> >>>>> >>>>> -- >>>>> Carlos Rovira >>>>> http://about.me/carlosrovira >>>>> >>>>> >>>> >>>> -- >>>> Shoichiro Takeshita >>>> 武下 祥一郎 >>>> >>> >>> >>> -- >>> Carlos Rovira >>> http://about.me/carlosrovira >>> >>> -- >> Shoichiro Takeshita >> 武下 祥一郎 >> > > > -- > Carlos Rovira > http://about.me/carlosrovira > > -- Shoichiro Takeshita 武下 祥一郎
