with the use of the variable you can set it in one circuit and have it used
by a parent circuit in the parents own consideration of what layout to do

----- Original Message -----
From: "Lee Borkman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 11:31 AM
Subject: Re: How to suppress default layout


What's the point of using lay_clean, John?  That has exactly the same effect
as setting fusebox.layoutfile="", doesn't it?  One less layout file (per
circuit) to worry about.
----- Original Message -----

  From: John Beynon

  Hi craig,

  How about using <cfparam name="attributes.SuppressLayout" default="true">
in
  your fuseaction you want the layout suppressed but then in you fbx_layouts
  have something like:

  <cfif Fusebox.isCustomTag or attributes.suppressLayout>
      <cfset Fusebox.layoutDir="">
      <cfset Fusebox.layoutFile="lay_clean.cfm">
  <cfelse>
      <cfset Fusebox.layoutDir="">
      <cfset Fusebox.layoutFile="lay_typical.cfm">
  </cfif>

  Where lay_clean.cfm just outputs <cfoutput>#fusebox.layout#</cfoutput>

  ...

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================



Reply via email to