• 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: WebObjects and linked CSS.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects and linked CSS.


  • Subject: Re: WebObjects and linked CSS.
  • From: David LeBer <email@hidden>
  • Date: Fri, 6 Feb 2004 14:13:09 -0500

Use WOResourceURL.

I usually use something like this in my component html head:

<link rel="stylesheet" type="text/css" href="<WEBOBJECT NAME=ResourceURL1></WEBOBJECT>">

and this in my wod:

ResourceURL1: WOResourceURL {
	filename = "project.css";
	framework = "app";
}

On 6-Feb-04, at 12:16 PM, Andy Satori wrote:

OK, I'm a total WO newbie. I've been fascinated by it since it was a NeXT project, but never justified the costs. I'm comfortable writing JSP, ASP, and ASP.NET code and from what I've found with WO, it's very very good, with a couple of exceptions. One of those is that I can't figure out a way to get the <link > tag for a CSS set correctly.

I have put the .css in the web resources group, and included them in the project as if they were gif's. I have a <link> tag all set up and I've placed a WOString in the url. All of this works, and it loads the CSS fine. The problem is that I have to give it a fully qualified URL using this method. What I want is to use the 'filename' type property that the WOImage tag that resolves to the resources folder with the gif's.

Any and all suggestions are welcomed :-)


Andy Satori - Druware Software Designs - email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: WebObjects and linked CSS.
      • From: Drew Thoeni <email@hidden>
References: 
 >WebObjects and linked CSS. (From: Andy Satori <email@hidden>)

  • Prev by Date: Re: Globally unique IDs
  • Next by Date: Re: add java file in WOLips
  • Previous by thread: WebObjects and linked CSS.
  • Next by thread: Re: WebObjects and linked CSS.
  • Index(es):
    • Date
    • Thread