if i'm not mistaken, per added the head argument to both the
javaScriptIncludeTag and styleSheetLinkTag which does what you want.
this code is in edge though.
On Dec 6, 8:29 pm, "John C. Bland II" <
johncblan...@gmail.com> wrote:
> Nice. I forgot about that tag (and never use it). lol
>
> ---
> John C. Bland IIhttp://www.johncblandii.comhttp://www.johnandseason.comhttp://
www.twitter.com/johncblandii
> ---
> Suggested sites:
http://www.lifthimhigh.com- "Christian Products for Those Bold Enough to
> Wear Them"
http://www.sportsmatchmaker.com- "What are you doing today?"
>
> On Sun, Dec 6, 2009 at 6:05 PM, Russ Johnson <
russ.cfco...@gmail.com> wrote:
> > What I would do is make use of a really handy tag called cfhtmlhead.
>
> > In the action that you want the js file to be included on, I would just
> > pull the call to the js file in the cfhtmlhead tag and cf will put it in the
> > head for you. That will eliminate the conditional from being run on every
> > request in your layout.
>
> > - Russ
>
> > On Dec 6, 2009, at 3:24 PM, John C. Bland II wrote:
>
> > In general I'd say, why not?
>
> > I would put a cfparam at the top defaulting to false then set that var in
> > the specific controller action.
>
> > ---
> > John C. Bland II
> >
http://www.johncblandii.com
> >
http://www.johnandseason.com
> >
http://www.twitter.com/johncblandii
> > ---
> > Suggested sites:
> >
http://www.lifthimhigh.com- "Christian Products for Those Bold Enough to
> > Wear Them"
> >
http://www.sportsmatchmaker.com- "What are you doing today?"
>
> > On Sun, Dec 6, 2009 at 2:16 PM, Randy Johnson <
rjohnso...@gmail.com>wrote:
>
> >> Is it considered good practice to use CFIF's in the default layout?
>
> >> For example. on my edit profile page I need to include special javascript
> >> that isn't used on other pages.
>
> >> Thanks!
>
> >> Randy
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "ColdFusion on Wheels" group.
> >> To post to this group, send email to
cfwh...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >>
cfwheels+u...@googlegroups.com<
cfwheels%2Bunsu...@googlegroups.com>
> >> .
> >
cfwheels+u...@googlegroups.com<
cfwheels%2Bunsu...@googlegroups.com>
> > .