Re: where to put the css and JS
Re: where to put the css and JS
- Subject: Re: where to put the css and JS
- From: Kevin Windham <email@hidden>
- Date: Mon, 16 Feb 2009 23:50:56 -0600
On Feb 16, 2009, at 12:49 PM, Gustavo Pizano wrote: Hello again, well Im still having some problems with a .css, Im doing the following:
<wo:ERXStyleSheet filename = "CSS/niftyCorners.css"></wo:ERXStyleSheet>
but when I run the app it says : Unable to get contents of file '/Library/WebServer/Documents/cgi-bin/WebObjects/niftyCorners.css' for uri: /cgi-bin/WebObjects/niftyCorners.css
I have the .css under WebServerResources/CSS . I had tried to put it under /Library/WebServer/Documents/StockManager2/WebServerResources/CSS but nothing...
anyclue?
Maybe you need to give it the framework. This is an example of the tag that finds a site.css file in the WebServerResources folder.
<wo:ERXStyleSheet filename = "site.css" framework = "app"/>
HTH, Kevin |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden