heitml Repeaters
Some components display certain repeated information. For example
dbdisplay displays several database records. A shopping basket
displays various products in the shopping basket. A multiple
component just displays the same information multiple times.
These components are called Repeaters.

There are various ways to layout repeated information. For example
a table, a list (ul), a comma separated list, or just a couple of paragraphs.
heitml offers several repeatable layouts for this purpose.
Repeatable layouts are certain components described below.
Exactly one repeatable layout must be used within each repeater.
Every combination of Repeater and Repeatable Layout
is possible.
Consider a table repeatable layout contained in a
dbdisplay. This will display the result of a database
query using a table layout. Please note that the table itself including
the headline is not displayed multiple times. Only
the second row of the table is displayed multiple times!
However, if the query does not have a result, the complete table vanishes.
So the content of a Repeater is displayed once (provided there is any data).
Only a Repeatable Layout inside will contain a part
that is displayed multiple times.

Repeaters
The multiple component can be used to repeat part of the
page several times. It is the simplest Repeater.
Component:multipleDetails
The content of multiple is displayed several times.
The parameter specifies how often.
Please put a repeatable layout inside multiple.
Property |
Kind |
Description |
Nr | Integer | Number how often the content is displayed |
Component:multicntDetails
Multicnt must be used inside the multi environment.
It displays the current value of the multiple counter.
Component:multicondDetails
The content of multicond is shown only if the counter
fulfills a certain condition. For example you can specify that
the content should be shown only the first n repetitions
or maybe every third repetition.
Property |
Kind |
Description |
From | Integer | First repetition to show the content. |
To | Integer | Last repetition to show the content. |
Step | Integer | Show the content every step time e.g. if step=2 every
second time. |
Negate | Checkbox | Negate the condition. |
Other repeaters are documented elsewhere, for example dbscroller or
dbdisplay.
Repeatable Layouts
Component:paraDetails
Show repeated items as a list of paragraphs.
Property |
Kind |
Description |
Align | Left, Center, Right | Text alignment. |
Component:lineDetails
Show repeated items as a sequence of lines separated by br-tags.
Component:sepDetails
The content of the sep will be repeated. Items are
separated by the separator string given.
Property |
Kind |
Description |
Separator | String(20) | |
 
The meaning of the following HTML tags changes inside a repeater.
This means a div tag is repeated itself.
The list items (li-tags) inside a list (ul or ol tag) and
the second row of a table is repeated. Underlined text (u-tag)
is repeated.
Component:divDetails
The div component contains a division of text.
Property |
Kind |
Description |
Align | Left, Center, Right | Text alignment |
General | Group | |
Id | String(10) | Element Identifier |
Class | String(10) | Element Class |
InlineStyle | Group | |
Style | String | |
Additional | Group | |
Title | String | Title of the element. |
Dir | String(60) | Text Direction (used for Internationalisation) |
Lang | String(10) | Language of the element (used for Internationalisation) |
Contenteditable | Yes, No, Null | Makes the content editable (IE only) |
Unselectable | Yes, No, Null | (IE only) |
JavaScript | Group | |
Onclick | String | |
Ondblclick | String | |
Onmousedown | String | |
Onmouseup | String | |
Onmouseover | String | |
Onmouseout | String | |
Onmousemove | String | |
Onkeypress | String | |
Onkeydown | String | |
Onkeyup | String | |
Component:ulDetails
Ul contains a list of list items (Li).
Property |
Kind |
Description |
Type | String(60) | |
Compact | Checkbox | Compact Display |
Component:olDetails
Ol contains a list of list items (Li).
Property |
Kind |
Description |
Type | String(60) | Kind of Label. |
Start | String(10) | Start label of list. |
Compact | Checkbox | Compact Display |
Component:tableDetails
Displays a Table. All parameters have the same meaning as in HTML.
Property |
Kind |
Description |
Bgcolor | String(60) | Background Color. |
Cellspacing | Integer | |
Cellpadding | Integer | Spacing and Padding of table cells. |
Border | Integer | Border Width. |
Width | Integer % | Table Width. |
Align | Left, Middle, Right | Table Alignment. |
Frame_Border | Group | |
Frame | String(60) | where to show the border (IE 4 only) |
Rules | String(60) | what lines to show (IE 4 only) |
General | Group | |
Id | String(10) | Element Identifier |
Class | String(10) | Element Class |
InlineStyle | Group | |
Style | String | |
Additional | Group | |
Title | String | Title of the element. |
Dir | String(60) | Text Direction (used for Internationalisation) |
Lang | String(10) | Language of the element (used for Internationalisation) |
Contenteditable | Yes, No, Null | Makes the content editable (IE only) |
Unselectable | Yes, No, Null | (IE only) |
JavaScript | Group | |
Onclick | String | |
Ondblclick | String | |
Onmousedown | String | |
Onmouseup | String | |
Onmouseover | String | |
Onmouseout | String | |
Onmousemove | String | |
Onkeypress | String | |
Onkeydown | String | |
Onkeyup | String | |
Component:uDetails
The content of the u will be repeated.
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
H.E.I. provides support, tools, and services like
Webdesign in Mannheimm,
the HTML/CSS 3D WebGL Animation Library taccgl,
3D Webdesign, and
3D Product ConfiguratorDemo
(3D Produkt Konfigurator Demo in German).
© 1996-2025 H.E.I. All Rights Reserved.
|