jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: How to mix structured and unstructured content on a node?
Date Mon, 04 Apr 2011 15:29:17 GMT
On 04.04.11 16:11, "Markus Joschko" <markus.joschko@gmail.com> wrote:
>That theoretically means, that a node inheriting from nt:unstructure
>shouldn't have
>any properties because it will always override the catch all of
>nt:unstructure.
>How is validation handled? If my subnode defines a simple string
>property but limits what can be entered.
>Is validation ignored when getting an instance as nt:unstructured or
>is the illusion destroyed?

If you want that, the primary node type you want to use should not inherit
from nt:unstructured in the first place, and only define the properties
and their constraints that you actually want to allow.

Regards,
Alex

-- 
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel





Mime
View raw message