[opencms-dev] Publish NEW resources

Andy Bicksbo schlachtzeuger at gmail.com
Fri Sep 22 00:43:16 CEST 2006


HI
Thanks for replay
I know this, but i didn't work out, how to publish a complete folder for
now.
So my question is how can i publish the comlete folder(may get the
PublishList and use publishProject(report, PublishList)?
Andy


2006/9/21, Christian Steinert <christian_steinert at web.de>:
>
> Andy Bicksbo schrieb:
>
>  Hi all
> Does somebody know, how to publish a NEW resource through an api method?
> I normally oublish resouces with cmsObject.publishResource(string path),
> but this doesn't work for new ones, it seems.
> (got the error message that cannot direct publish cause folder is new)
> Do I may need to do this with a CmsPublishList?
> Hope to get a solution for this
> Yours Andy
>
> If the folder is new, then you have to publish the complete folder.
> Opencms cannot publish a page, if the folder where it is contained is not
> published.
>
> c.
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060922/dd7ec6cc/attachment.htm>


More information about the opencms-dev mailing list