summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected/pages/Day3/CreateAdminUser.page
diff options
context:
space:
mode:
authorxue <>2007-05-28 00:58:40 +0000
committerxue <>2007-05-28 00:58:40 +0000
commit82a351192f38cc73268ea7de7a48e2e0425d5cbf (patch)
tree2d91629f8e5c48bb1e26aef8f420d0e95b4f2bb9 /demos/blog-tutorial/protected/pages/Day3/CreateAdminUser.page
parent87b0b5735f95afb8a59124e3007bd6e6d95d3e48 (diff)
Fixed a bug when using renderer in TWizard's sidebar.
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day3/CreateAdminUser.page')
-rw-r--r--demos/blog-tutorial/protected/pages/Day3/CreateAdminUser.page13
1 files changed, 8 insertions, 5 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day3/CreateAdminUser.page b/demos/blog-tutorial/protected/pages/Day3/CreateAdminUser.page
index 95d7dac5..a91895a9 100644
--- a/demos/blog-tutorial/protected/pages/Day3/CreateAdminUser.page
+++ b/demos/blog-tutorial/protected/pages/Day3/CreateAdminUser.page
@@ -16,6 +16,9 @@ We will display the user list in a table. Each row of the table represents a sin
<li>Command - displays a column of "Delete" buttons. Clicking on any of them will lead to deletion of the corresponding user account.</li>
</ul>
+<p>
+We create two files <tt>protected/pages/users/AdminUser.page</tt> and <tt>protected/pages/users/AdminUser.php</tt> to save the page template and page class, respectively.
+</p>
<h2>Creating Page Template</h2>
<p>
@@ -28,13 +31,13 @@ We use <a href="http://www.pradosoft.com/demos/quickstart/?page=Controls.DataGri
<li><a href="http://www.pradosoft.com/docs/classdoc/TButtonColumn">TButtonColumn</a> displays a column of "Delete" buttons.</li>
</ul>
-<p>Complete page template is shown as follows:</p>
+<p>The complete page template is shown as follows:</p>
<com:TTextHighlighter CssClass="source" Language="prado">
&lt;%@ Title="My Blog - Manage User Accounts" %>
&lt;com:TContent ID="Main">
-
+
<h1>Manage User Accounts</h1>
<a href="&lt;%= $this->Service->constructUrl('users.NewUser')%>">Create New User</a>
@@ -57,14 +60,14 @@ We use <a href="http://www.pradosoft.com/demos/quickstart/?page=Controls.DataGri
&lt;com:TBoundColumn
HeaderText="Email"
DataField="email" />
-
+
&lt;com:TCheckBoxColumn
HeaderText="Administrator"
DataField="role" />
-
+
&lt;com:TButtonColumn
HeaderText="Command"
- Text="Delete"
+ Text="Delete"
ButtonType="PushButton"
CommandName="delete" />