Hi Guys, Instead creating new subject I decided report here something which does apply to the problem. In Prominics's MyAccount [1] which is mostly Jewel oriented we are doing a lot of following applies:
.stackedShrinkFormItem { IBeadLayout: ClassReference("org.apache.royale.jewel.beads.layouts.VerticalLayout"); } <j:FormItem className="stackedShrinkFormItem" /> Above working perfectly with Jewel type of application. Unfortunately when I do above applies of bead in Emulation oriented application for Spark or Mx components class is being applied to item, but everything else is ignored. Bead is not being applied ? Could it be compiler issue ? Thanks, Piotr [1] https://prominic.net/MyAccount śr., 25 gru 2019 o 11:11 Carlos Rovira <carlosrov...@apache.org> napisał(a): > I think working on that extension would be appreciated and used, since most > of users will use it without doubt > > El mié., 25 dic. 2019 a las 0:45, Alex Harui (<aha...@adobe.com.invalid>) > escribió: > > > I don't see why you couldn't create a CSSValuesImpl that supports > > descendant selectors. Hopefully IValuesImpls are easily replaceable. > > > > HTH, > > -Alex > > > > On 12/24/19, 6:36 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: > > > > Taking a look at SimpleCSSValuesImpl, the documentation says it > > doesn’t handle descendants. So it looks to me like that rules out all > > proposals except Carlos’. I’ll probably just inject the bead in the mxml. > > Thanks, all. > > > > ________________________________ > > From: Alex Harui <aha...@adobe.com.INVALID> > > Sent: Monday, December 23, 2019 5:37:26 PM > > To: dev@royale.apache.org <dev@royale.apache.org> > > Subject: Re: Smart Selectors for Beads > > > > If the objects can all subclass a base class then you can use one of > > our fake type selectors. > > > > Alternatively, and I don't think we've tried this, but all interested > > classes could load a bead that injects an additional classname/typename > and > > then the descendant CSS can use that instead of .datechooser. > > > > That said, it isn't clear to me why your descendant selector didn't > > work so there might be a bug there. I don't know if SimpleCSSValuesImpl > > handles descendant selectors. Cuz it is 'Simple' > > > > -Alex > > > > On 12/23/19, 7:22 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: > > > > I need to add a bead to all Table objects in our application, but > > not to Table objects contained within another specific css class. So in > our > > css I’ve defined > > > > j|Table { > > IBeadView: ClassReference("classes.beads.GridLikeTableView"); > > } > > > > But now I find that tables in a calendar are also affected, which > > is unintended. So I tried adding before that > > > > .datechooser j|Table { > > IBeadView: > > ClassReference("org.apache.royale.jewel.beads.views.TableView"); > > } > > > > But that affects all Table objects whether or not they’re > > contained in a .datachooser class. Any ideas how to be more surgical > about > > adding beads? > > > > > > > > > > > > -- > Carlos Rovira > http://about.me/carlosrovira > -- Piotr Zarzycki