Hi Maria Jose,

in your IIS it should work ok without problem since the issue is only when
running in local with no server. For that case I need to launch from VSCode
with this config in Chrome or Brave browsers (Brave uses a Chrome base):

{
"type": "chrome",
"request": "launch",
"name": "Brave - Debug version",
"runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave
Browser",
"runtimeArgs": ["--allow-file-access-from-files", "--auto-ssl-client-auth"],

so if you're finding this issue running online, I can't figure what's going
on.
Can you share the use of the bead? Maybe some other thing is interfering.

Thanks



El dom., 4 oct. 2020 a las 22:48, Maria Jose Esteve (<[email protected]>)
escribió:

> Hahahha, can't I delete the old email?
>
>
>
> I have run Chrome with the --allow-file-access-from-files option and the
> operation is the same ☹
>
> I will continue investigating here.
>
> Thx.
>
> Hiedra.
>
>
>
> *De:* Maria Jose Esteve
> *Enviado el:* domingo, 4 de octubre de 2020 22:26
> *Para:* [email protected]
> *Asunto:* RE: ListAlternateRowColor bead
>
>
>
> Hello,
>
> Yes, I saw that it worked perfectly on the TDJ. And as you say, it seems
> to create the style dynamically. In the gif that I shared in the previous
> post, you can see “alternateRowColor - 100182…. -636 "
>
>
>
> What do you mean to work offline? I have my project published in my local
> IIS, am I online?
>
> Forgive my ignorance ... do I add the directive
> --allow-file-access-from-files to "additionalCompilerOptions" of the pom?
>
>
>
> Thx.
>
> Hiedra
>
>
>
> *De:* Carlos Rovira <[email protected]>
> *Enviado el:* domingo, 4 de octubre de 2020 20:53
> *Para:* [email protected]
> *Asunto:* Re: ListAlternateRowColor bead
>
>
>
> One thing. That class (that should be temporal until we get fixed some
> compiler problems with some CSS rules) uses dynamic selectors
> and getClassStyle with needs some special configuration to launch chrome
> when working offline. Could be that the problem?
>
> If you see TDJ online it works right:
> https://royale.apache.org/tourdejewel/#!list_panel
>
>
>
> see:
>
>
>
> */***
>
> *     * Get an Object with all styles in a CSS className.*
>
> *     * classname must match exactly the selector used in the CSS*
>
> *     * *
>
> *     * Note that due to CORS restrictions im Chrome, if you're working
> offline you need to*
>
> *     * use: chrome --allow-file-access-from-files, or other browser*
>
> *     * *
>
> *     * @royalesuppressexport*
>
> *     */*
>
>     COMPILE::JS
>
>     public function getClassStyle(className:String):Object
>
>
>
> El dom., 4 oct. 2020 a las 20:49, Carlos Rovira (<[email protected]>)
> escribió:
>
> Sorry, the link you provide require access. Better use a site to share
> images like http://imgur.com/
>
>
>
> El dom., 4 oct. 2020 a las 19:07, Maria Jose Esteve (<[email protected]>)
> escribió:
>
> Hello,
>
> I have started using the "ListAlternateRowColor" bead in my Jewel List
> controls but the background-color does not change for the selected item or
> for the highlighted item, over. The font color does change but the
> background-color does not.
>
> I have looked at the TDJ and I see that it does work there but I have not
> found "the reason".
>
> I don't have any custom styles, neither with the tag "style" nor with
> "className".
>
>
>
> We can see the example in the ECharts project but I include a gif to show
> the behavior. [1]
>
>
>
> Any ideas?
>
>
>
> [1]
> https://drive.google.com/file/d/16F4jNBhJf1xu9BsX9uc_Kj36jYX0bitE/view?usp=sharing
>
>
>
> Thx.
>
> Hiedra.
>
>
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
>
>
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
>
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to