If I see the output background colors are not applied to rows.
But in view source I can see the odd rows are taking styleclass OddRow and even rows are taking EvenRow.
I do not know why the background color is not applying.
Your help is greatly expected.
Thanks,
Vennila
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
Your CSS is not been picked up by the webbrowser.
Is it inline in the HTML head or in an external file?
If inline, then you have a serious problem. If external file, then its URL is likely wrong.
vennila Selvaraj
Greenhorn
Joined: Oct 10, 2007
Posts: 5
posted
0
Hi Bauke,
Thanks for the reply.
Css is from external file.
But I think the URL of the CSS file is picked by the web browser as the other styles given in that external file is picked and working correctly.
Please suggest.
Thanks,
Vennila
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
If you recently changed the CSS, then you should do a hard refresh in your webbrowser. Use CTRL+F5 or so. It may still be cached by the webbrowser. Particularly MSIE is known about this.
If not done yet, do an appserver restart as well.
vennila Selvaraj
Greenhorn
Joined: Oct 10, 2007
Posts: 5
posted
0
Yes, I did ctrl+F5, cleared my browser cache, restared my tomcat then also it is not working.
I am able to see the style changes - "background-color" as red for evenrow and cyan for oddrow in IE Developer Toolbar.
But the color is not getting affected.
Is there any limitation because of the version tomahawk- 1.1.8 and myfaces- 11-1.0.0 used ?
Please tell me how it can be resolved.
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
No, it's a client side problem. Your CSS is not been picked up or it is been overridden by another styles. Verify your CSS file. To start, try removing or outcommeting everything in the CSS file expect of those two styles. Also remove or outcomment any other CSS files which gets loaded.
vennila Selvaraj
Greenhorn
Joined: Oct 10, 2007
Posts: 5
posted
0
Yes, css style for row is overridden by css style for column.
Thanks and cheers ,
Vennila
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: JSF: tomahawk dataTable rowStyleClass problem while applying alternate colors to rows