[opencms-dev] HowTo Access the CmsObject?

Anatol opencms at recordcaster.de
Mon Jul 25 11:01:38 CEST 2005


Hi All!

Can anybody tell me, how I can access the CmsObject in a JSP-Template? I 
want to use some methods implemented in the CmsObject-Class, but I found 
only examples for the use of JspActionElements and the NavElements.

It must be like:
CmsObject co = new CmsObject(CmsSecurityManager securityManager, 
CmsRequestContext context)

But the constructor-definition in the API manual with its parameter 
confuse me more than it helps. Where the hell I get the securityManager??

I would be very happy if anyone could help!

Greetings
Anatol



More information about the opencms-dev mailing list