From 588727c7e2b8954ec3dbde293cf4c4d68b119f9b Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 19 Jun 2006 18:38:29 +0000 Subject: Merge from 3.0 branch till 1185. --- .../protected/pages/Configurations/Templates3.page | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'demos/quickstart/protected/pages/Configurations') diff --git a/demos/quickstart/protected/pages/Configurations/Templates3.page b/demos/quickstart/protected/pages/Configurations/Templates3.page index 99d43665..bc3b1f87 100644 --- a/demos/quickstart/protected/pages/Configurations/Templates3.page +++ b/demos/quickstart/protected/pages/Configurations/Templates3.page @@ -44,6 +44,20 @@ The format of databind tags is as follows, <%# PhpExpression %> +

+Since v3.0.2, expression tags and databind tags can be embedded within static strings. For example, you can write the following in a template, +

+ +<com:TLabel> + <prop:Text> + Today is <%= date('F d, Y',time()) >. + The page class is <%= get_class($this) %>. + </prop:Text> +</com:TLabel> + +

+Previously, you would have to use a single expression with string concatenations to achieve the same effect. +

Parameter Tags

-- cgit v1.2.3