Show
Ignore:
Timestamp:
06/29/2007 12:41:20 PM (17 months ago)
Author:
xue
Message:

finished blog-tutorial.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page

    r1927 r2041  
    2929<body> 
    3030&lt;com:TForm> 
     31<div id="page"> 
    3132 
    3233<div id="header"> 
     
    4243</div> 
    4344 
     45</div> 
    4446&lt;/com:TForm> 
    4547</body> 
     
    114116 
    115117<p> 
    116 By setting <tt>MasterClass</tt> property as <tt>Application.layouts.MainLayout</tt>, we instruct the <tt>Contact</tt> page to use <tt>MainLayout</tt> as its master. Here, we are using the <a href="http://www.pradosoft.com/demos/quickstart/?page=Fundamentals.Components">namespace format</a> to refer to the <tt>MainLayout</tt> class.  
     118By setting <tt>MasterClass</tt> property as <tt>Application.layouts.MainLayout</tt>, we instruct the <tt>Contact</tt> page to use <tt>MainLayout</tt> as its master. Here, we are using the <a href="http://www.pradosoft.com/demos/quickstart/?page=Fundamentals.Components">namespace format</a> to refer to the <tt>MainLayout</tt> class. 
    117119</p> 
    118120 
     
    141143        $this->MasterClass='Path.To.NewLayout'; 
    142144    } 
    143      
     145 
    144146    // ... 
    145147}