[opencms-dev] can't create a resource in online mode
Thomas M�rz
thomasmaerz at gmx.de
Wed Sep 15 11:37:49 CEST 2004
"Stieve Verheyden" <stieve_verheyden at telenet.be> writes:
> How can I set the project to offline mode during the online mode?
Tested with version 5.3.6:
| CmsProject cmsProject = cmsObject.readProject( "Offline" );
| cmsObject.getRequestContext().setCurrentProject( cmsProject );
But without resetting the project, don't be astonished seeing non
published resources.
HTH
More information about the opencms-dev
mailing list