I'm trying to create a SortableTarget mixin on my own component but am not
having any luck as yet.
I have created a MixinAny component that implements ClientElement so I can
attach mixins to an Any style component and get the client id.

I have not been able to find any examples of attaching a mixin to a
component that does not extend field.

At the moment, when I attach my mixin to my MixinAny
<div t:id="sort1" t:type="mixinAny" t:mixins="sortableTarget"
t:accept="...">

My mixin parameters (@Parameter) are populated but the container
(@InjectContainer) is null in the afterRender method of my mixin.

Any suggestions as to what to do?

I have added the following to MixinAny

    @Mixin @SuppressWarnings("unused")
    private DiscardBody discardBody;

    @Mixin @SuppressWarnings("unused")
    private RenderInformals renderInformals;

Thanks,
Lance.








I have a mixin that uses @Parameter to get parameter and @InjectContainer to
inject the container
I include my mixin

Reply via email to