Dialogs vs. Tabs Views

5-6 Oracle Fusion Middleware Users Guide for Site Studio Designer be performed directly in design view. Examples of this include background color, page margins, and table width. You can use the icons at the top of the properties pane to show all properties in alphabetical order by name or categorized into groups of related properties. The values of some properties may be edited. These are shown in black. If a property cannot be edited, it is grayed out. If you click a different area of a page template, region template, or subtemplate while in design view, or a separate site asset, a different tag with different attributes displays instead. You can view the attributes of a parent tag by selecting it from the drop-down list at the top of the properties pane. You can also use the Manager application to modify properties that relate to the site hierarchy. See Site Studio Manager on page 5-38 for more information.

5.6 Workspace

The workspace is where you generally do the most work. This is where you edit site templates page templates, region templates, and subtemplates and also define and configure other site assets such as region definitions, element definitions, and cascading style sheets. When you open a site asset in the workspace, its associated file on the content server is checked out. After you are done editing and you save the changes by clicking the Save icon on the toolbar or pressing Ctrl+S, the file is checked back into the content server. You cannot open an asset to edit when it is currently opened by another user to edit. In that case, you will be alerted, and the asset will be opened in read-only mode. The workspace in Designer provides the following features: ■ Dialogs vs. Tabs on page 5-6 ■ Views on page 5-8 ■ Source View on page 5-9 ■ Design View on page 5-10 ■ Preview on page 5-11 ■ Form View on page 5-12 ■ Right-Click Menus on page 5-12

5.6.1 Dialogs vs. Tabs

The workspace can display site assets in two ways: as dialogs or as tabs. Asset Dialogs Site assets can display in the workspace as familiar Windows dialogs, with a title bar, minimize and maximize icons, and a close icon Figure 5–5 . Getting Started With Designer 5-7 Figure 5–5 Two Assets Displaying As Dialogs You can freely drag and drop dialog windows to any position within the workspace. This may be especially useful if you have a large screen, with lots of real estate to work with, so you can arrange the open windows to maximize viewing efficiency. You can also use the Window menu in Designer to change how the windows are arranged in the workspace cascading, tiled. If an asset has any unsaved changes, this is indicated by an asterisk next to the asset name in the window title bar. When you close a window that has any unsaved changes, you are first prompted to save or discard these changes. Asset Tabs Site assets may also display in the workspace as tabs covering the entire workspace area Figure 5–6 . Figure 5–6 Two Assets Displaying As Tabs You cannot move the tabs to a different position in the workspace as they already cover the entire workspace. You can use the left and right arrows in the top-right 5-8 Oracle Fusion Middleware Users Guide for Site Studio Designer corner of the workspace to cycle between all open asset tabs, and the X icon to close the current tab. If an asset has any unsaved changes, this is indicated by an asterisk next to the asset name on the tab. When you close a tab that has any unsaved changes, you are first prompted to save or discard these changes. Switching Between Dialog and Tab Views You can switch between dialog view and tab view at any time. If you want to see all open assets in tabs rather than dialogs, click the maximize icon of an asset window Figure 5–7 . Please note that after you maximize one dialog, all assets are displayed in tabs. Figure 5–7 Maximize Icon If you want to see all assets in dialogs rather than tabs, click the Restore Down icon in the top-right corner of the Designer application window Figure 5–8 , just below the application title bar icons. Please note that after you restore one tab, all assets are displayed in dialogs. Figure 5–8 Restore Down Icon

5.6.2 Views

A site asset may be viewed in various ways, depending on the type of asset: ■ Source view displays the code that is in the content file associated with the site asset: HTML, XML, JavaScript, Idoc Script, Site Studio tags, and so on. See Source View on page 5-9 for more information. ■ Design view displays all objects as they are arranged on a site template, both static for example, a fixed banner graphic and dynamic placeholders and fragments. See Design View on page 5-10 for more information. ■ Preview provides an actual view of a site template with all assets in place, as it appears to site consumers in a web browser. See Preview on page 5-11 for more information. ■ Form view provides a dialog in which you can set the properties of a site asset. See Form View on page 5-12 for more information. Figure 5–9 View Tabs in Workspace You can use the arrows in the bottom-left corner of the workspace to move between the views of the current site asset. By default, site templates open in design view, while Getting Started With Designer 5-9 definition assets open in form view. Most other assets for example, contributor data files and CSS files open in source view. Native documents open in their associated third-party application.

5.6.3 Source View