将自定义预览 URL 与 ColdFusion Builder (Eclipse) 中的 .cfm 文件关联

发布于 2024-08-08 07:26:13 字数 661 浏览 2 评论 0原文

在我通常的 ColdFusion 目录布局中,所有文件都是通过名为 r.cfm 的控制器访问的,该控制器使用 include 来拉入实际的 .cfm 文件,因此将通过 http://servername.com/r.cfm?name=salaries

在带有 ColdFusion 扩展的 Eclipse 中,我可以设置文件属性,因此 salaries.cfm 的默认 url 将为 http://localhost/r.cfm?name= salaries - 当我运行调试器时,该 url 将启动,而不是 http://localhost/salaries.cfm - 如何在 ColdFusion Bulder beta 中进行设置,调试配置始终不可编辑每个文件。

我已经尝试过使用服务器前缀,但这似乎不起作用。

感谢您的任何提示

In my usual ColdFusion directory layout all files are accessed via a controller called r.cfm that uses an include to pull in the actual .cfm file, so a file called "salaries.cfm" would be invoked via http://servername.com/r.cfm?name=salaries

In Eclipse with the ColdFusion extensions I could set the file properties so the default url for salaries.cfm would be http://localhost/r.cfm?name=salaries - when I ran the debugger that url would launch, not http://localhost/salaries.cfm - how do I set that up in the ColdFusion Bulder beta, the debug configuration is always non editable per file.

I have played around with server prefixes but that does not seem to do it.

Thanks for any tips

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

和我恋爱吧 2024-08-15 07:26:13

我认为这在 CFBuilder 中目前是不可能的——正如你所说,这个设置不是针对每个文件的。不过,如果您愿意,您可以提出增强请求:https://bugbase.adobe.com

I don't think this is currently possible in CFBuilder -- as you said, this setting is not per-file. You could put in an Enhancement Request, though, if you wanted: https://bugbase.adobe.com

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文