[opencms-dev] Publish folder from Java Api

Robert Weber rw at clt.ag
Mon Dec 3 23:52:56 CET 2012


Hi List,

how do I publish a folder and containing resource from within JSP via OpenCMS API.

This code:

    OpenCms.getPublishManager().publishResource(cmso, resourcePath);

with resourcePath as a folder within VFS seems not to work. Any ideas? Thanks!

Cheers
Robert


More information about the opencms-dev mailing list