• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: where to put the css and JS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >where to put the css and JS (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Re: Migration/Frontbase Implementation Question
  • Next by Date: Eclipse + WOLips on Windows
  • Previous by thread: where to put the css and JS
  • Next by thread: Re: where to put the css and JS
  • Index(es):
    • Date
    • Thread