2022.2

Table Of Contents
l
OntheResourcespane,expandtheContextsfolder,right-clicktheWebfolder,andthenclick
New Web page.
ImportingaWebpage
ToimportaWebpagefromanothertemplate,clickFile > Import Resources...inthemenu.See:
"ImportResourcesdialog"onpage889.
TheWebpage'sIncludessettingsgetimportedautomatically(see"Includes"onpage497).
Remembertoaddorimportanyrelatedsourcefiles,suchasstylesheetsandimages.
DeletingaWebpage
TodeleteaWebsection:
l
OntheResourcespane,expandtheContextsfolder,expandtheWebcontext,right-clickthe
nameofthesection,andthenclickDelete.
Caution: Ifyoudon'thaveabackupofthetemplate,theonlywaytorecoveradeletedsection,is
toclickUndoontheEditmenu,untilthedeletedsectionisrestored.Afterclosingandreopening
thetemplateitisnolongerpossibletorestorethedeletedcontextthisway.
IntheSavingPreferencesyoucansetwhetherabackupfileshouldbecreatedwhenyousave
thetemplate;see"Savepreferences"onpage802.
FillingaWebpage
Manyofthecontentelementsthatareavailableforallthreecontextsareparticularlysuitableforweb
pages;see"Contentelements"onpage566.DonotusePositionedBoxesandTablestopositionele-
ments,however;useInlineBoxesinstead.
FormsandFormelementsareonlyavailableinaWebcontext;see"Forms"onpage640and"Form
Elements"onpage644.
UsingvariabledataonaWebpage
Webtemplatesarepersonalizedjustlikeanyothertemplate;see"Variabledatainthetext"on
page708.Thereareafewextrapossibilities,though:variabledatacanbeusedinFormelementsand
theycanbepassedtoclient-sideJavaScript.
Using Variable Data in Form elements
Variabledatamaybeusedinformelements,suchasadrop-downlist(aSelectelement).Howtodo
that,isdescribedinthishow-to:Dynamicallyaddoptionstoadropdown.
Page 499