From 658a7e1c4cf5a53dcd61ee196658090d00f2d64a Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 29 Dec 2005 11:52:31 +0000 Subject: Used THighlighter to show code fragments. --- .../protected/pages/Configurations/PageConfig.page | 42 +++++++++++----------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'demos/quickstart/protected/pages/Configurations/PageConfig.page') diff --git a/demos/quickstart/protected/pages/Configurations/PageConfig.page b/demos/quickstart/protected/pages/Configurations/PageConfig.page index a7d0ef8e..2aff1fb9 100644 --- a/demos/quickstart/protected/pages/Configurations/PageConfig.page +++ b/demos/quickstart/protected/pages/Configurations/PageConfig.page @@ -9,27 +9,27 @@ When a user requests a page stored under <BasePath>/dir1/dir2, th

The format of a page configuration file is as follows, -

-<configuration>
-  <paths>
-    <alias id="AliasID" path="AliasPath" />
-    <using namespace="Namespace" />
-  </paths>
-  <modules>
-    <module id="ModuleID" class="ModuleClass"  PropertyName="PropertyValue" ... />
-  </modules>
-  <authorization>
-    <allow pages="PageID1,PageID2" users="User1,User2" roles="Role1,Role2" verb="get" />
-    <deny pages="PageID1,PageID2" users="User1,User2" roles="Role1,Role2" verb="post" />
-  </authorization>
-  <pages PropertyName="PropertyValue" ...>
-    <page id="PageID" PropertyName="PropertyValue" ... />
-  </pages>
-  <parameters>
-    <parameter id="ParameterID" class="ParameterClass" PropertyName="PropertyValue" ... />
-  </parameters>
-</configuration>
-
+ + + + + + + + + + + + + + + + + + + + + The <paths>, <modules> and <parameters> are similar to those in an application configuration. The <authorization> specifies the authorization rules that apply to the current page directory and all its subdirectories. It will be explained in more detail in future sections. The <pages> element specifies the initial values for the properties of pages. Each <page> element specifies the initial property values for a particular page identified by the id<pages> element apply to all pages in the current directory and all its subdirectories.

-- cgit v1.2.3