It would be the same if you were using regular cfincludes. It is relative to
the page that processes the actual http request.

As an adjunct to Dom's suggestion, custom tags would be a good candidate for
headers and footers if you are looking to control the data that is passed to
and from them.

hth

G


On Thu, May 1, 2008 at 1:22 PM, Dominic Watson <
[EMAIL PROTECTED]> wrote:

> >
> > When I call the css template in the href of the link tag, is it relative
> > to
> > the location of index.cfm or layout.cfc?
>
>
> The css path with be relative to the template that is being hit by the url
> (index.cfm) as paths in the html are read and translated by the browser
> (?).
>
> A side note: as a general rule, you should avoid using components for
> output
> (though what you are doing will work) and use them for logic and data
> handling only. A great way to use components in a structured way is
> through
> an MVC (model view controller) framework and I'd encourage you to have a
> look at some:
>
> http://www.model-glue.com/coldfusion.cfm (my favourite)
> http://www.fusebox.org/
> http://www.mach-ii.com/
>
> Also, take a look at ColdSpring, a great way of organising your
> components'
> relationships with each other and much more goodiness:
>
> http://www.coldspringframework.org/
>
> I realise that's not what you asked but I thought it might be useful ;)
>
> Dominic
>
>
-- 
"The pursuit of truth and beauty is a sphere of activity in which we are
permitted to remain children all our lives."
- Albert Einstein


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304594
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to