coldfusion

Normalize String in ColdFusion

半世苍凉 提交于 2020-08-23 06:18:28
问题 I'm trying to normalize a string in ColdFusion. I want to use the Java class java.text.Normalizer for this, as CF doesn't have any similar functions as far as I know. Here's my current code: <cfset normalizer = createObject( "java", "java.text.Normalizer" ) /> <cfset string = "äéöè" /> <cfset string = normalizer.normalize(string, createObject( "java", "java.text.Normalizer$Form" ).NFD) /> <cfset string = ReReplace(string, "\\p{InCombiningDiacriticalMarks}+", "") /> <cfoutput>#string#<

了解FusionCharts图表工具中的组合图

落爺英雄遲暮 提交于 2020-08-19 16:04:13
FusionCharts Suite XT 是全面的跨平台、跨浏览器JavaScript图表套包,其中包括 FusionCharts XT 、 PowerCharts XT 、 FusionWidgets XT 、 FusionMaps XT 。支持 ASP、 ASP.NET、 PHP、 JSP、 ColdFusion、 Ruby on Rails、 JavaScript、甚至简单的HTML页面。它是你值得信赖的JavaScript图表解决方案,目前在全球有45万用户选择Fusioncharts来制作专业的JavaScript图表。 组合图类似于多系列图。它们使您可以在同一图表上绘制多个数据集。但是使用组合图表的另一个好处是,您还可以在同一图表上绘制多种图表类型。例如,您可以在同一图表画布上显示柱形图,折线图和面积图。 组合图可以以2D或3D呈现,可以具有单个或两个y轴,并且本质上可以堆叠或多个系列。 FusionCharts Suite XT提供的组合图为: 二维单Y轴组合图 3D单Y轴组合图 二维双Y轴组合图 3D双Y轴组合图 列3D +线单Y轴图表 列3D +线双Y轴图 堆积柱二维线单Y轴图 堆叠柱式3D线单Y轴图表 堆积柱二维线双Y轴图 堆叠式3D线双Y轴图表 堆积面积2D线双Y轴图表 多系列堆积柱二维+线双Y轴图表 2D单Y轴组合图 让我们创建我们的第一个组合图

如何在ActionScript 3中将“ Null”(真实的姓氏!)传递给SOAP Web服务

非 Y 不嫁゛ 提交于 2020-08-17 06:30:35
问题: We have an employee whose surname is Null. 我们有一个姓为Null的员工。 Our employee lookup application is killed when that last name is used as the search term (which happens to be quite often now). 当使用该姓氏作为搜索词时,我们的员工查找应用程序将被杀死(这种情况现在经常发生)。 The error received (thanks Fiddler!) is: 收到的错误(感谢Fiddler!)是: <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.MissingArgumentException : The SEARCHSTRING parameter to the getFacultyNames function is required but was not passed in.]</faultstring> Cute, huh? 可爱吧? The

Timeout error in cfdocument tag blocks all PDF generation

不想你离开。 提交于 2020-07-23 10:20:09
问题 We are facing an issue since we migrated to ColdFusion 2018. Sometimes we start getting errors with a timeout in cfdocument tag (for fairly simple html contents). Once we start getting this it happens to all subsequent cfdocument calls. Only a ColdFusion Instance restart seems to fix this. Detail: This timeout value is obtained from the request timeout set in the ColdFusion Administrator Message: The content of this document process takes more than 60000 milliseconds to process coldfusion

Timeout error in cfdocument tag blocks all PDF generation

狂风中的少年 提交于 2020-07-23 10:19:05
问题 We are facing an issue since we migrated to ColdFusion 2018. Sometimes we start getting errors with a timeout in cfdocument tag (for fairly simple html contents). Once we start getting this it happens to all subsequent cfdocument calls. Only a ColdFusion Instance restart seems to fix this. Detail: This timeout value is obtained from the request timeout set in the ColdFusion Administrator Message: The content of this document process takes more than 60000 milliseconds to process coldfusion

long/multiline content through cfset in Coldfusion

心不动则不痛 提交于 2020-07-20 11:24:17
问题 is there a way to set a variable with cfset that acts more like a cdata tag or is there another way of having a page with some basic variables set and a couple of longer variables set for the main content; ie. <cfoutput> <CFSET page_title = "TITLE"> <CFSET examplevariable = "ABC"> <CFSET content> <!--something like this--> <div> bunch of content without any cf tags </div> </CFSET> <cfinclude template="include/layout.cfm"> </cfoutput> 回答1: <cfsavecontent variable="header"> <cfoutput> I can be

long/multiline content through cfset in Coldfusion

百般思念 提交于 2020-07-20 11:23:48
问题 is there a way to set a variable with cfset that acts more like a cdata tag or is there another way of having a page with some basic variables set and a couple of longer variables set for the main content; ie. <cfoutput> <CFSET page_title = "TITLE"> <CFSET examplevariable = "ABC"> <CFSET content> <!--something like this--> <div> bunch of content without any cf tags </div> </CFSET> <cfinclude template="include/layout.cfm"> </cfoutput> 回答1: <cfsavecontent variable="header"> <cfoutput> I can be

long/multiline content through cfset in Coldfusion

浪尽此生 提交于 2020-07-20 11:23:16
问题 is there a way to set a variable with cfset that acts more like a cdata tag or is there another way of having a page with some basic variables set and a couple of longer variables set for the main content; ie. <cfoutput> <CFSET page_title = "TITLE"> <CFSET examplevariable = "ABC"> <CFSET content> <!--something like this--> <div> bunch of content without any cf tags </div> </CFSET> <cfinclude template="include/layout.cfm"> </cfoutput> 回答1: <cfsavecontent variable="header"> <cfoutput> I can be