Hi Maria Jose, you can inject views since they are processed by Crux to do so. Remember:
<crux:CruxConfig viewPackages="jewel.todomvc.views.*" ... the same we add eventPackages too. But a bead is not a view, so it's not processed. Maybe a "BeadProcessor" would be handy here ;-) but still doesn't exist. maybe could be a good addition for Royale Crux version but we'll need to measure how that should be done. I think other ways could be available like maybe implementing "ICruxAware" interface. I remember using it in Flex (Swiz) times, but never tried it in Royale with Crux, so can't say if that was migrated completely and if it is working. I think that is "unexplored realms" for you to test. El mar., 1 sept. 2020 a las 14:01, Maria Jose Esteve (<[email protected]>) escribió: > Hi, > I am implementing crux. I inject the model perfectly into any view and / > or controller but I can't inject it into a Bead. How should I do it? > If I inject the model into the main control, and retrieve it from the Bead > as << (_strand as EChartsComponent) .echartsThemesModel >> I can use it. > I imagine that this will have a technical explanation, which escapes me, > ... > If someone could help me ... > > Thank you > Hiedra > -- Carlos Rovira http://about.me/carlosrovira
