kuhbrille
Posts: 11
|
Posted: 03/11/2008, 1:51 AM |
|
Hello,
using Tomcat 6, JDk 1.6, WinXP CCS 3 and 4
when we publish a page with loading Datepicker.js and Functions.js in it,
(i.e. <script language="JavaScript" src="ClientI18N.do?file=Functions.js&locale={res:CCS_LocaleID}" type="text/javascript" charset="utf-8">)
we get Javascript Errors i.e. if we click on a datepicker.
The Debugging Info from CCS wites to the logfile:
CCLogger [11-03 09:41:36.544] DEBUG: GetFileServlet => file 'Functions.js' is requested
CCLogger [11-03 09:41:36.544] DEBUG: LocaleChooser.getCCSLocale => localeName: de
CCLogger [11-03 09:41:36.544] ERROR: Unable to open file 'Functions.js'.
CCLogger [11-03 09:41:36.559] DEBUG: GetFileServlet => file 'DatePicker.js' is requested
CCLogger [11-03 09:41:36.559] DEBUG: LocaleChooser.getCCSLocale => localeName: de
CCLogger [11-03 09:41:36.559] ERROR: Unable to open file 'DatePicker.js'.
If we change the html code on the server to:
<script language="JavaScript" src="Functions.js" type="text/javascript" charset="utf-8">
<script language="JavaScript" src="Datepicker.js" type="text/javascript" charset="utf-8">
everything is fine.
But, we don't want to manipulate the standard code of CCS.
Any ideas?
Regards Roland
|
|
|
kuhbrille
Posts: 11
|
Posted: 04/13/2008, 11:09 AM |
|
When I put this line at the end of the
site.properties file, everything works fine:
usedUnpackedWarFile=True
greetings roland
|
|
|
jtaylor
Posts: 3
|
Posted: 04/22/2008, 1:58 PM |
|
I agree. CCS4 forgets to add this line to the site.properties. It took me a long time to figure that one out.
|
|
|
kuhbrille
Posts: 11
|
Posted: 04/22/2008, 9:49 PM |
|
Hi,
after I found out my workaround,
Yessoftware sent me a Hotfix.
With that, I didn't need that line in
the system.properties file any more.
Roland
|
|
|
|