Switch to the offline project

From OpenCms Wiki
Revision as of 14:44, 5 January 2012 by Ben (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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