Re: Firefox and a directAction
Re: Firefox and a directAction
- Subject: Re: Firefox and a directAction
- From: Jerry Porter <email@hidden>
- Date: Fri, 23 Jul 2004 12:22:52 -0600
Hello,
I had the same problem too when creating my own DA component that
returned the css.
I was at WWDC and the folks at the WebObjects lab helped me. I too had
a DOH! moment.
On Jul 23, 2004, at 12:04 PM, David LeBer wrote:
On 23-Jul-04, at 1:16 PM, Hsu wrote:
Make sure that the "content-type" HTTP header for the stylesheet is
correct - by default, it's text/html. You should be able to grab the
WOResponse in the direct action and setHeader("text/css",
"content-type"); on it.
Karl
DOH! That works of course.
Thank you, thank you, thank you.
You just saved me a tonne (metric) of work, and that horrible sinking
"I am so stupid" feeling when I finally clued in at some point in the
future. :-)
On Jul 23, 2004, at 6:15 AM, David LeBer wrote:
Good morning,
I'm experiencing a problem with Firefox and an WOActionURL in the
head of my pages that should serve up a dynamically generated CSS
sheet. The renders like this:
<style type="text/css"> @import
url(/cgi-bin/WebObjects/oetkercm.woa/wa/stylesheet?code=css_5);
</style>
Everything else grabs it OK, but not Firefox.
Any thoughts?
;david
--
David LeBer
Codebase Software Systems
site: http://www.codebase.ca
blog: http://david.codebase.ca
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Andre, a simple peasant, had only one thing on his mind as he crept
along the east wall:
"Andre creep... Andre creep... Andre creep..."
Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
;david
--
David LeBer
Codebase Software Systems
site: http://www.codebase.ca
blog: http://david.codebase.ca
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
Jerry E. Porter
Software Engineer
Wireless Matrix Corporation
102, 1530 - 27th Ave. NE
Calgary, Alberta, Canada
T2E 7S6
Main: 1-403-250-3949
Fax: 1-403-250-8163
email@hidden
http://www.wirelessmatrixcorp.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.