gpt4 book ai didi

coldfusion - Adobe ColdFusion 2016 中的脚本 404 错误

转载 作者:行者123 更新时间:2023-12-04 01:58:27 25 4
gpt4 key购买 nike

我在 ColdFusion 中有以下代码。

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<cfform id="form1" name="form1" method="post">

<cfquery name="config" datasource="config">
SELECT DISTINCT ColumnName
FROM tablename
</cfquery>

<cfinput name="ColumnName"
type="text"
autoSuggest="#valueList(config.ColumnName)#"
typeahead="true"
size="40"
placeholder="ColumnName"/><br>

</cfform>
</body>
</html>

问题出现在这一行:autoSuggest="#valueList(config.ColumnName)#"

以下是控制台中的错误。我错过了什么吗?

enter image description here

最佳答案

根据 official page of Adobe ColdFusion 2016 ,我将不得不 download js and css manually for yui from here

链接文章中的相关信息:

YUI and Spry
We have deprecated YUI and Spry libraries in ColdFusion 2016 (Update 3) and removed the following JavaScript libraries:

<cfusion_webroot>\cf_scripts\scripts\ajax\yui <cfusion_webroot>\cf_scripts\scripts\ajax\spry <cfusion_webroot>\cf_scripts\scripts\ajax\resources\yui

As a result, the following tags that use the YUI and Spry features would be impacted:

  • cfmenu
  • cftree
  • cftooptip
  • cfcalendar
  • cfinput (autosuggest attribute)
  • cfinput (sourcefortooltip attribute)
  • cfsprydataset

As a workaround, you can manually download the removed files from the following locations and copy them in ColdFusion's webroot, at the directories listed above.

  • YUI (Checksum: 827e0f8395d176ac28f46ed5e78004fd)
  • Spry (Checksum: 750c275c20b291f00c1ba92c855a09d7)

关于coldfusion - Adobe ColdFusion 2016 中的脚本 404 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49020195/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com