From 39446f979b52dd0acd75d5d243f352397a0410f6 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Sat, 7 Apr 2007 10:35:16 +0000
Subject: add TClientScriptLoader quickstart docs.
---
.../protected/pages/Advanced/Scripts3.page | 64 ++++++++++++++++++++--
1 file changed, 60 insertions(+), 4 deletions(-)
(limited to 'demos/quickstart/protected/pages/Advanced')
diff --git a/demos/quickstart/protected/pages/Advanced/Scripts3.page b/demos/quickstart/protected/pages/Advanced/Scripts3.page
index d535d170..86e8bab9 100644
--- a/demos/quickstart/protected/pages/Advanced/Scripts3.page
+++ b/demos/quickstart/protected/pages/Advanced/Scripts3.page
@@ -1,9 +1,14 @@
The javascript libraries distributed with Prado can be found in the
+framework/Web/Javascripts/source directory. The packages.php
+file in that directory defines a list of available package names available
+to be loaded. They can be loaded as follows.
+ The dependencies for each library are automatically resolved. Components
that require a particular library will also automatically load the necessary libraries.
-For example, if you add a TDatePicker component on the page, the datepicker
+For example, if you add a TDatePicker component on the page, the datepicker
and its dependencies will be automatically included on the page. See TClientScript for options of adding
your custom Javascript code to the page. Use TClientScriptLoader to publish and combine multiple existing javascript files (e.g. javascript libraries distributed with Prado or otherwise)
+as packages.Javascript in PRADO, Questions and Answers
-How do I include the predefined Javascript libraries?
+How do I include the Javascript libraries distributed with Prado?
+Publishing Javascript Libraries as Assets
+