简体   繁体   English

CSS Richfaces问题(接缝)

[英]Problem with css richfaces (on seam)

I have a problem with the css generated by richfaces. 我对richfaces生成的CSS有问题。 When I deploy my application with eclipse, sometimes I have css, sometimes not. 当我使用eclipse部署应用程序时,有时会出现css,有时则不会。

I have found that richfaces generate this file: 我发现richfaces会生成此文件:

http://localhost:7001/myproject/a4j/s/3_3_3.Final/stylesheet/theme.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__ http:// localhost:7001 / myproject / a4j / s / 3_3_3.Final / stylesheet / theme.xcss / DATB / eAF7sqpgb-jyGdIAFrMEaw__

And when this file is empty, I have none css on my page. 当此文件为空时,我的页面上没有CSS。

Why this file is empty sometimes ? 为什么有时此文件为空?

Thanks for your help. 谢谢你的帮助。

I have found a problem: 我发现了一个问题:

With firebug, if I change this url: 使用萤火虫,如果我更改此网址:

http://localhost:7001/myproject/a4j/s/3_3_3.Final/stylesheet/theme.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__ http:// localhost:7001 / myproject / a4j / s / 3_3_3.Final / stylesheet / theme.xcss / DATB / eAF7sqpgb-jyGdIAFrMEaw__

By this: 这样:

http://localhost:7001/myproject/a4j/s/3_3_3.Final/stylesheet/theme.xcss http:// localhost:7001 / myproject / a4j / s / 3_3_3.Final / stylesheet / theme.xcss

The css is ok, why richfaces add /DATB/eAF7sqpgb-jyGdIAFrMEaw__ in the url ? CSS可以,为什么Richfaces在URL中添加/ DATB / eAF7sqpgb-jyGdIAFrMEaw__?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM