From b07499534b6d0ed57a2b80c4d95354ca3791c236 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 15 Apr 2006 14:21:40 +0000 Subject: Breaking change! Changed context of the expressions in template to the template control. Evaluations of <%= %> are now all in PreRender stage. --- demos/composer/protected/pages/Home.page | 38 ++++++++++++++++---------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'demos/composer/protected/pages/Home.page') 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.
- Parent->DataItem->Name %> CssClass="slTextBox"/> + DataItem->Name %> CssClass="slTextBox"/> - Parent->DataItem->Type %> > + DataItem->Type %> > @@ -53,41 +53,41 @@ No properties defined.
- Parent->DataItem->DefaultValue %> CssClass="slTextBox"/> + DataItem->DefaultValue %> CssClass="slTextBox"/> - Parent->DataItem->Storage %> > + DataItem->Storage %> > - Parent->DataItem->IsProtected %> /> - Parent->DataItem->ReadOnly %> /> + DataItem->IsProtected %> /> + DataItem->ReadOnly %> /> - Parent->DataItem->Comments %> CssClass="slTextBox"/> + DataItem->Comments %> CssClass="slTextBox"/> Parent->ItemIndex %> + CommandParameter=<%# $this->ItemIndex %> CssClass="button" /> Parent->ItemIndex %> - Enabled=<%# $this->Parent->ItemIndex > 0%> + CommandParameter=<%# $this->ItemIndex %> + Enabled=<%# $this->ItemIndex > 0%> CssClass="button" /> 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" /> @@ -123,30 +123,30 @@ No properties defined.
- Parent->DataItem->Name %> CssClass="slTextBox"/> + DataItem->Name %> CssClass="slTextBox"/> - Parent->DataItem->Comments %> CssClass="slTextBox"/> + DataItem->Comments %> CssClass="slTextBox"/> Parent->ItemIndex %> + CommandParameter=<%# $this->ItemIndex %> CssClass="button" /> Parent->ItemIndex %> - Enabled=<%# $this->Parent->ItemIndex > 0%> + CommandParameter=<%# $this->ItemIndex %> + Enabled=<%# $this->ItemIndex > 0%> CssClass="button" /> 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" /> -- cgit v1.2.3