Cheatography
https://cheatography.com
Cheat sheet for the HST console configuration of the Hippo CMS console.
This is a draft cheat sheet. It is a work in progress and is not finished yet.
General hst properties
hst:parameternames (String-Multi) |
Define parameter names that can be used in the page/logic associated with the node. |
hst:parametervalues (String-Multi) |
Define default parameter values matching one to one with the hst:parameternames. |
hst:componentclassname (String) |
The reference of the Java class responsible for the business logic of the node and everything directly associated with it. |
Properties that you can encounter/use in most hst node types.
hst:sitemap
hst:sitemapitem |
The main sitemap node for your page. Can be either custom named, or a wildcard. Its name is also the name in the URL/path. |
_any_ |
Wildcard sitemap node. Matches anything in the structure that doesn't match with the already existing nodes. |
_any_.html |
Wildcard sitemap node. Matches anything in the structure that doesn't match with the already existing nodes. More specific than the simple _any_ and is commonly used for matching with documents. |
Part of hst:myproject->hst:configurations
hst:sitemap properties
hst:pagetitle (String) |
The displayed title of the page. |
hst:componentconfigurationid (String) |
The node path to the page's configuration node (e.g. hst:pages/news). |
hst:relativecontentpath |
The relative path (from content/documents/myproject) of the content folder/node. A sitemap can point to either a document, or a folder. The document will be available as the content of the page. In the case of a folder, children nodes (e.g. a wildcard) will be needed to point to any documents in that folder. Can also reference another sitemap item and inherit its relative content path. |
hst:scheme (String) |
Specify and limit to specific scheme(s) (e.g. https, http) |
hst:schemeagnostic (Boolean) |
Make a sitemap item load no matter if a scheme has been specified. Especially useful if parent only supports one scheme and you want a child node to render no matter what. |
hst:schemenotmatchresponsecode (Long) |
Response code to be thrown when scheme does not match (e.g. 404). |
hst:refId (String) |
Creates a reference ID for the sitemap item to easily reference it from other sitemap items or Java classes. |
|
|
hst:pages
hst:component |
An hst node commonly responsible for the configuration of the behaviour of a page. Can be used alone or have children that reference components with business logic to extend functionality. |
hst:containercomponent |
The container that is rendered in a page. Used as a "folder" to container components. Can be referenced by hst:containercomponentreference. Used to hold/reference one or multiple container item components. |
hst:containercomponentreference |
References an hst:containercomponent. Often used to reference a container component set in the hst:containers part of the workspace to reuse in multiple page configurations. |
hst:containeritemcomponent |
Used as the core to item components. The configuration for a component to work as required is held in this node. There are commonly a copy of the component's definition created in hst:catalog. |
The first component node often references and abstract page structure. This is how all the pages can have the same footer/header all over the site.
Note: Although these are core to the hst:pages structure, a lot of these nodes are also used in other parts of the hst such as the hst:workspace>hst:containers.
hst:component properties
hst:template (String) |
The name of the template responsible for rendering the page (set in hst:templates). |
hst:componentclassname (String) |
The reference of the Java class responsible for the business logic of the node and everything directly associated with it. |
hst:referencecomponent |
Reference the configuration of another hst:component. |
hst:containeritemcomponent properties
hst:label (String) |
The name of the Container |
hst:xtype (String) |
The type of the layout of the container. |
hst:async (Boolean) |
Set to true to render the container asynchronously. |
hst:containercomponentreference
hst:referencecomponent |
Reference a configured component to be used in this page configuration. |
hst:containeritemcomponent properties
hst:componentclassname (String) |
The reference of the Java class responsible for the business logic of the node and everything directly associated with it. |
hst:iconpath (String) |
The relative path to the icon used to display the component in the catalogue. |
hst:label (String) |
The displayed name of the component. |
hst:template (String) |
The template that renders the component. |
hst:resourcetemplate (String) |
The template that renders any REST or other resource that is called by the component (e.g. doBeforeServeResource method). |
hst:xtype |
Set to hst.item by default to identify this as a component item. |
|