summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorxue <>2006-01-21 20:26:20 +0000
committerxue <>2006-01-21 20:26:20 +0000
commitb4d398680ea7dfee8ce5db5956efd373c541a585 (patch)
tree0f44da4989400152d3f1755ef1f6ec6763c6c8f7 /demos
parent88d880aa189f23e3c1e5664016e927cbc94bd0e9 (diff)
Enhanced template parsing so the error messages can be reported with the file and line information.
Diffstat (limited to 'demos')
-rw-r--r--demos/composer/protected/pages/Home.page2
-rw-r--r--demos/composer/protected/pages/Home.php2
-rw-r--r--demos/quickstart/protected/application.xml5
3 files changed, 7 insertions, 2 deletions
diff --git a/demos/composer/protected/pages/Home.page b/demos/composer/protected/pages/Home.page
index 23ab2b86..28b4320d 100644
--- a/demos/composer/protected/pages/Home.page
+++ b/demos/composer/protected/pages/Home.page
@@ -14,7 +14,7 @@ implements <com:TTextBox ID="Interfaces" CssClass="slTextBox"/>
</com:TPanel>
<com:TPanel GroupingText="Property Definitions">
-<com:TRepeater ID="PropertyList" ItemCommand="propertyAction">
+<com:TRepeater ID="PropertyList" OnItemCommand="propertyAction">
<prop:HeaderTemplate>
<table>
diff --git a/demos/composer/protected/pages/Home.php b/demos/composer/protected/pages/Home.php
index de340fba..17be1759 100644
--- a/demos/composer/protected/pages/Home.php
+++ b/demos/composer/protected/pages/Home.php
@@ -109,7 +109,7 @@ class Home extends TPage
public function generateCode($sender,$param)
{
- $writer=Prado::createComponent('System.IO.TTextWriter');
+ $writer=Prado::createComponent('TTextWriter');
$this->ClassDefinition->render($writer);
$this->SourceCode->Text=$writer->flush();
}
diff --git a/demos/quickstart/protected/application.xml b/demos/quickstart/protected/application.xml
index e25c4c14..88cab8d1 100644
--- a/demos/quickstart/protected/application.xml
+++ b/demos/quickstart/protected/application.xml
@@ -2,9 +2,14 @@
<application id="QuickStart" Mode="Debug">
<modules>
+ <!-- uncomment the following to enable caching
+ <module id="cache" class="System.Data.TSqliteCache" />
+ -->
+ <!-- uncomment the following to enable logging to file
<module id="log" class="System.Log.TLogRouter">
<route class="TFileLogRoute" />
</module>
+ -->
</modules>
<paths>
<using namespace="Application.controls.*" />