PDML tags and syntax
Panel Definition Markup Language (PDML) tags are case-sensitive and
must be coded by defining attribute tags, for example, <TITLE></TITLE>
and <SIZE></SIZE>, in a predefined, consecutive order.
In addition to a set of required tags, PDML defines optional tags that
allow you to add functionality and formatting to your panels.
Required PDML tags
Just as the Hyper-Text Markup (HTML) and
Standard Generalized Markup (SGML) languages require that you include certain
tags within each HTML and SGML coded page (for example, <html>/</html>,
<body>/</body>, and the base document element), the PDML tag structure
requires a starting and ending PDML tag and a starting and ending panel
tag, with title and size attribute tags enclosed within the panel tag.
The following is the general layout of all required PDML tags:
<PDML version=version source=platform basescreensize=screensize>
<PANELname=name>
<TITLE>title</TITLE>
<SIZE>size/SIZE>
</PANEL>
</PDML>
Optional PDML tags
Just as HTML provides you with tags that format your web pages and make
them interactive (for example, tables, radio buttons, and text fields),
you can use PDML tags to format and activate your panels.
Three sets of PDML tags perform formatting and user interaction:
-
Panel component tags create elements
on a panel for accepting a user's request for a specific action to be performed
(for example, a radio button), navigation (for example, a slider), and
text formatting (for example, a table).
-
Property sheet tags add hyperlinked icons
to a panel that serve as entry points to other panels when the icons are
clicked.
-
Wizard tags present a series of consecutively
ordered windows so that when the windows are followed in order, they aid
the user in performing a specific task.
The following is an example of the general layout of all PDML tags, including
representatives of panel component, wizard, and property sheet tags:
<PDML>
<PANEL>
<PANEL COMPONENT>
</PANEL COMPONENT>
</PANEL>
<PROPSHEET>
<PANEL>
<PANEL COMPONENT>
</PANEL COMPONENT>
</PANEL>
</PROPSHEET>
<WIZARD>
<PANEL>
<PANEL COMPONENT>
</PANEL COMPONENT>
</PANEL>
</WIZARD>
</PDML>
[ Legal | AS/400
Glossary ]