• 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: Andy Satori <email@hidden>
  • Date: Fri, 6 Feb 2004 16:03:32 -0500

Yes, it does, however, part of the intent here is to have something that is fully self contained, and easily moved between App servers, without having to deal with all of the dependancies.

Andy

On Feb 6, 2004, at 3:48 PM, Drew Thoeni wrote:

But doesn't this store the project.css on the application server instead of on the web server where it could be served up with less overhead?

Drew

On Feb 6, 2004, at 2:13 PM, David LeBer wrote:

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.
_______________________________________________
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.
_______________________________________________
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.

References: 
 >WebObjects and linked CSS. (From: Andy Satori <email@hidden>)
 >Re: WebObjects and linked CSS. (From: David LeBer <email@hidden>)
 >Re: WebObjects and linked CSS. (From: Drew Thoeni <email@hidden>)

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