From 2f29591dc5a20086ad2c0e4e3689f7c0b9ab7b02 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 21 Feb 2006 19:32:36 +0000 Subject: Added DTD and XSD for app and page configurations. --- demos/quickstart/protected/pages/Configurations/AppConfig.page | 3 +++ demos/quickstart/protected/pages/Configurations/PageConfig.page | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'demos/quickstart/protected/pages') diff --git a/demos/quickstart/protected/pages/Configurations/AppConfig.page b/demos/quickstart/protected/pages/Configurations/AppConfig.page index 8d998f85..f72ab876 100644 --- a/demos/quickstart/protected/pages/Configurations/AppConfig.page +++ b/demos/quickstart/protected/pages/Configurations/AppConfig.page @@ -37,6 +37,9 @@ Note, if the value attribute is not specified, the whole parameter XML

+Complete specification of application configurations can be found in the DTD and XSD files. +

+

By default without explicit configuration, a PRADO application when running will load a few core modules, such as THttpRequest, THttpResponse, etc. It will also provide the TPageService as a default service. Configuration and usage of these modules and services are covered in individual sections of this tutorial. Note, if your application takes default settings for these modules and service, you do not need to provide an application configuration. However, if these modules or services are not sufficient, or you want to change their behavior by configuring their property values, you will need an application configuration.

diff --git a/demos/quickstart/protected/pages/Configurations/PageConfig.page b/demos/quickstart/protected/pages/Configurations/PageConfig.page index bd8a7186..6f489987 100644 --- a/demos/quickstart/protected/pages/Configurations/PageConfig.page +++ b/demos/quickstart/protected/pages/Configurations/PageConfig.page @@ -9,6 +9,7 @@ When a user requests a page stored under <BasePath>/dir1/dir2, th

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

@@ -30,7 +31,11 @@ The format of a page configuration file is as follows, +

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 attribute. Initial property values given in the <pages> element apply to all pages in the current directory and all its subdirectories.

+

+Complete specification of page configurations can be found in the DTD and XSD files. +

\ No newline at end of file -- cgit v1.2.3