[opencms-dev] getSiteNavigation doesn't

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Mon Apr 10 16:11:56 CEST 2006


On Mon, Apr 10, 2006 at 03:01:53PM +0200, DI Gunther Schmidl wrote:
> Hello,
> 
> I'm noticing strange behaviour with getSiteNavigation: whether or not I
> provide parameters, and regardless of which parameters I provide, I always
> get back an empty list.
> 
> CmsJspActionElement cms = new CmsJspActionElement(pageContext, request,
> response);
> 
> All of the following return an empty list:
> 
> List list = cms.getNavigation().getSiteNavigation(cms.getCmsObject(), "/",
> -1);
> List list = cms.getNavigation().getSiteNavigation("/", -1);
> List list = cms.getNavigation().getSiteNavigation();

Have you tried another folder than "/"? Does "/" have an "add to navigation"
property?

> 
> I'm using OpenCms 6.2.

Me too.

> 
> Anyone else encounter this? Or am I doing something wrong? Please help, I am
> completely stumped.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list