CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Datepicker.js and Functions.js can not be loaded

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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.
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.