You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Joost Schouten (mailing lists)" <jo...@jsportal.com> on 2011/01/15 18:59:39 UTC

CSS not applied on zone update in IE7

Hi,

When I update a zone with a block containing new CSS files these CSS
rules do not seem to get applied to the content in IE7. Does anyone
know this problem and if so, a fix?

I run tap 5.2.4

Cheers,
Joost

PS: I'm now hacking in a fix by adding the css needed by the ajax
requests to the containing page. But this obviously is not very
elegant.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: CSS not applied on zone update in IE7

Posted by "Joost Schouten (ml)" <jo...@jsportal.com>.
  Ok, 2 days of testing later I think I know what's going on. The 
problems arise when there are a lot of css files loaded on page load. I 
have a complex page with lots of components which loads about 26 css 
files. On ajax zone update the new css files associated with the loaded 
content will be added to the HEAD, but the rules will not be applied. IE 
developer tools does not show them as available under the CSS tab 
either. Once I reduce the number of css files loaded on page load under 
25, it starts to work again. This is both the case under IE8 and IE7.

The good news is that I now have a pressing reason to optimise the 
number of css files i use ;-) On that note, I have just voted for: 
https://issues.apache.org/jira/browse/TAP5-1377 so that css can be 
combined as well.

I Hope it saves someone else some time.

Cheers,
Joost

On 17/01/11 10:41 PM, Joost Schouten (mailing lists) wrote:
> Hi,
>
> I'm doing some more testing as we speak and I might have been too
> quick in my assumptions. It might be related to some incorrect
> formatting in an unrelated area of my page which upsets IE but not the
> other browsers.
>
> I'll post back if I can consistently reproduce the problem. Running a
> slow VMWare windows image on my mac makes this testing slightly
> tedious though :(
>
> Thx,
> Joost
>
> On Mon, Jan 17, 2011 at 8:57 PM, Howard Lewis Ship<hl...@gmail.com>  wrote:
>> It's supposed to just work; the new CSS assets are converted into new
>> <link>  tags and IE is supposed to load them. I'm pretty certain this
>> works for FF and I tested, at one time with IE 6, I believe.
>>
>> On Sat, Jan 15, 2011 at 9:59 AM, Joost Schouten (mailing lists)
>> <jo...@jsportal.com>  wrote:
>>> Hi,
>>>
>>> When I update a zone with a block containing new CSS files these CSS
>>> rules do not seem to get applied to the content in IE7. Does anyone
>>> know this problem and if so, a fix?
>>>
>>> I run tap 5.2.4
>>>
>>> Cheers,
>>> Joost
>>>
>>> PS: I'm now hacking in a fix by adding the css needed by the ajax
>>> requests to the containing page. But this obviously is not very
>>> elegant.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: CSS not applied on zone update in IE7

Posted by "Joost Schouten (mailing lists)" <jo...@jsportal.com>.
Hi,

I'm doing some more testing as we speak and I might have been too
quick in my assumptions. It might be related to some incorrect
formatting in an unrelated area of my page which upsets IE but not the
other browsers.

I'll post back if I can consistently reproduce the problem. Running a
slow VMWare windows image on my mac makes this testing slightly
tedious though :(

Thx,
Joost

On Mon, Jan 17, 2011 at 8:57 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
> It's supposed to just work; the new CSS assets are converted into new
> <link> tags and IE is supposed to load them. I'm pretty certain this
> works for FF and I tested, at one time with IE 6, I believe.
>
> On Sat, Jan 15, 2011 at 9:59 AM, Joost Schouten (mailing lists)
> <jo...@jsportal.com> wrote:
>> Hi,
>>
>> When I update a zone with a block containing new CSS files these CSS
>> rules do not seem to get applied to the content in IE7. Does anyone
>> know this problem and if so, a fix?
>>
>> I run tap 5.2.4
>>
>> Cheers,
>> Joost
>>
>> PS: I'm now hacking in a fix by adding the css needed by the ajax
>> requests to the containing page. But this obviously is not very
>> elegant.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: CSS not applied on zone update in IE7

Posted by Howard Lewis Ship <hl...@gmail.com>.
It's supposed to just work; the new CSS assets are converted into new
<link> tags and IE is supposed to load them. I'm pretty certain this
works for FF and I tested, at one time with IE 6, I believe.

On Sat, Jan 15, 2011 at 9:59 AM, Joost Schouten (mailing lists)
<jo...@jsportal.com> wrote:
> Hi,
>
> When I update a zone with a block containing new CSS files these CSS
> rules do not seem to get applied to the content in IE7. Does anyone
> know this problem and if so, a fix?
>
> I run tap 5.2.4
>
> Cheers,
> Joost
>
> PS: I'm now hacking in a fix by adding the css needed by the ajax
> requests to the containing page. But this obviously is not very
> elegant.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org