We have found that the contextPath variable is set in the admincentral.jsp
This file is included by the <cms:links> tag.
In the java code we have found this: if (!adminOnly || Server.isAdmin()) { ...
We checked the following on our test site:
- if in the public instance the "admin" property is set to true, then the
MgnlDMS.downloadFile function works fine
- if in the public instance the "admin" property is set to false, then the
MgnlDMS.downloadFile function fails
Could this come from the way we have built the "public" site? We just copied
the author webapp into a new one (say public) and modified the config
(admin=false, modified secureURIL, ...)
Stéphane Gauthier
Webmaster * IT
Lloyds TSB International Private Banking
-----Original Message-----
From: Gauthier, Stephane (CH Temp) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 27, 2006 8:27 AM
To: [email protected]
Subject: Re: [magnolia-user] contextPath is not defined
Just noticed that on the author website the contextPath variable was set in
admintemplates/js/adminCentral.jsp file.
It seems that this is not called on the "public" site (Firefox doesn't show it)
Any idea?
Stéphane Gauthier
Webmaster * IT
Lloyds TSB International Private Banking
-----Original Message-----
From: Gauthier, Stephane (CH Temp) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 27, 2006 8:06 AM
To: [email protected]
Subject: [magnolia-user] contextPath is not defined
Hi,
We have a problem with on a public instance of Magnolia, we can't download
files from the dms, we use the MgnlDMS javascript object provided with magnolia
and we get the following error message: contextPath is not defined
Everythings works fine on the author website what can be different on the
public website
Thanks for your help
Stéphane Gauthier
Webmaster * IT
Lloyds TSB International Private Banking
************************************************************************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager
([EMAIL PROTECTED]) and delete the message with any attached files from your
system.
The confidentiality and integrity of this message cannot be guaranteed on the
Internet and the sender does not accept liability for its content.
***********************************************************************************
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------