keep in mind that suppresslayout (or attributes.suppresslayout) is not sacrosanct in anyway. It's not an API variable (despite early calls for it to be so), and it is a prime example of being able to do stuff in FB3 independent to the core file. It's only used as an example of putting layout conditional logic in a fbx_layouts file that is dependent upon the conditions being set from somewhere other than that fbx_layouts file (example: in a child circuit). Some folks like "suppresslayout" because most of the time they are not suppressing their layout and so can leave this varaible set to FALSE; other times, the implementation of layout may become more conditional upon the "nature" of a given circuit (example: MVC) in which case such apps may prefer a variable that is set to apply layout only when layout is needed, perhaps named something like attributes.ShouldIApplyLayout (oh, well, you get the idea)
----- Original Message ----- From: "Richard Lamb" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 9:42 AM Subject: RE: Full blown FB3 demo app > That makes sense. I thought there was already some logic in the core files > for this, but after reviewing the layout files I guess that's not the case. > I will add the logic and that should do it. > > Thanks for the responses, > > Rick > -----Original Message----- > From: Lee Borkman [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 01, 2002 3:20 PM > To: [EMAIL PROTECTED] > Subject: Re: Full blown FB3 demo app > > > Hi Rick, > > It's more likely to be "attributes.suppresslayout", but have a look in > your fbx_layouts and you'll see. If YOU wrote the fbx_layouts, then you'll > have to actually DO something with the ATTRIBUTES.suppresslayout variable, > eg set fusebox.layoutfile="". > > Does that help? > > LeeBB > Bjork.NET - Postcards gratefully accepted. > > ----- Original Message ----- > > From: Richard Lamb > > > What is the way to not show the layout file for selected fuses? I have > <cfset suppressLayout = "TRUE"> in my cfx_switch file for the > fuseaction. I > thought that would do it? > > Rick > > > > ==^================================================================ 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 ==^================================================================
