[Hippo-cms7-user] accessing nodes

Jeroen Reijn j.reijn at onehippo.com
Thu May 27 11:32:13 CEST 2010


Hi Sebastiaan,

this can be achieved by plain JCR.

See: http://www.day.com/maven/jsr170/javadocs/jcr-1.0/index.html

For the API docs.

Jeroen

On Thu, May 27, 2010 at 10:59 AM, Sebastiaan <svanachterbergh at gmail.com> wrote:
>
> Hi,
>
> Let's say I have a data-model as the one below, how do I access the node
> myname:externallink and it's properties when I'm working with an instance of
> the node myname:document?
>
> <'myname'='http://www.hippoecm.org/hst/nt/myname/2.0'>
> <'nt'='http://www.jcp.org/jcr/nt/1.0'>
> <'hippostd'='http://www.hippoecm.org/hippostd/nt/1.3'>
> <'hippo'='http://www.hippoecm.org/nt/1.3'>
>
> [myname:document] > nt:base
>  orderable
>  + myname:paragraph (myname:paragraph) multiple
>  + myname:download (myname:download) multiple
>  + myname:externallink (myname:externallink)
>
> [myname:article] > myname:document
>  - myname:title (string) mandatory
>  - myname:publicationdate (date) mandatory
>  - myname:needsReview (boolean)
>  + myname:moreinformation (hippostd:html)
>  + myname:links (hippo:facetselect) multiple
>
> [myname:externallink] > nt:base
>  orderable
>  - myname:title (string)
>  + myname:links (hippostd:html)
> --
> View this message in context: http://hippo.2275632.n2.nabble.com/accessing-nodes-tp5107639p5107639.html
> Sent from the Plugin Development and Customization mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>



More information about the Hippo-cms7-user mailing list