IResourceSettings.setDisableGZipCompression() is not available in the version
of Wicket that I'm using (1.2.6). 

I will try wireshark. What should I be looking for?

Tormod


Al Maw wrote:
> 
> [EMAIL PROTECTED] wrote:
>> Hello.
>> 
>> I have a problem with a css file that resides in the classpath along with 
>> the Panel-class and being linked to the Panel using this code: 
>> add(HeaderContributor.forCss(AoWMenuPanel.class,"menu.css"));
>> 
>> This is rendered like this in the resulting html: <link rel="stylesheet" 
>> type="text/css" 
>> href="/AssetOnWeb/start/resources/no.computanse.assetonweb.wicket.pages.menu.AoWMenuPanel/menu.css"></link>
>> 
>> The problem is that the css is empty when it's downloaded, resulting in 
>> incorrect rendering of the web page. I found this by pasting the URL for 
>> the CSS into my web browser. The problem occurs only when running within 
>> WebSphere Application Server 5.1 (JRE 1.4), not in version 6.1 (JRE 5.0).
> 
> Try Application.getResourceSettings().setDisableGZipCompression(true);
> 
> Failing that, dig out wireshark and see what's going on.
> 
> Regards,
> 
> Al
> -- 
> Alastair Maw
> Wicket-biased blog at http://herebebeasties.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Empty-CSS-tf4260748.html#a12126313
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to