Page globalsAdded by IBM on August 8, 2013 | Version 1 (Original)
|Page globals specify settings and characteristics for the page within which they appear. In other words, it sets the defaults for all items on specified page. Page globals appear within a global item at the top of each page definition, and apply to the whole page.
Page globals can be overridden by option settings within items.
Available Options activated, bgcolor, border, enclosuresettings, focused, focuseditem, fontcolor, fontinfo, itemfirst, itemlast, keypress, label, mouseover, next, previous, pagefirst, pageid, pagelast, pagenext, pageprevious, printbgcolor, printfontcolor, printsettings, saveformat, transmitformat
Note: For descriptions, see XFDL options and array elements.
Example The following example shows page globals on two pages within a single form:
"PAGE_1" has a medium-gray background, and directs the focus to the item called "FIELD_date" as soon as it opens. It assumes the rest of its settings from the form global. (If no form global exists, the page will assume the XFDL defaults.)
On "PAGE_2", the focus is directed to the item called "FIELD_adminname" as soon as the page opens. "PAGE_2" assumes the rest of its settings from its page global and XFDL defaults.
<label>Administration Form 1</label>
<label>Administration Form 2</label>
- Page globals are defined in the global item at the top of a page, after the page declaration.
- The global item must have a sid of global.
- Page globals apply only to the page they are on.
- Page globals are optional.
- To specify a title to appear in the page's title bar, use the label option as a page global.
- When referencing page global options within the form, the following syntax applies: