[opencms-dev] How to get find the siblings of a resource
Paddy Kalathur
paddy at efoundry.com
Thu Jun 16 01:33:41 CEST 2005
I am trying to find if a resource has sibling and what is the path of the
sibling .
I see that CmsObject.readSiblings("strPagename", CmsResourceFilter.ALL)
should give me what I want .
The question I have is how should I get the CmsObject .
When I do
CmsObject o = OpenCms.initCmsObject("Guest");
It does create a CmsObject but the documenttion say that it select the
"Online" project .
I do not want it to select the "Online" project .
Paddy Kalathur
eFoundry Corp
http://www.efoundry.com
978-371-3325
More information about the opencms-dev
mailing list