[opencms-dev] Re: customized Jsp listing all the unpublished item in a single page

Thomas März thomas.maerz at gmail.com
Mon Apr 24 15:58:56 CEST 2006


"Tarun Dixit" <dixit.tarun at gmail.com> writes:

> But Couldn't have much success. Can any body give me some hint or some help
> so that i can go forward for implementing this feature. I will be really
> grateful.

org.opencms.file.CmsResourceFilter.ALL_MODIFIED
org.opencms.file.CmsObject#readResources(String resourcename, CmsResourceFilter filter)

,----
| <form method="post" action="<%= cms.link( "/system/workplace/commons/publishresource.jsp" ) %>" target="_blank">
| <input type="hidden" name="action" value="confirmed">
| <input type="hidden" name="reportcontinuekey" value="">
| <input type="hidden" name="title" value="Publish+Resources">
| <input type="hidden" name="dialogtype" value="publishproject">
| <input type="hidden" name="threadhasnext" value="">
| <input type="hidden" name="resource" value="<%= ChangeMe -> ResourceToPublish %>">
| <input type="hidden" name="reporttype" value="extended">
| <input type="hidden" name="directpublish" value="true">
| <input type="hidden" name="backlink" value="<%= ChangeMe -> Overview %>">
| <input type="hidden" name="redirect" value="true">
| <input type="hidden" name="closelink">
| <input type="image" src="<%= cms.link( "/system/workplace/resources/buttons/publish.png" ) %>" alt="Button" border="0">
| </form>
`----

For each resource to publish modify the lines matching
"ChangeMe" of the form. You can also insert folders there, 
then everything under that folder will be published.

Basically this is the same as Publish Directly in the Backend.


Regards,
Thomas  




More information about the opencms-dev mailing list