jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Thompson" <elephant...@gmail.com>
Subject Re: Configure mixin type for nt:file at creation of repository
Date Thu, 05 Apr 2007 15:37:01 GMT
On 4/5/07, Stefan Guggisberg <stefan.guggisberg@gmail.com> wrote:
>
>
> btw: the use case mentioned in the first post (automatically adding
> mix:versionable to nt:file nodes on creation) can be elegantly covered by
> creating a new type which extends from both nt:file and mix:versionable,
> e.g.
>
> [foo:file] > nt:file mix:versionable
>
> cheers
> stefan



In fact, this is almost exactly what I'm doing in my project using
Jackrabbit:

[my:file] > nt:file mix:referenceable

It works out quite nicely.

-Brian

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message