there is chromattic documentation but it does not have a mixin section.

you can find the current documentation produced by the CI: 

chromattic.docs.reference.guide-1.1.0-beta8-20110913.123719-3-html.zip

chromattic.docs.technical.guide-1.1.0-beta8-20110913.123737-3-html.zip

obviously anyone interested can contribute to this documentation :-)

On Sep 13, 2011, at 12:03 AM, Matt Wringe wrote:

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.org
https://lists.jboss.org/mailman/listinfo/gatein-dev