diff options
author | xue <> | 2007-02-13 14:16:09 +0000 |
---|---|---|
committer | xue <> | 2007-02-13 14:16:09 +0000 |
commit | fd0033951e533a6a9b7bd870e1f118354b5f84d1 (patch) | |
tree | 9723b4ad3523a8ba51e4ec0093446fd6b5d388b7 /demos/quickstart/protected/pages/Configurations/PageConfig.page | |
parent | 9fb0bcd1aa9cdd1b20c916a7c5154741c0ec513a (diff) |
updated tutorial pages about external config inclusion.
Diffstat (limited to 'demos/quickstart/protected/pages/Configurations/PageConfig.page')
-rw-r--r-- | demos/quickstart/protected/pages/Configurations/PageConfig.page | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/demos/quickstart/protected/pages/Configurations/PageConfig.page b/demos/quickstart/protected/pages/Configurations/PageConfig.page index dc0c2543..e41019af 100644 --- a/demos/quickstart/protected/pages/Configurations/PageConfig.page +++ b/demos/quickstart/protected/pages/Configurations/PageConfig.page @@ -19,6 +19,10 @@ The format of a page configuration file is as follows, <modules>
<module id="ModuleID" class="ModuleClass" PropertyName="PropertyValue" ... />
</modules>
+ <parameters>
+ <parameter id="ParameterID" class="ParameterClass" PropertyName="PropertyValue" ... />
+ </parameters>
+ <include file="path.to.extconfig" when="PHP expression" />
<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" />
@@ -26,13 +30,10 @@ The format of a page configuration file is as follows, <pages PropertyName="PropertyValue" ...>
<page id="PageID" PropertyName="PropertyValue" ... />
</pages>
- <parameters>
- <parameter id="ParameterID" class="ParameterClass" PropertyName="PropertyValue" ... />
- </parameters>
</configuration>
</com:TTextHighlighter>
<p id="220220" class="block-content">
-The <tt><paths></tt>, <tt><modules></tt> and <tt><parameters></tt> are similar to those in an application configuration. The <tt><authorization></tt> 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 <tt><pages></tt> element specifies the initial values for the properties of pages. Each <tt><page></tt> element specifies the initial property values for a particular page identified by the <tt>id</tt> attribute. Initial property values given in the <tt><pages></tt> element apply to all pages in the current directory and all its subdirectories.
+The <tt><paths></tt>, <tt><modules></tt>, <tt><parameters></tt> and <tt><include></tt> are similar to those in an application configuration. The <tt><authorization></tt> element specifies the authorization rules that apply to the current page directory and all its subdirectories. For more details, see <a href="?page=Advanced.Auth">authentication and authorization</a> section. The <tt><pages></tt> element specifies the initial values for the properties of pages. Each <tt><page></tt> element specifies the initial property values for a particular page identified by the <tt>id</tt> attribute. Initial property values given in the <tt><pages></tt> element apply to all pages in the current directory and all its subdirectories.
</p>
<p id="220221" class="block-content">
Complete specification of page configurations can be found in the <a href="<%~../../../../../docs/specs/config.dtd%>">DTD</a> and <a href="<%~../../../../../docs/specs/config.xsd%>">XSD</a> files.
|