diff options
author | xue <> | 2006-01-21 20:26:20 +0000 |
---|---|---|
committer | xue <> | 2006-01-21 20:26:20 +0000 |
commit | b4d398680ea7dfee8ce5db5956efd373c541a585 (patch) | |
tree | 0f44da4989400152d3f1755ef1f6ec6763c6c8f7 /demos/composer/protected/pages | |
parent | 88d880aa189f23e3c1e5664016e927cbc94bd0e9 (diff) |
Enhanced template parsing so the error messages can be reported with the file and line information.
Diffstat (limited to 'demos/composer/protected/pages')
-rw-r--r-- | demos/composer/protected/pages/Home.page | 2 | ||||
-rw-r--r-- | demos/composer/protected/pages/Home.php | 2 |
2 files changed, 2 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();
}
|