House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Mach II and whitespace

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Pete Ruckelshaus - CFList
06/03/2004 10:52 AM

I'm starting to evaluate Mach II as a framework.  It throws a LOT of whitespace at the top of docs.  Is there a version available that does a better job of managing whitespace, or are there specific techniques that people use to manage whitespace?  I know it sounds pretty anally-retentive, but after spending 2+ years of wrestling with whitespace in Spectra I don't feel like having to jump through hoops to regain downloaded cfm template size. Thanks Pete

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Alexander Sherwood
06/03/2004 11:07 AM

At 10:49 AM 6/3/2004, you wrote: >I'm starting to evaluate Mach II as a framework.  It throws a LOT of >whitespace at the top of docs.  Is there a version available that does a >better job of managing whitespace, or are there specific techniques that >people use to manage whitespace?  I know it sounds pretty >anally-retentive, but after spending 2+ years of wrestling with >whitespace in Spectra I don't feel like having to jump through hoops to >regain downloaded cfm template size. Could the problem be in your custom model components, perhaps? I would assume that since the framework outputs nothing by itself, the authors would have taken the steps to turn off whitespace output everywhere. There's always FuseBox .qry and .dsp files! ;-) -- Alex

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ben Densmore
06/03/2004 10:59 AM

The best way is to use <cfcontent reset="true" /> in your final display view. So if you have a view called main.cfm that does all your final displaying, at the top of that file you would use the <cfcontent> tag. It works great. You can also check out Phil Cruz's site at http://www.mach-ii.info <http://www.mach-ii.info/>;  for some newbie FAQ's. Ben I'm starting to evaluate Mach II as a framework.  It throws a LOT of whitespace at the top of docs.  Is there a version available that does a better job of managing whitespace, or are there specific techniques that people use to manage whitespace?  I know it sounds pretty anally-retentive, but after spending 2+ years of wrestling with whitespace in Spectra I don't feel like having to jump through hoops to regain downloaded cfm template size. Thanks Pete ________________________________

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ben Densmore
06/03/2004 11:24 AM

Whitespace has been an issue all along. They fixed it somewhat in the latest release but the framework still has a lot of whitespace. Ben At 10:49 AM 6/3/2004, you wrote: >I'm starting to evaluate Mach II as a framework.  It throws a LOT of >whitespace at the top of docs.  Is there a version available that does a >better job of managing whitespace, or are there specific techniques that >people use to manage whitespace?  I know it sounds pretty >anally-retentive, but after spending 2+ years of wrestling with >whitespace in Spectra I don't feel like having to jump through hoops to >regain downloaded cfm template size. Could the problem be in your custom model components, perhaps? I would assume that since the framework outputs nothing by itself, the authors would have taken the steps to turn off whitespace output everywhere. There's always FuseBox .qry and .dsp files! ;-) -- Alex ________________________________


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference