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/Day4/CreateListPost.page | 2 ++ demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page | 3 ++- demos/blog-tutorial/protected/pages/Day4/Overview.page | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'demos/blog-tutorial/protected/pages/Day4') diff --git a/demos/blog-tutorial/protected/pages/Day4/CreateListPost.page b/demos/blog-tutorial/protected/pages/Day4/CreateListPost.page index e25c0609..1dada650 100644 --- a/demos/blog-tutorial/protected/pages/Day4/CreateListPost.page +++ b/demos/blog-tutorial/protected/pages/Day4/CreateListPost.page @@ -146,6 +146,7 @@ The expression $this->Data refers to the data item passed to the repeat

+

<com:THyperLink Text="<%# $this->Data->title %>" NavigateUrl="<%# $this->Service->constructUrl('posts.ReadPost',array('id'=>$this->Data->post_id)) %>" /> @@ -161,6 +162,7 @@ Time:

<com:TLiteral Text="<%# $this->Data->content %>" />

+

Creating Renderer Class

diff --git a/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page b/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page index 5011c346..9020c517 100644 --- a/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page +++ b/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page @@ -25,7 +25,8 @@ As the number of our pages expands, we would like to modify MainLayout