[opencms-dev] show online Version of a Page
Antonio Reyes
antonio_reyes_orta at yahoo.es
Mon Apr 18 16:16:50 CEST 2005
I don't know if exist a request parameter to do it.
You can make a jsp page in order to preview the online page, this jsp must
to conmute to online project using
this code:
cmsObject.getRequestContext().setCurrentProject(1); conmute to online
project
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]En nombre de Peter korn
Enviado el: lunes, 18 de abril de 2005 14:52
Para: opencms-dev at opencms.org
Asunto: RE: [opencms-dev] show online Version of a Page
Hi,
this works for a user that is using the opencms workplace but i am writing a
module in OpenCms that shows the page with the direct edit buttons so i have
to set the project to the offline Project. In the same page i need a link to
the online Version of the page.
So i have the problem that the current project is the offline project, so i
can link to the page with the directEdit feature, and on the other hand i
need a link to the online version of the page.
thanks
peter
----- Original -----
Conmute to the project online, using the combo box on the head.
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]En nombre de Peter korn
Enviado el: lunes, 18 de abril de 2005 13:15
Para: opencms-dev at opencms.org
Asunto: [opencms-dev] show online Version of a Page
Hi,
is there a way to link to the online version of a page if the user is logged
in and the project is offline.
Something like a parameter added to the link? Or to switch temporary to the
online project for this request?
thanks
peter
--
--
+++ GMX - Die erste Adresse f|r Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail
_______________________________________________
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