[opencms-dev] HowTo Access the CmsObject?

Anatol opencms at recordcaster.de
Mon Jul 25 12:45:42 CEST 2005


Hi Borja,

yes I've tested your snipplet and it runs without any error :-) Perhaps 
a good idea to ask eclipse to generate a new javadoc ;-)
Thank you :-))

Greetings
Anatol

Borja Marcos Suarez schrieb:

>Hi Anatol,
>
>CmsJspActionElement.getCmsObject exists, I'm using it without problems.
>
>You can look for it in the openCMS source code. I also generated the
>javadocs from the source code.
>
>I don't know why you can not find this method, but exists for sure :)
>
>Hope this helps you,
>
>best regards, 
>
>Borja
>
>
>
>-----Mensaje original-----
>De: opencms-dev-bounces at opencms.org
>[mailto:opencms-dev-bounces at opencms.org] En nombre de Anatol
>Enviado el: lunes, 25 de julio de 2005 12:30
>Para: The OpenCms mailing list
>Asunto: Re: [opencms-dev] HowTo Access the CmsObject?
>
>Hi Borja Marcos, hi all!
>
>Borja Marcos Suarez schrieb:
>
>  
>
>>you can get it with:
>>
>><%
>>
>>CmsJspActionElement cms= new CmsJspActionElement
>>(pageContext,request,response);
>>
>>CmsObject object= cms.getCmsObject();
>>
>>%>
>> 
>>
>>    
>>
>Yes, I remember having seen this two years ago in OpenCms 5. But hmm .. 
>I've looked at the API 6.0 Documentation:
>/opencms/opencms/alkacon-documentation/javadoc/core/org/opencms/jsp/CmsJ
>spActionElement.html
>
>... and can't find any method getCmsObject(). Is it possible, that this 
>function was undocumented or removed?
>
>Greetings
>Anatol
>
>
>
>_______________________________________________
>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
>
>
>_______________________________________________
>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