I am trying to use Chromattic to add a mixin to a component in the JCR,
but I am running into a bunch of issues (and Chromattic is lacking in
documentation). I need to use a mixin so that we can update the
component and still remain backwards compatible when starting with data
from an older install.
When trying to use ChromatticSession.create on a mixin object and then setting a property
on this newly created object, Chromattic is failing with an NPE
exception (note: not an NPE exception in that the object is null, but
from internal Chromattic classes when it tries to set the value).
If I just try and add the mixin to an node using setEmbedded, it fails
saying that the EntityContext can't add this particular mixin, and going
through the Chromattic code, it does appear that each node has a list of
particular mixins it can support. How does one add mixins to the
supported mixin list?
Is there any example somewhere on how to add any generic mixin to a
normal node using Chromattic?
I am a noob at chromattic and the jcr in general, so maybe I am doing
something obviously wrong :/
Thanks,
Matt Wringe
_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/gatein-dev