Firebug显示claro

编程入门 行业动态 更新时间:2024-10-15 02:30:16
Firebug显示claro_rtl.css的404错误,但我找不到尝试引用该文件的源代码(Firebug shows 404 error for claro_rtl.css, but I can't find the source that is trying to reference that file)

我正在测试基于流行的claro主题的自定义Dojo主题。 新主题被命名为'jelam'。 我已经完成了基于像claro这样的现有主题制作新主题的所有建议步骤,并且一切似乎都运行良好 - 除了Firebug在打开我的页面时立即报告错误。 它报告它找不到claro_rtl.css文件。 问题是,我已经多次搜索我的源代码和文件以获取对claro_rtl.css文件的任何引用,但我找不到它。 我最初怀疑我的浏览器是以某种方式缓存它,因此我清除了Firefox浏览器,关闭了Firefox并将其绑定,并且还重新启动了为我的JSP页面提供服务的WebSphere门户。 尽管有人试图清除对claro_rtl.css的任何引用,但我仍然收到Firebug中报告的错误。

"NetworkError: 404 Not Found - https://localhost:10149/CompassThemesURS/themes/html/commonurs/dojo/1.9.1/dijit/themes/jelam/claro_rtl.css"

我怎样才能让Firebug向我展示该请求的来源是什么? 我最初怀疑我在我的许多JSP文件或可能导入它的CSS文件中错过了它,但它没有显示出来。

有没有办法让Firebug告诉我谁试图拉入该文件?

感谢您提供的任何见解。

I'm in the middle of testing a customized Dojo theme based on the popular claro theme. The new theme is named 'jelam'. I've gone through all the suggested steps for making a new theme based on an existing theme like claro and all seems to be working fine - except Firebug is reporting an error immediately upon opening my page. It reports that it can't find the claro_rtl.css file. The thing is, I've searched many times my source code and files for any reference to that claro_rtl.css file, but I can't find it. I suspected initially that my browser was cacheing it somehow, so I cleared the Firefox browser, closed Firefox and ropened it, and also restarted the WebSphere portal which is serving my JSP page. Despite those attempts to clear out any reference to claro_rtl.css, I'm still getting the error reported in Firebug.

"NetworkError: 404 Not Found - https://localhost:10149/CompassThemesURS/themes/html/commonurs/dojo/1.9.1/dijit/themes/jelam/claro_rtl.css"

How can I get Firebug to show me what the source of that request is? I had initially suspected that I had missed it in one of my many JSP files or CSS files that was possibly importing it, but it's not showing up.

Is there a way to get Firebug to show me who is trying to pull that file in?

Thanks for any insight you can give.

最满意答案

终于想通了。 在Firebug中,我在搜索框中输入了“claro_rtl.css”,然后在每个选项卡中执行搜索,直到搜索从CSS选项卡中找到它,并在新的jelam.css文件中找到它。

我忘了重新部署webapp。 我已经正确更新了源文件,包括jelam.css,但我还没有像我想的那样重新部署这些更新。

干杯。

Finally figured it out. In Firebug I put "claro_rtl.css" in the search box, then performed the search in each tab until the search found it from the CSS tab, and it found it referenced in the new jelam.css file.

I had forgotten to redeploy the webapp. I had correctly updated the source files, including jelam.css, but I hadn't redeployed with those updates like I thought I had.

Cheers.

更多推荐

本文发布于:2023-08-03 08:25:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1385441.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Firebug   claro

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!