On Tue, Jun 3, 2008 at 6:24 PM, paksegu <[EMAIL PROTECTED]> wrote:
> I was reading this blog and as an excerpt below, I would like to know the 
> reason for the
> "sling:resourceType[string]" used here and or what purpose that is serve? do 
> I have to include that with all sling-apps nodes?

No, since the parent nodes are always nt:unstructured in this case.
Sling does not require this property to be defined by a node type or
mixin.

The listing below is a dump of an actual content structure, not of the
node types.

> blog [nt:unstructured]
> |  +sling:resourceType[string]
> |--post [nt:unstructured]
> |    +title[string]
> |    +body[string]
> |    +sling:resourceType[string]
> |----comment [nt:unstructured]
> |      +body[string]
> |      +sling:resourceType[string]
> |----attachment [nt:file]
>

Regards,
Alex

-- 
Alexander Klimetschek
[EMAIL PROTECTED]

Reply via email to