OpenWGA 7.1 - WebTML reference

WebTML tags

<tml:htmlhead>

Description :
Should be used in the HTML HEAD area. Prints meta data and openWGA internal scripts needed form openWGA Browser Authoring Interface and other WebTML functionalities. 
Derived from: Attributes:
show inherited attributes ...
Name Value(s) Purpose
metaoutput true | false Controls if the meta data tag "keywords" and if necessary "refresh" should be displayed

Details:
The tag <tml:htmlhead/> has several functionalities:

  • it prints meta data of the current displayed content document, the meta data defines e.g. keywords with meta tag "keywords"
  • it provides WebTML functionalities, used by openWGA Browser Authoring Interface and other openWGA tags. Included are JavaScript variables and JavaScript functions for the Browser.
Before there was the WebTML element "htmlhead" which provides similar functionalities, but was more complicated to use. The WebTML element is obsolete.
Examples:
Tag normally given without attributes.

<html>
    <head>
        <title>My Document</title>
        <tml:htmlhead/>
    </head>
    ...several HTML-Code
</html>


Are there WebTML functionalities which needs optional special scripts, the attribute "scripts" is needed. E.g. the WebTML tag <tml:input/> needs a  script for its calender.

<html>
    <head>
        <title>My document</title>
        <tml:htmlhead scripts="calendar"/>
    </head>
    <body>
        <tml:form id="myform" source="content">
        date: <tml:input type="date" name="inputDate"/><br/>
        </tml:form>
    </body>
</html>