I guess your tree implementation is not based on JCRAdminTree class then and
you don't see node data for any of the nodes, not just for meta data, correct?
To show node data try adding
tree.addItemType(ItemType.MGNL_NODE_DATA);
HTH,
Jan
On Feb 7, 2011, at 4:22 PM, Hans Wichman wrote:
>
> Hi,
>
> Hmm ok, well I see metadata but that's it. The rest is hidden.
> (if I query the jcr repository I can see it's there though)
>
> Regards,
> Hans
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Jan Haderka
> Sent: maandag 7 februari 2011 15:55
> To: Magnolia User-List
> Subject: Re: [magnolia-user] showing template nodes in JCR browser
>
>
> mgnl:template is a node data of meta data, not a node on its own.
>
> If you see meta data and all its meta data you should be able to see
> mgnl:template there too.
>
> HTH,
> Jan
>
> On Feb 7, 2011, at 3:48 PM, Hans Wichman wrote:
>
>>
>> Hi list,
>>
>> I'm trying to show the contents of the mgnl:template nodes in the JCR
>> (Website) browser. I've set a custom tree config class with:
>>
>> tree.addItemType(ItemType.NT_METADATA);
>>
>> tree.addItemType("mgnl:template");
>>
>> (deprecated i know).
>>
>> So far the MetaData node shows up but not the mgnl:template nodes, any ideas
>> would be appreciated.
>>
>> regards,
>> Hans
>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <[email protected]>
>> ----------------------------------------------------------------
>
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
-
Best regards,
Jan Haderka, PhD.
Magnolia International Ltd.
http://www.magnolia-cms.com
http://twitter.com/magnolia_cms
http://facebook.com/Magnolia
--------------------------------------
Magnolia® - Simple Open-Source Content Management
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------