Switch to the offline project

From OpenCms Wiki
Jump to: navigation, search
...
// setting current project to 'Offline'
CmsRequestContext cmsContext = cmsObject.getRequestContext();
CmsProject offlineProject = cmsObject.readProject("Offline");
cmsContext.setCurrentProject(offlineProject);
...
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox