Region Templates and Region Definitions Working With Native Documents and Conversion Definitions

Working With Templates 8-13 Source view offers complete control over the site template. This can be especially true if you are implementing several custom assets. In fact, you may find yourself starting off in design view to create the page and then switching to source view to customize the appearance and behavior of the page.

8.11.3 Preview

Preview provides an actual view of a web page with all assets in place, as it appears in a web browser for consumers. This is useful for previewing templates and checking how fragments and placeholders are positioned on the template which may be hard to see in design mode, especially if the page layout is controlled by CSS. Figure 8–12 Preview

8.12 Region Templates and Region Definitions

Region definitions specify what contribution regions on a web page contain, whereas region templates define what contribution regions look like. In other words, region definitions specify the structure and attributes of site content, and region templates define the visual presentation of that content on a web page. There can be multiple region templates for each region definition. This allows site content to be displayed differently depending on the context within the site. If there are multiple region templates for a region definition, then the default region template is used unless a different one was specifically set to be used. Since the creation of a region template requires you associate it with a region definition, it is recommended that you create region definitions first, then create region templates. Note: Site Studio requires Internet Explorer 7 or higher to provide previewing capabilities. 8-14 Oracle Fusion Middleware Users Guide for Site Studio Designer

8.13 Working With Native Documents and Conversion Definitions

Native documents require that a conversion definition is available to define the rules and templates in place to convert the native document on the web page. To use and convert native documents, you must first have Check Out and Open and Dynamic Converter installed on the content server. The dynamic conversion can only be located on a region template. Adding the conversion to the region template is simple, and works the same way that adding any other asset to the template would. To add the dynamic conversion to the region template, follow these steps: 1. Open the region template that you want the converted document to appear on.

2. Right-click and from the menu select Insert Object, and then select Dynamic

Conversion . The Insert Dynamic Conversion dialog see Insert Dynamic Conversion Dialog on page A-111 is displayed. 3. Select the dynamic conversion to use.

4. Click OK.

For more information on native documents and conversion definitions, see Working With Native Documents on page 10-5. 9 Working With Definitions 9-1 9 Working With Definitions The templates page templates, subtemplates, region templates are used to control how data is displayed. The definitions - placeholder definitions, region definitions, and element definitions - control which data is presented, and additionally control how the contributor interacts with the data. This section covers the following topics: ■ About Definitions on page 9-1