[opencms-dev] JSP list unpublished links
NGAWAKA Naomi
Naomi.Ngawaka at publicworks.qld.gov.au
Thu Apr 21 07:01:17 CEST 2005
Thank you :)
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Thomas Maerz
Sent: Thursday, 17 March 2005 5:26 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] JSP list unpublished links
"NGAWAKA Naomi" <Naomi.Ngawaka at publicworks.qld.gov.au> writes:
> I am trying to create some JSP's that allow users to create,
edit,
> delete and publish external links. I am pretty close to finishing but
> now realise
> cmso.getFilesInFolder("/system/galleries/externallinks/test/", true)
> does not return new unpublished links.
I use a Singleton to access offline data.
| cmsObject = OpenCms.initCmsObject( LOGIN_GUEST_USER );
| cmsObject.loginUser( LOGIN_SOME_USER, PASSWORD_SOME_USER );
|
| CmsProject cmsProject = cmsObject.readProject( SOME_PROJECT );
| cmsObject.getRequestContext().setCurrentProject( cmsProject );
|
| cmsObject.getRequestContext().setSiteRoot( SITE_ROOT );
HTH,
Thomas
_______________________________________________
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