CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ColdFusion

 datepicker problem

Print topic Send  topic

Author Message
oleung

Posts: 15
Posted: 05/29/2007, 8:28 PM

Hi Everyone,

Just want to ask if anyone have encountered a problem on using the date picker in ColdFusion from CCS.

It's not working properly all the time, but okay in ASP.

Any clue on this.

Thanks,
Oliver
View profile  Send private message
E43509

Posts: 283
Posted: 05/30/2007, 4:20 AM

Nope, I've not had a problem but I'm still running my projects on 2.x and not 3.x
View profile  Send private message
oleung

Posts: 15
Posted: 05/30/2007, 4:25 AM

Thanks.

I believe this problem appears on version 3.1 or above.

I still haven't got any clue on fixing this.

Best,
Oliver
View profile  Send private message
kpa

Posts: 27
Posted: 05/30/2007, 5:57 AM

Are you getting any error messages.

_________________
++++++
kpa
++++++
View profile  Send private message
oleung

Posts: 15
Posted: 05/30/2007, 8:10 AM

There is a javascript runtime error on both IE and firefox.

Thks,
Oliver

View profile  Send private message
E43509

Posts: 283
Posted: 05/30/2007, 8:40 AM

You probably want to submit to support and send them the error to show the line number it fails on
View profile  Send private message
kpa

Posts: 27
Posted: 05/31/2007, 1:31 AM

Without having a good peek I think the date paicker is largely JavaScript so CFML is not likely to be a problem. I think E43509 is on the money.
_________________
++++++
kpa
++++++
View profile  Send private message
oleung

Posts: 15
Posted: 05/31/2007, 4:05 AM

Thanks,

I have reported the problem to the support team.

Rgds,
Oliver
View profile  Send private message
oleung

Posts: 15
Posted: 05/31/2007, 6:57 PM

Great support from CCS team.

Thanks..

Problem solved, this was due to the debug mode setting on Coldfusion.

Oliver

View profile  Send private message
E43509

Posts: 283
Posted: 06/04/2007, 7:08 AM

Just an fyi as I finally found my notes ...
I had a CF debug issue just like this one
basically CCS was generating code like this:
CCS generates this:
<script language="JavaScript" src=" ClientI18N.cfm?file=Functions.js&locale=<CFOUTPUT>#Request.CCSLocales.GetText('CCS_LocaleID')#</CFOUTPUT>"" type="text/javascript" charset="utf-8"></script>

Where the src was calling a cfm file.
CF debug couldn't handle it correctly.

After several go arounds with CCS support, the solution was to edit the CF debug template. The solution I was given and used is shown below:

This is CCS restriction on using debug information together with JavaScript files call with the help of code like
<script language="JavaScript" src="ClientI18N.cfm?file=Functions....
In general this is a workaround that applied to ColdFusion code generating patterns only because debug information is valid for HTML code but invalid for JavaScript. But CF Server has a feature that let you add debug html data into output string.
So it’s ColdFusion solution only.

One can block debug output for a certain page in a following way:
The folder coldfusionroot/wwwroot/WEB-INF/debug stores cfm files which are used to create debug output. For example if “classic output” is used, you can edit classic.cfm file and add a check code at its beginning, like
<CFIF Find("ClientI18N.cfm", CGI.CF_TEMPLATE_PATH) GT 0>
<CFEXIT>
</CFIF>
View profile  Send private message
twstdpairs

Posts: 11
Posted: 11/24/2007, 2:04 PM

<comment removed by poster>
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.