Changes to templating
This section describes what has changed in templating in SDL Tridion 2009 SP1.
- Modular Templating
ContentTypeis now used to determine the type of a variable rather thanDouble.TryParse. In versions prior to SDL Tridion 2009, a text field containing what could be interpreted as a number, for example(@@Phone@@), would be resolved as a non-quoted (+049234324) string. The JScriptEvaluator would then evaluate the non-quoted string as a number (49234324) rather than as a phone number string. In SDL Tridion 2009 SP1, string fields and number fields are resolved correctly byContentTyperather than withDouble.TryParse.