-
1. Re: Invalid display of panels
sergeysmirnov Dec 19, 2007 3:48 PM (in response to tnfink)If you use FireFox, try to figure out why css files are not loaded using FireBug.
-
2. Re: Invalid display of panels
tnfink Dec 20, 2007 4:11 AM (in response to tnfink)"SergeySmirnov" wrote:
If you use FireFox, try to figure out why css files are not loaded using FireBug.
Do you mean the theme.css file that was created by Seam? IMHO it is not the source of the problem. When I remove the link to the CSS file in the page the whole page looks flat. With the CSS file only some parts look wrong especially the RichFaces panels.
BTW, yesterday the problem vanished. First the inner panels looked right. 1-2 hours later all the panels were OK.
I had this effect earlier and thought it could be a JBoss-Tools problem caused by the incremental deployment. I changed the project to an Ant-based layout and deployed it fully. But this did not solve any problem. I also tried to clean every thing that could be cleaned (Eclipse, Ant, JBoss) without improvements.
Maybe I could get more information the next time the problem arise....
Thanks for your help.
-- Torsten -
3. Re: Invalid display of panels
tnfink Dec 21, 2007 8:24 AM (in response to tnfink)Now it is broken again.
Yesterday everything was fine. Today I started JBoss and the RichFaces panels are broken again.
I cleaned the project with Ant and Eclipse. Then I cleaned JBoss:rm -rf server/default/tmp/* rm -rf server/default/work/jboss.web/localhost/*
and I cleaned the cache of Firefox. Still broken.
I am using Mac OS X but my colleagues with their PCs observe the same behavior.
Any ideas?
-- Torsten -
4. Re: Invalid display of panels
tnfink Feb 25, 2008 4:54 AM (in response to tnfink)The problem appeared and vanished unpredictably. Fortunately my application was only a prototype, thus I decided no to care too much.
Now, we have a new project in another team. It was not set up by me and we use Maven to build. Unfortunately the bug appeared again. Every now and then the application starts to look extremely ugly...
We started with RichFaces 3.1.3 and are using 3.1.4.SR1 now. We use JBoss 4.2.2, Seam 2.0.1, and EJB-3.
I used Firebug to check the links to the stylesheets. It seems that the CSS is not found for simple panels.
This is what I get for the login-screen:
('1' is the line number not the content):<link rel="stylesheet" type="text/css" href="/mps/a4j_3_1_4.SR1css/simpleTogglePanel.xcss/DATB/eAGbuWPCFgAGZAKW"> 1 </link>
On the next screen I have a simple panel and a panelMenu (I removed some CSS information.):<link rel="stylesheet" type="text/css" href="/mps/a4j_3_1_4.SR1org/richfaces/renderkit/html/css/panelMenu.xcss/DATB/eAGbuWPCFgAGZAKW"> 1.dr-pmenu-top-group{height:20px;width:100%; ...REMOVED... dr-pmenu-selected-item{font-style:italic;} </link> <link rel="stylesheet" type="text/css" href="/mps/a4j_3_1_4.SR1css/simpleTogglePanel.xcss/DATB/eAGbuWPCFgAGZAKW"> 1 </link>
It seems that for the panel menu a CSS is created but not for the simple panel.
Any ideas?
Should I open a bug in Jira?
-- Torsten -
5. Re: Invalid display of panels
stefan1970 Feb 25, 2008 5:25 AM (in response to tnfink)"tnfink" wrote:
It seems that for the panel menu a CSS is created but not for the simple panel.
Any ideas?
Should I open a bug in Jira?
-- Torsten
Hi Torsten, this could be the same as the following issue with which I am struggling:
http://jira.jboss.com/jira/browse/RF-2316 -
6. Re: Invalid display of panels
tnfink Feb 25, 2008 5:39 AM (in response to tnfink)thank you Stefan.
I will add my experiences to the Jira bug.
-- Torsten