[opencms-dev] login with current user
manolo fdez
manolofdez85 at hotmail.com
Tue Jul 4 13:03:43 CEST 2006
PERFECT!
Thank you very much, Christian.
Christian Steinert wrote:
>
> No - no.
>
> You have to do it differently:
>
> CmsJspActionElement cms = new CmsJspActionElement(pageContext, request,
> response);
> CmsObject ocms = cms.getCmsObject();
>
> In this way you will get a CmsObject that is already initialized for the
> current user.
> What you have tried to do - creating a completely new CmsObject - is only
> meant for *very* special cases.
>
>
> hth
> christian
>
--
View this message in context: http://www.nabble.com/login-with-current-user-tf1885252.html#a5165607
Sent from the OpenCMS - Dev forum at Nabble.com.
More information about the opencms-dev
mailing list