Advanced

ADRUID ADVANCED SECTION

Text component

A text component is a graphical component which can display several text fields one below the other. (screenshot)

# setting of user/group

BEGIN COMPONENT

TITLE: Identity

BEGIN TEXT
# user field
LABEL: User :
ID: %arg1

# group field
LABEL: Group :
ID: %arg2

END TEXT

BEGIN GENERATE httpd.conf
User %arg1
Group %arg2
END GENERATE

END COMPONENT

A text component is characterized by a BEGIN TEXT/END TEXT section. It contains a list of LABEL/ID which indicate respectively the label of the text field and its ID (used to identify the fields for the generation part).

Then a GENERATE section indicates what to generate and in which file this information should be generated
(BEGIN GENERATE YourFileName)