toolbar Element

 

Content

toolbar Element

Description

Properties

Description

The toolbar Element renders a standardized toolbar for use in any Page Type or custom JSP.

toolbar Element Properties

Property Name Description
Identifier Unique identifier for this item, rendered as an ID attribute in the HTML tag.
Type Determines the item on the toolbar. Currently supports only buttons.
Buttons Inserts buttons and specifies their overall functionality.
Property NameDescription
TextText displayed on the button. This is the "text" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.
WidthWidth of the button in pixels. This is the "width" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.
Mode Specifies how the button functionality will be available:
ValueFunctionality Available . . .
ButtonOnly through use of the button.
OperationOnly through use of an Operation hyperlink placed in the Sidebar of the Standard Layout. In this case, you must use the Standard Layout with the page.
BothThrough use of both the button and an Operation hyperlink.
Function JavaScript function to execute in response to an onClick event. If you want to use your own custom functions, they must be in the file specified by the include property in the page. If you want to use one of the functions supplied in the default JavaScript file maintpage.js, specify them as follows:

This is the "action" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.

TipPopup text displayed on mouseover. This is the "tip" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.
ImageImage displayed in the button. This is the "img" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.
Appearance Offers a choice of the button's overall appearance:
FunctionDescription
standard Default button.
standard_highlight Default button with highlighting on mouseover.
blueDefault button with blue background.
blue_highlightDefault button with blue background and highlighting on mouseover.

This is the "appearance" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.

MarginIn the CSS, class name that defines the button borders. This is the "margin" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.
styleAdditional attributes you have defined in the CSS used to render the page. This is the "style" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.
HighlightA value of "true" (default) enables button highlighting (color change in response to mouseover). A value of "false" does not provide highlighting. This is the "highlight" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.
IdIdentifier of the button tag in the JSP. This is the "id" attribute of the button tag <sapphire:button>. For guidelines concerning use, see button tag in the LabVantage Custom Tag Reference.