summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
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.*" />