Changes between Version 2 and Version 3 of Training/Section02

Show
Ignore:
Timestamp:
12/29/09 21:48:18 (16 years ago)
Author:
cfgrok (IP: 64.30.223.5)
Comment:

Tweaks to training formatting

Legend:

Unmodified
Added
Removed
Modified
  • Training/Section02

    v2 v3  
    134134}}} 
    135135 
    136 Now when our Event Handler runs, Model-Glue will include the secondary content inside of the ViewCollection. Since we test for the existence of secondary in /PlantOMatic/views/layout/Master.Layout.cfm and adjust the HTML markup accordingly, the simple presence or the absence of secondary in the ViewCollection will turn our layout from a single column to a two column layout seamlessly. 
     136Now when our Event Handler runs, Model-Glue will include the secondary content inside of the !ViewCollection. Since we test for the existence of secondary in /PlantOMatic/views/layout/Master.Layout.cfm and adjust the HTML markup accordingly, the simple presence or the absence of secondary in the !ViewCollection will turn our layout from a single column to a two column layout seamlessly. 
    137137 
    138138== A Flexible Two Column Template == 
     
    162162}}} 
    163163 
    164  2. Open /PlantOMatic/views/layout/Layout.MessageBox.cfm and replace the content: 
     164 2. Open /PlantOMatic/views/layout/Layout.!MessageBox.cfm and replace the content: 
    165165 
    166166{{{