-
1. Re: Style override broken in 3.1.2GA and 3.1.3CR2
sergeysmirnov Dec 10, 2007 9:22 PM (in response to cameronr)what if you put your < link > after the < title > ?
-
2. Re: Style override broken in 3.1.2GA and 3.1.3CR2
cameronr Dec 10, 2007 9:34 PM (in response to cameronr)That didn't help. Although I found something interesting:
The first time the page is loaded the rich css declaration is at the top of the element. I then use an a4j:command link to re-render part of the page (which, under the hood, does a RequestDispatcher.include()) and the css suddenly appears at the bottom of the element.
Does the javascript dom update on the reRender put the css statements at the top of the element?
Thanks for the quick reply.
Cameron -
3. Re: Style override broken in 3.1.2GA and 3.1.3CR2
sergeysmirnov Dec 10, 2007 9:44 PM (in response to cameronr)"cameronr" wrote:
Does the javascript dom update on the reRender put the css statements at the top of the <head> element?
Sure. Otherwise, how to style components that added during the reRendering. -
4. Re: Style override broken in 3.1.2GA and 3.1.3CR2
cameronr Dec 10, 2007 10:19 PM (in response to cameronr)"SergeySmirnov" wrote:
"cameronr" wrote:
Does the javascript dom update on the reRender put the css statements at the top of the <head> element?
Sure. Otherwise, how to style components that added during the reRendering.
Well.. this is exactly the problem I am having - as the css declarations are at the bottom of the element after the page is re-rendered. -
5. Re: Style override broken in 3.1.2GA and 3.1.3CR2
cameronr Dec 10, 2007 10:26 PM (in response to cameronr)What would you recommend I do to try and debug this? Is there some more information I can post here that would help you?
Cheers
Cameron -
6. Re: Style override broken in 3.1.2GA and 3.1.3CR2
sergeysmirnov Dec 10, 2007 10:29 PM (in response to cameronr)Curiously, this is exactly the problem we try to solve in 3.1.3. All stylessheets declared by components should be placed before any user's ones. This is how filter is suppose to work.
-
7. Re: Style override broken in 3.1.2GA and 3.1.3CR2
sergeysmirnov Dec 10, 2007 10:35 PM (in response to cameronr)What is strange, that only you is the one who claims the problem occurs in 3.1.2GA.
We have one more similar claim, but it was about incorrect filter configuration. -
8. Re: Style override broken in 3.1.2GA and 3.1.3CR2
sergeysmirnov Dec 11, 2007 12:00 AM (in response to cameronr)can you create a small project where problem is reproduced and send a war file to us?
-
9. Re: Style override broken in 3.1.2GA and 3.1.3CR2
cameronr Dec 11, 2007 12:18 AM (in response to cameronr)"SergeySmirnov" wrote:
can you create a small project where problem is reproduced and send a war file to us?
I can try. Might take a little while though.. -
10. Re: Style override broken in 3.1.2GA and 3.1.3CR2
nbelaevski Dec 12, 2007 1:21 PM (in response to cameronr)Thank you for submitting the issue!
I've created the issue on that:
http://jira.jboss.com/jira/browse/RF-1627
Please see workaround described here -
11. Re: Style override broken in 3.1.2GA and 3.1.3CR2
cameronr Dec 12, 2007 8:23 PM (in response to cameronr)Thanks for that! The workaround worked for me.
Cheers
Cameron