Adobe ColdFusion 2016 中的脚本 404 错误
Script 404 errors in Adobe ColdFusion 2016
我在 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)#"
以下是控制台中的错误。我错过了什么吗?
根据official page of Adobe ColdFusion 2016, I will have to 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.
我在 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)#"
以下是控制台中的错误。我错过了什么吗?
根据official page of Adobe ColdFusion 2016, I will have to 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.