diff options
Diffstat (limited to 'demos/composer/protected/pages/Home.page')
-rw-r--r-- | demos/composer/protected/pages/Home.page | 34 |
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" />
|