Property |
Kind |
Description |
Label | String(30) | Text Label |
Format | String(60) | Display format (Documentation) |
Conditionals
Most important to create adaptive pages are the conditional
components. Conditional components incorporate their content
into the final page only if certain conditions are met.
So for example, certain things may be displayed only
at certain times, on certain dates, for certain languages, etc.
You can have any other component or layout inside a
conditional clause. From one page view to the other conditions
might change and display a different page to the user.
Conditional components can also have a negate property.
This will insert the body of the conditional only if
the condition is not met.
Component:condbrowserDetails
Suppress the contents unless browser and version match the
specification.
Property |
Kind |
Description |
Browser | String(60) | Select Browser Type |
Vers | String(10) | If specified, the browser must be at least this version to match.
|
Negate | Checkbox | Check to negate the condition. |
Component:condtopdomainDetails
Shows up only if a request comes from a certain top level
domain.
Property |
Kind |
Description |
Lang | String(60) | Top level domain. |
Negate | Checkbox | Check to negate the condition. |
Component:conduserDetails
Shows up only if a certain user accesses the page.
Note that this works only if your Web server does user
authentication.
Property |
Kind |
Description |
User | String(60) | User Name to check for. |
Negate | Checkbox | Check to negate the condition. |
Component:conddebugDetails
The content shows up only if runs in debug
mode. This basically means that only you and everybody
else who maintains the Web site can read the content.
Property |
Kind |
Description |
Negate | Checkbox | |
Random
Random components display a certain part of the page
on a random basis (e.g. an advertising banner).
The randomimg component
selects among several images on a random basis, and
there is also a random component, which
selects among several random parts (rpart)
on a random basis. Each random part can contain
arbitrary components.
Component:conddebugDetails
The content shows up only if runs in debug
mode. This basically means that only you and everybody
else who maintains the Web site can read the content.
Property |
Kind |
Description |
Negate | Checkbox | |
Component:randomDetails
Random selects from several possibilities on a random basis.
Random must contain several random parts (rpart components).
One rpart is selected for display on a random basis.
Property |
Kind |
Description |
All | Checkbox | If all is true, all rparts are displayed for testing purpose. |
Component:rpartDetails
Random parts can be placed inside of Random only.
Random selects a single random part on a random basis.
Property |
Kind |
Description |
Freq | String(10) | Gives the frequency, how often this part is
displayed. All frequencies are given in percent,
so 50 means that this rpart is displayed on
50 percent of all page displays.
Frequencies should add up to 100 percent.
If they do not no rpart is selected for the missing
percentages. |
Component:randomimgDetails
Show one of several images on a random basis.
Property |
Kind |
Description |
Prefix | String(20) | URL prefix for all the image names. |
Imgs | String | All image URL separated by commas. |
Border | Integer | Border Width. |
Align | Top, Middle, Bottom, ... | Alignment. |
Hspace | Integer | Space between image and text on left or right. |
Vspace | Integer | Space between image and text above or below. |
Language Handling
Using language handling components you can create multilanguage
pages without creating distinct pages for each
language.
Using condlanguage parts of the page can be displayed
only for a certain language. If no language is selected using
setlanguage, condlanguage uses the language of
the requesting browser.
The current language is stored in the ff.s.lang variable.
It is passed on to other pages using the URL, provided heitml links
and forms are used.
Component:condlanguageDetails
The content of the condlanguage environment is shown
only if the specified language is selected.
Property |
Kind |
Description |
Lang | String(60) | |
Negate | Checkbox | |
Component:setlanguageDetails
Creates a link that passes another language parameter to
the target page. Normally
finds out about the language automatically.
However if you want to set a specific fixed target language
use setlanguage.
Property |
Kind |
Description |
Lang | String(60) | |
Href | String(60) | |
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
Try the AJAX Article
(in German) on www.h-e-i.de.
© 1996-2025 H.E.I. All Rights Reserved.