Location:  WebCFG documentation

Tag reference

button
calendar
combobox
externaldata
headline
hide
include
password
radiobuttons
readonly
readwrite
tab
textbox
textline
url
validator
#
;
#-
#+
###

externaldata
inject data from external datatsources (handler)
Usage @WC externaldata <handlername> [<variablename>]
Type plain, property
Description Inject the data of the handler handlername. If the handler is a 'property' handler, your can specify the key (variablename)
tab
Grouping parts of the configuration file
Usage @WC tab <tabname>
Type plain, property
Description By using this tag once or several times, some tabs will appear on the top of the web frontend. By clicking on the tabs, you are able to jump to a special part of your configration. The content of a tab ends by a another tab in the configuration.
headline
Define a headline
Usage @WC headline <headline text>
Type plain, property
Description The headline text will be displayed like a headline, in a bolder and bigger font.
readonly
make an input field read-only
Usage @WC readonly
Type plain, property
Description No changes are allowed to values in the input field below this tag.
textbox
include a foreign URL
Usage @WC include <url> [<xsize>[, <ysize>]]
Type plain, property
Description Includes the specfied URL as an iframe. The size can be changed by giving the xsize and ysize parameters. If they are not given, the maximun size for the specified URL is taken.
password
create a password field
Usage @WC password
Type plain, property
Description Creates a HTML password field at the given position (i.e. an input field that shows only asterisk (*) on input).
readwrite
create an editable input field
Usage @WC readwrite
Type plain, property
Description Creates a HTML input field that can be modified.
hide
hide an entry including comments
Usage @WC hide [(on|off) [default]]
Type plain, property
Description The configuration entry below this tag including all the comments will be hide ("on") or shown ("off") in the web frontend. If the "default" argument is defined, the whole file from this location will be hide or shown.
button
create a button
Usage @WC button <buttonname>
Type plain, property
Description Creates a button at the given position. The action that is executed when the button is clicked has to be defined in the webcfg.xml file. The <buttonname> references the name attribute of the button element.
url
create an anchor
Usage @WC url (<URL>, <comment>)
Type plain, property
Description The text in comment will link to the URL in URL.
textline
create an input field
Usage @WC textline [<length>]
Type
Description Creates an input field at the given position with the optionally given length in characters.
textbox
create an input textbox
Usage @WC textbox [(<xsize>, <ysize>)]
Type plain, property
Description Creates a textbox at the given position. The size can be changed by giving the xsize and ysize parameters. If they are not given, the default values for a textbox are taken.
# and ;
Show a line 'as is'
Usage # <some text>
; <some text>
Type plain, property
Description This tag displays the following text line as is without any formatting and possibility to change it in the web frontend.
#-
hide a line
Usage #- <some text>
Type plain, property
Description This tag hides the complete line in the web frontend, no matter what the line contains. This tag can be used to comment out other tags.
#+
Add text to a textbox
Usage #+ <some text>
Type plain
Description This tag can only be used along with a textbox. some text will be added to the textbox as is.
###
Define an inline headline
Usage ### <headline text>
Type plain, property
Description The headline text will be displayed in a headline like way (bigger and bolder font).
radiobuttons
Create a radio button input field
Usage @WC radiobuttons (description1, value1) [(description2, value2) ...]
Type property
Description The value of the property below the tag can be set by a radio button in the web frontend. The value that is set to the configuration is the one from the selected radio button.
combobox
Create a dropdown list
Usage @WC combobox (entry1, value1) [(entry2, value2)]
Type property
Description The value of the property below the tag can be set by a dropdown list in the web frontend. The list contains all entries. The value of the chosen entry will be written to the configuration.
calendar
Create a calendar to edit dates
Usage @WC calendar [format]
Type property
Description This tag creates a readonly HTML input field with a calendar attached to it to conveniently enter a date. The selected date will be converted to the given format pattern.

For the pattern specification have a look at this documentation.

Note: The calendar returns only values for year, month and day. Default format: "MM/dd/yyyy"
validator
Defines a input validator
Usage @WC validator pattern
Type plain, property
Description This tag defines a pattern to check the correctness of the input values. Whenever an input field is changed, the new content will be checked against the given pattern. If it does not match, an error message will be displayed.

Regular expressions are used as patterns.
top