From 4a9dd5c8513ed96d1e0cf43e370b170dc38fb502 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 29 Jun 2007 17:41:20 +0000 Subject: finished blog-tutorial. --- demos/blog-tutorial/protected/pages/Day1/ShareLayout.page | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'demos/blog-tutorial/protected/pages/Day1') diff --git a/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page b/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page index d6c4d29f..9cd0410b 100644 --- a/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page +++ b/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page @@ -28,6 +28,7 @@ For the moment, MainLayout only contains a simple header and a footer, <com:THead /> <com:TForm> +
+
</com:TForm> @@ -113,7 +115,7 @@ Besides <com:TContent>, we also see another new tag <%@ %&

-By setting MasterClass property as Application.layouts.MainLayout, we instruct the Contact page to use MainLayout as its master. Here, we are using the namespace format to refer to the MainLayout class. +By setting MasterClass property as Application.layouts.MainLayout, we instruct the Contact page to use MainLayout as its master. Here, we are using the namespace format to refer to the MainLayout class.

@@ -140,7 +142,7 @@ class Contact extends TPage parent::onPreInit($param); $this->MasterClass='Path.To.NewLayout'; } - + // ... } ?> -- cgit v1.2.3