On Wed, Sep 16, 2009 at 8:40 AM, Bertrand Delacretaz <[email protected]> wrote: >> ...So, how do I set the vanitypath mixin in an HTML form? I assume I set the >> properties of it just like normal ones... > > Use a jcr:mixinTypes request parameter....
BTW, there are tests and examples of this in http://svn.apache.org/repos/asf/sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletUpdateTest.java which show how to add and remove mixins. -Bertrand
