[opencms-dev] How do I add a New workspace

mava mava.mkalali at tlou.co.za
Mon Jun 27 16:01:43 CEST 2005


Can someone tell me how to add a new work space that would show
http://localhost:8080/myworkspace/  instead of
http://localhost:8080/opencms/opencms/myworkspace/ on a browser

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]On Behalf Of Markus Daniel
Sent: Friday, June 24, 2005 1:03 PM
To: The OpenCms mailing list
Subject: Re: [opencms] [opencms-dev] cmsobject


bub habub wrote:
> i'm sorry but unfortunately this page is blocked here.
blocked??
why is this page blocked??

> can anyone post the entry?
here you are:
Code:

// Create a JSP action element
CmsJspActionElement cms = new CmsJspActionElement(pageContext, request,
response);
// get actual folder
String currentFld = cms.info("OpenCms.request.folder");
// debug
out.println("Current folder=" + currentFld);
CmsObject cmsObject = CmsFlexController.getCmsObject(request);
List resources = cmsObject.getResourcesInFolder(currentFld,
CmsResourceFilter.DEFAULT_FILES);
// debug
out.println(resources);


hth,
regards,
Markus


_______________________________________________
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