Re: Incorrect css mime type

2008-10-15 Thread Shaft
Thanks for you advice, it works perfectly now! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/o

Re: Incorrect css mime type

2008-10-14 Thread Andrew Lindesay
Hello; Create a method on your component like this; public String getStyleUrl() { WOResourceManager rm = WOApplication.application().resourceManager(); return rm.urlForResourceNamed("style.css",null,null,context().request()); } Then on your compo

Re: Incorrect css mime type

2008-10-14 Thread Kieran Kelleher
Project Wonder ... ERXStyleSheet blah, blah Wonder . ;-) http://webobjects.mdimension.com/wonder/api/er/extensions/components/ERXStyleSheet.html HTH, Kieran On Oct 14, 2008, at 5:50 PM, Shaft wrote: Hi all, I'm developping a web application with WebObjects 5.4 on 10.5.5. I nee

Incorrect css mime type

2008-10-14 Thread Shaft
Hi all, I'm developping a web application with WebObjects 5.4 on 10.5.5. I need help with a mime type problem with stylesheets. My css is not applied. The browser says the mime type is text/html instead of text/css. The problem occurs only when I access my WO application. Static pages ser