[opencms-dev] getSiteNavigation doesn't

DI Gunther Schmidl schmidl at webdynamite.com
Mon Apr 10 15:01:53 CEST 2006


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();

I'm using OpenCms 6.2.

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

Thanks,

-- Gunther




More information about the opencms-dev mailing list