summaryrefslogtreecommitdiff
path: root/demos/composer
diff options
context:
space:
mode:
authorxue <>2006-01-12 13:35:40 +0000
committerxue <>2006-01-12 13:35:40 +0000
commit823ddf3e3fbeb3cf5b30da257d868af743bf3302 (patch)
tree24bd3cf448b45310bc0c6fc6dd234d97bec60dfc /demos/composer
parente126c0067e9efee6542d08bf649588e2cf3a5924 (diff)
Diffstat (limited to 'demos/composer')
-rw-r--r--demos/composer/protected/pages/Home.page34
1 files changed, 33 insertions, 1 deletions
diff --git a/demos/composer/protected/pages/Home.page b/demos/composer/protected/pages/Home.page
index ae4149ee..d75a61d8 100644
--- a/demos/composer/protected/pages/Home.page
+++ b/demos/composer/protected/pages/Home.page
@@ -72,9 +72,39 @@ implements <com:TTextBox ID="Interfaces" CssClass="slTextBox"/>
</com:TRepeater>
</table>
</com:TPanel>
+
<com:TPanel GroupingText="Event Definitions">
-Event Definitions:
+<table>
+<tr>
+ <th>Name</th>
+ <th>Comments</th>
+ <th>Actions</th>
+</tr>
+<com:TRepeater ID="EventList" ItemCommand="itemAction">
+<prop:ItemTemplate>
+<tr>
+ <td>
+ <com:TTextBox ID="EventName" Text=<%# $this->Parent->DataItem->Name %> CssClass="slTextBox"/>
+ </td>
+ <td>
+ <com:TTextBox ID="Comments" Text=<%# $this->Parent->DataItem->Comments %> CssClass="slTextBox"/>
+ </td>
+ <td>
+ <com:TButton ID="AddButton"
+ Text="Add"
+ CommandName="add"
+ CommandParameter=<%# $this->Parent->ItemIndex %> />
+ <com:TButton ID="RemoveButton"
+ Text="Remove"
+ CommandName="remove"
+ CommandParameter=<%# $this->Parent->ItemIndex %> />
+ </td>
+</tr>
+</prop:ItemTemplate>
+</com:TRepeater>
+</table>
</com:TPanel>
+
<br/>
Comments
<br/>
@@ -89,6 +119,8 @@ Author Email
Text=<%#$this->Page->ClassDefinition->Email%>
CssClass="slTextBox"/>
<br/>
+
+<hr/>
<com:TButton Text="Generate Code" Click="generateCode" />
<pre>
<com:TLiteral ID="SourceCode" />