Try specifying the Content Repository using the constants provided by the class info.magnolia.cms.beans.config.ContentRepository
2009/12/8 Klaus, Daniel <[email protected]> > I have Magnolia 3.0 running and I am trying to query the dms in a > template jsp. > > The following returns null and so makes it impossible to query the dms. > > info.magnolia.cms.core.search.QueryManager qm = > MgnlContext.getQueryManager("dms"); > > If I replace "dms" with "website" a propriate Query Manager is returned. > > Querying the DMS via the Magnolia Author / Tools / JCR Queries works and > it's also possible to store documents in the DMS. > > Any idea, why NULL is returned? > > Thanks > Daniel > > > ------------------------------ > ---------------------------------------------------------------- > 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]> ----------------------------------------------------------------
