hi all,
how can i get a list of assigned mixins from a component?
I've tried from within a mixin but "getMixinClasses" returns always
an empty list:
@InjectComponent private Component _component;
@Environmental private JavascriptApi _jsAPI;
public void afterRender() {
ComponentResources _resources =
_component.getComponentResources()
.getComponentModel().getMixinClassNames();
from within a component i tried it too with:
@Inject private ComponentResources resources;
with no luck. From what i could see from the code i need a
EmbeddedComponentModel instance but i did not succeed
in obtaining one :)
g
kris.