summaryrefslogtreecommitdiff
path: root/demos/composer/protected/pages/Home.page
diff options
context:
space:
mode:
authorxue <>2006-04-15 14:35:46 +0000
committerxue <>2006-04-15 14:35:46 +0000
commit70944795827cffd1bd5a27a9c4a99eb1434f905f (patch)
tree8c77df484074d8a104a4646a4e2fa6c051324ed4 /demos/composer/protected/pages/Home.page
parent3ba2c4fbc3a5e07d3f51dc2a89e9eed24b9f2a16 (diff)
Merge from branch 3.0 till 913.
Diffstat (limited to 'demos/composer/protected/pages/Home.page')
-rw-r--r--demos/composer/protected/pages/Home.page38
1 files changed, 19 insertions, 19 deletions
diff --git a/demos/composer/protected/pages/Home.page b/demos/composer/protected/pages/Home.page
index efdd1cda..51aaed8e 100644
--- a/demos/composer/protected/pages/Home.page
+++ b/demos/composer/protected/pages/Home.page
@@ -40,10 +40,10 @@ No properties defined.<br/>
<prop:ItemTemplate>
<tr>
<td>
- <com:TTextBox ID="PropertyName" Text=<%# $this->Parent->DataItem->Name %> CssClass="slTextBox"/>
+ <com:TTextBox ID="PropertyName" Text=<%# $this->DataItem->Name %> CssClass="slTextBox"/>
</td>
<td>
- <com:TDropDownList ID="PropertyType" SelectedValue=<%# $this->Parent->DataItem->Type %> >
+ <com:TDropDownList ID="PropertyType" SelectedValue=<%# $this->DataItem->Type %> >
<com:TListItem Text="string" />
<com:TListItem Text="integer" />
<com:TListItem Text="boolean" />
@@ -53,41 +53,41 @@ No properties defined.<br/>
</com:TDropDownList>
</td>
<td>
- <com:TTextBox ID="DefaultValue" Text=<%# $this->Parent->DataItem->DefaultValue %> CssClass="slTextBox"/>
+ <com:TTextBox ID="DefaultValue" Text=<%# $this->DataItem->DefaultValue %> CssClass="slTextBox"/>
</td>
<td>
- <com:TDropDownList ID="Storage" SelectedValue=<%# $this->Parent->DataItem->Storage %> >
+ <com:TDropDownList ID="Storage" SelectedValue=<%# $this->DataItem->Storage %> >
<com:TListItem Text="ViewState" />
<com:TListItem Text="ControlState" />
<com:TListItem Text="Memory" />
</com:TDropDownList>
</td>
<td>
- <com:TCheckBox ID="IsProtected" Text="protected" Checked=<%# $this->Parent->DataItem->IsProtected %> />
- <com:TCheckBox ID="ReadOnly" Text="read-only" Checked=<%# $this->Parent->DataItem->ReadOnly %> />
+ <com:TCheckBox ID="IsProtected" Text="protected" Checked=<%# $this->DataItem->IsProtected %> />
+ <com:TCheckBox ID="ReadOnly" Text="read-only" Checked=<%# $this->DataItem->ReadOnly %> />
</td>
<td>
- <com:TTextBox ID="Comments" Text=<%# $this->Parent->DataItem->Comments %> CssClass="slTextBox"/>
+ <com:TTextBox ID="Comments" Text=<%# $this->DataItem->Comments %> CssClass="slTextBox"/>
</td>
<td>
<com:TButton
Text="Remove"
CommandName="remove"
- CommandParameter=<%# $this->Parent->ItemIndex %>
+ CommandParameter=<%# $this->ItemIndex %>
CssClass="button"
/>
<com:TButton
Text="Up"
CommandName="up"
- CommandParameter=<%# $this->Parent->ItemIndex %>
- Enabled=<%# $this->Parent->ItemIndex > 0%>
+ CommandParameter=<%# $this->ItemIndex %>
+ Enabled=<%# $this->ItemIndex > 0%>
CssClass="button"
/>
<com:TButton
Text="Down"
CommandName="down"
- CommandParameter=<%# $this->Parent->ItemIndex %>
- Enabled=<%# $this->Parent->ItemIndex < $this->Page->ClassDefinition->Properties->Count-1 %>
+ CommandParameter=<%# $this->ItemIndex %>
+ Enabled=<%# $this->ItemIndex < $this->Page->ClassDefinition->Properties->Count-1 %>
CssClass="button"
/>
</td>
@@ -123,30 +123,30 @@ No properties defined.<br/>
<prop:ItemTemplate>
<tr>
<td>
- <com:TTextBox ID="EventName" Text=<%# $this->Parent->DataItem->Name %> CssClass="slTextBox"/>
+ <com:TTextBox ID="EventName" Text=<%# $this->DataItem->Name %> CssClass="slTextBox"/>
</td>
<td>
- <com:TTextBox ID="Comments" Text=<%# $this->Parent->DataItem->Comments %> CssClass="slTextBox"/>
+ <com:TTextBox ID="Comments" Text=<%# $this->DataItem->Comments %> CssClass="slTextBox"/>
</td>
<td>
<com:TButton
Text="Remove"
CommandName="remove"
- CommandParameter=<%# $this->Parent->ItemIndex %>
+ CommandParameter=<%# $this->ItemIndex %>
CssClass="button"
/>
<com:TButton
Text="Up"
CommandName="up"
- CommandParameter=<%# $this->Parent->ItemIndex %>
- Enabled=<%# $this->Parent->ItemIndex > 0%>
+ CommandParameter=<%# $this->ItemIndex %>
+ Enabled=<%# $this->ItemIndex > 0%>
CssClass="button"
/>
<com:TButton
Text="Down"
CommandName="down"
- CommandParameter=<%# $this->Parent->ItemIndex %>
- Enabled=<%# $this->Parent->ItemIndex < $this->Page->ClassDefinition->Events->Count-1 %>
+ CommandParameter=<%# $this->ItemIndex %>
+ Enabled=<%# $this->ItemIndex < $this->Page->ClassDefinition->Events->Count-1 %>
CssClass="button"
/>
</td>