Databases Reference
In-Depth Information
When the page template is added to the applicaion with the page deiniion ile, the
Databindings.cpx ile is updated with the page deiniion informaion. This happens
whenever a page deiniion is assigned to the page. The pagetemplate-metadata.xml
file will also add the entry of the newly-created template into it.
Have a go hero - adding attributes to the template
While creaing the page template, we were asked to add the facets and atributes for the
page template.
Now you will add the atributes yourself for a new template to idenify the diferences as
shown in the following list. Remember that this can be added from the Create wizard.
1. Add the height atribute in the code inside the component secion:
<attribute>
<attribute-name>height</attribute-name>
<attribute-class>java.lang.String</attribute-class>
<default-value>100</default-value>
</attribute>
 
Search WWH ::




Custom Search