A template author decides to allow XHTML for the short description (identified by projectdoc.doctype.common.shortDescription ) in the wizard. Code Block |
---|
language | xml |
---|
title | Property in the Soy Template |
---|
| <textarea
id="projectdoc.doctype.common.shortDescription"
name="projectdoc.doctype.common.shortDescription"
class="textarea long-field"
placeholder="{getText('projectdoc.blueprint.form.label.shortDescription.placeholder')}"
rows="6"></textarea>
<input
id="projectdoc-adjustVarValues-toXhtml"
name="projectdoc-adjustVarValues-toXhtml"
type="hidden"
value="projectdoc._doctype._common._shortDescription"> > |
In the template the property is now inserted as raw XHTML (at:rawxhtml="true" ). Code Block |
---|
language | xml |
---|
title | Property in Page Template |
---|
| <tr>
<th class="confluenceTh"><at:i18n at:key="projectdoc._doctype._common._shortDescription"/></th>
<td class="confluenceTd"><at:var at:name="projectdoc._doctype._common._shortDescription"
at:rawxhtml="true"/></td>
<td class="confluenceTd"></td>
</tr> |
Version Box |
---|
title | Variable Names |
---|
since | 5.0 |
---|
| Since version 6.0 all dots in variable names have been replaced by underscores. Before 6.x | Since 6.x |
---|
projectdoc.doctype.common.shortDescription | projectdoc_doctype_common_shortDescription |
Note that references to resources (for instance labels) and identifiers for property names still use dots as delimiters. |
|