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
|
|
|
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
|
|
|
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
|
|
|
kpa
Posts: 31
|
Posted: 05/30/2007, 5:57 AM |
|
Are you getting any error messages.
_________________
++++++
kpa
++++++ |
|
|
oleung
Posts: 15
|
Posted: 05/30/2007, 8:10 AM |
|
There is a javascript runtime error on both IE and firefox.
Thks,
Oliver
|
|
|
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
|
|
|
kpa
Posts: 31
|
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
++++++ |
|
|
oleung
Posts: 15
|
Posted: 05/31/2007, 4:05 AM |
|
Thanks,
I have reported the problem to the support team.
Rgds,
Oliver
|
|
|
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
|
|
|
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>
|
|
|
twstdpairs
Posts: 11
|
Posted: 11/24/2007, 2:04 PM |
|
<comment removed by poster>
|
|
|