From 75583383a6c00704837a753741abfc049dcc5a90 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Sun, 24 Sep 2006 02:20:54 +0000
Subject: Merge from 3.0 branch till 1443.
---
demos/blog/protected/application.xml | 8 +++++---
demos/quickstart/protected/pages/Advanced/I18N.page | 2 ++
.../protected/pages/Configurations/UrlMapping.page | 18 +++++++++++++-----
3 files changed, 20 insertions(+), 8 deletions(-)
(limited to 'demos')
diff --git a/demos/blog/protected/application.xml b/demos/blog/protected/application.xml
index f15c4fe4..d28b2dd7 100644
--- a/demos/blog/protected/application.xml
+++ b/demos/blog/protected/application.xml
@@ -15,10 +15,12 @@
With the configuration complete, we can now start to localize your application. If you have autosave enabled, after running your application with some localization activity (i.e. translating some text), you will see a directory and a messages.xml created within your source directory.
diff --git a/demos/quickstart/protected/pages/Configurations/UrlMapping.page b/demos/quickstart/protected/pages/Configurations/UrlMapping.page index 22cb866a..dde6854f 100644 --- a/demos/quickstart/protected/pages/Configurations/UrlMapping.page +++ b/demos/quickstart/protected/pages/Configurations/UrlMapping.page @@ -20,13 +20,21 @@ file and before any services.The mapping format is as follows.
The PageClass set the name of class that the matched URL will -be requested.
The Pattern and Parameters attribute +The ServiceParameter and ServiceID + (the default ID is 'page') set the service parameter and service ID respectively. + The service parameter for the TPageService service is the + Page class name, e.g., for an URL "index.php?page=Home", "page" is the service ID and the service + parameter is "Home". Other services may use the service parameter and ID differently. +See Services for further details. +
+ +
+The Pattern and Parameters attribute
values are regular expression patterns that
determine the mapping criteria. The Pattern property takes
a regular expression with parameter names enclosed between a left brace '{'
@@ -34,13 +42,13 @@ and a right brace '}'. The pattens for each parameter can be set
using Parametersattribute collection.
For example,