Contact | Privacy | Datenschutzerklärung | Impressum

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
NrInteger 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
FromInteger First repetition to show the content. 
ToInteger Last repetition to show the content. 
StepInteger Show the content every step time e.g. if step=2 every second time. 
NegateCheckbox 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
AlignLeft, 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
SeparatorString(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
AlignLeft, Center, Right Text alignment 
GeneralGroup  
IdString(10) Element Identifier  
ClassString(10) Element Class  
InlineStyleGroup  
StyleString  
AdditionalGroup  
TitleString Title of the element. 
DirString(60) Text Direction (used for Internationalisation) 
LangString(10) Language of the element (used for Internationalisation)  
ContenteditableYes, No, Null Makes the content editable (IE only) 
UnselectableYes, No, Null  (IE only) 
JavaScriptGroup  
OnclickString  
OndblclickString  
OnmousedownString  
OnmouseupString  
OnmouseoverString  
OnmouseoutString  
OnmousemoveString  
OnkeypressString  
OnkeydownString  
OnkeyupString  

Component:ulDetails
Ul contains a list of list items (Li).
Property Kind Description
TypeString(60)  
CompactCheckbox Compact Display 

Component:olDetails
Ol contains a list of list items (Li).
Property Kind Description
TypeString(60) Kind of Label. 
StartString(10) Start label of list. 
CompactCheckbox Compact Display 

Component:tableDetails
Displays a Table. All parameters have the same meaning as in HTML.
Property Kind Description
BgcolorString(60) Background Color. 
CellspacingInteger  
CellpaddingInteger Spacing and Padding of table cells. 
BorderInteger Border Width. 
WidthInteger % Table Width. 
AlignLeft, Middle, Right Table Alignment. 
Frame_BorderGroup  
FrameString(60)  where to show the border (IE 4 only)  
RulesString(60)  what lines to show (IE 4 only)  
GeneralGroup  
IdString(10) Element Identifier  
ClassString(10) Element Class  
InlineStyleGroup  
StyleString  
AdditionalGroup  
TitleString Title of the element. 
DirString(60) Text Direction (used for Internationalisation) 
LangString(10) Language of the element (used for Internationalisation)  
ContenteditableYes, No, Null Makes the content editable (IE only) 
UnselectableYes, No, Null  (IE only) 
JavaScriptGroup  
OnclickString  
OndblclickString  
OnmousedownString  
OnmouseupString  
OnmouseoverString  
OnmouseoutString  
OnmousemoveString  
OnkeypressString  
OnkeydownString  
OnkeyupString  

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-2024 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
  Application
  Generic
    Adaptive
    Repeaters
    Panels
    Fields
    Persistence
    Messages
    Caching
  Programmable
Programming
User Guide
Services
Privacy
Datenschutz
 
Contact / Impressum