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/quickstart/protected/pages/Configurations/Templates2.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/quickstart/protected/pages/Configurations/Templates2.page') diff --git a/demos/quickstart/protected/pages/Configurations/Templates2.page b/demos/quickstart/protected/pages/Configurations/Templates2.page index 0971c828..9fc06fb4 100644 --- a/demos/quickstart/protected/pages/Configurations/Templates2.page +++ b/demos/quickstart/protected/pages/Configurations/Templates2.page @@ -10,7 +10,7 @@ Dynamic content tags are introduced as shortcuts to some commonly used

Expression Tags

-An expression tag represents a PHP expression that is evaluated when the template control is being rendered. The expression evaluation result is inserted at the place where the tag resides in the template. The context (namely $this) of the expression is the control owning the template. +An expression tag represents a PHP expression that is evaluated when the template control is in PreRender stage. The expression evaluation result is inserted at the place where the tag resides in the template. The context (namely $this) of the expression is the control owning the template.

The format of an expression tag is as follows, -- cgit v1.2.3