Hi,

I need to use the content created in a new page in "Website" (topmost menu
item) to be available in a webapp, which should be independent of Magnolia
and just use JCR API. 

The code i see everywhere is :

                HierarchyManager mgr =
MgnlContext.getHierarchyManager(ContentRepository.WEBSITE);
                Content uriContent = mgr.getContent("/newpage/contentPara/0");

What would be the JCR equivalent of this ? 

In repositories.xml, we give : 
    <RepositoryMapping>
        <Map name="website" repositoryName="magnolia"
workspaceName="website" /> 

so, i'm assuming "website"  is a workspace and not a repository. Please lead
me in the right direction.









-- 
View this message in context: 
http://www.nabble.com/Get-%22website%22-workspace-content-using-JCR-alone-tp16396031p16396031.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to