On Thu, Oct 2, 2008 at 7:15 AM, Sridhar Raman <[EMAIL PROTECTED]> wrote:
> Isn't this through the API?  Is there a way of adding mixin types in the
> node-types configuration file?

Think of mixin's as Java interfaces and node types as Java classes.
This measn in a node type definition you can inherit from multiple
mixins as well as from another plain node type (as in your example:
[tx:AuthorType] > nt:base,mix:versionable). In other words: a
supertype can be a normal node type or a mixin type.

Now when looking at real nodes, they must have one primary node type
(which can't be a mixin node type AFAIK) and which cannot be changed
after the node is created. In addition, a node can then have as many
mixins as you want, and they can be set through the API with
addMixin() and removeMixin().

Regards,
Alex

-- 
Alexander Klimetschek
[EMAIL PROTECTED]

Reply via email to