1.4

When a Web template is created (see "Creating a Web template with a Wizard" on page 432)
or when a Web context is added to a template (see "Adding a context" on page 222) the
following happens:
l
The Web context is created and one Web page or section is added to it. You can see this
on the Resources pane: expand the Contexts folder, and then expand the Web folder.
See "Web pages" below to learn how to fill a web page template in the Designer.
Although only one web page can be generated per record when generating Web output,
the Web context can contain multiple sections. One section is created at the start, but you
can add more; see "Adding a Web page" on the facing page.
l A style sheet, named context_web_styles.css, is added to the template. If a Template
Wizard was used to create the template, Foundation style sheets are added as well. Style
sheets are located in the folder Stylesheets on the Resources pane. These style sheets
are meant to be used for styles that are only applied to elements in the Web context; see
"Styling and formatting" on page 398.
When the template is ready, you can:
l Output the web page as an as an integral HTML file attached to an Email context in the
same template.
l Output the Web context in an automated Workflow using the Create Web Content task.
See "Generating Web output" on page 323
The Web context outputs an HTML web page that contains the HTML text and all the resources
necessary to display it.
JavaScript files are added to the <head> in the generated HTML file. They are useful to add
special features such as those offered by jQuery and its plugins, or MooTools.
Stylesheets are also added to the <head> and are used just as they would be used in a regular
web page.
Web pages
Web pages (also called Web sections) are part of the Web context (see "Web Context" on the
previous page) in a template.
The Web context outputs an HTML web page that contains the HTML text and all the resources
necessary to display it.
JavaScript files are added to the <head> in the generated HTML file. They are useful to add
special features such as those offered by jQuery and its plugins, or MooTools.
Page 445