Thanks

Ransford Segu-Baffoe

[EMAIL PROTECTED]

https://serenade.dev.java.net/
http://www.noqturnalmediasystems.com/

--- On Tue, 6/3/08, Alexander Klimetschek <[EMAIL PROTECTED]> wrote:

From: Alexander Klimetschek <[EMAIL PROTECTED]>
Subject: Re: sling:resourceType
To: [email protected], [EMAIL PROTECTED]
Date: Tuesday, June 3, 2008, 12:36 PM

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