[opencms] Re: [opencms-dev] (6) (OT) Getting CmsJspActionElement from strutsaction

Jorge González informatico at hotelparadisepark.com
Tue Jul 5 15:49:34 CEST 2005


Hi Achim,

Could you post a code example please ?

I'm really confused, i can login and use the opencms object, but i need the
JspActionElement object.

Thanks.

Jorge González.


-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]En nombre de Joachim Arrasz
Enviado el: martes, 05 de julio de 2005 10:13
Para: The OpenCms mailing list
Asunto: [opencms] Re: [opencms-dev] (6) (OT) Getting CmsJspActionElement
from strutsaction


Jorge González wrote:
> Hi list,
> this is a little off topic, but i supose every struts user must face it
> sooner or later...
>
> I need a reference to CmsJspActionElement or CmsJspBean from within an
> action, but i don't know where can i get the pageContext reference.

you have no pageContext available .. you have to create one for yourself
via the servletContext. The PageContext is only available in JSPs

hth

Achim

--
Dipl. Inf.(FH) Joachim Arrasz - joachim.arrasz at synyx.de
www.synyx.de Opensource Solutions - OpenCMS Solution Provider
irc.synyx.de/6667 #opencms   http://irc.synyx.de
http://www.opencms-forum.de
76135 Karlsruhe


_______________________________________________
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