将自定义预览 URL 与 ColdFusion Builder (Eclipse) 中的 .cfm 文件关联
在我通常的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这在 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