Apps and development tools - Basic App Kit
AppKit Modules<tml:include ref="hdb:content:portlet@base">
Since version 2.1.0Description :
This TML renders a content object and therefore should be included in context of a content document.
By default it renders a header with title and navigation elements, a body showing a form to view/edit the items of the content and a footer with default actions. If no form.tml is present a form is generated based on defined <item>'s in the HDBModel. Otherwise form.tml is assumed to contain the form fields of the form.
The rendered output can be customized with options. All options are optional.
title
If specified this option is rendered as header title. Otherwise the content TITLE is rendered.
tools
If specified the contents of this option is rendered as part of the header. Empty if option is empty.
body
Ths body of the page. By default the body of the page is a form created based on TML form.tml. If you specify your own option "body" no form will be rendered and the option contents will be shown instead.
footer
The footer of the page. If you don't specify a footer the default actions will be shown in the footer part of the page. If you specify your own footer you must add your action buttons yourself. The simples way to do this is to include hdb:content:default-actions@base in your own footer and add your own action buttons.
If you don't need a footer at all just set the footer option empty: <tml:option name="footer" mode="set"/>