[opencms-dev] touch all and publish
Frans Postma
fpostma at xs4all.nl
Mon Mar 28 16:38:52 CEST 2005
Sounds like making 'Publish Directly' available via jsp, you don't need to touch the content for that (besides which, publishing
something again which hasn't changed doesn't sound very usefull?).
Look through opencms\src\org\opencms\workplace\commons\CmsPublishProject.java on how opencms handles it's publish actions. You
would want to feed it a list from a actionElement.getNavigation().getNavigationForFolder() or such.
Of course a user would need to be authorized properly in order to be able to publish pages, i.e. logged in with sufficient rights.
Frans
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Tim
> Sent: maandag 28 maart 2005 14:14
> To: The OpenCms mailing list
> Subject: [opencms-dev] touch all and publish
>
> hi all,
>
> i would like to build a jsp (or servlet) that does the following:
>
> - touch all resources of the specified folder
> - publish the content of specified folder
>
> someone has an example to achieve this?
>
> regards,
>
> tim
>
> (opencms v6b3)
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list