The Area Nav Selector is a px widget that dynamically creates navigation links for a group of Niagara stations. The navigation is broken down by geographic location based on area and district.

align - Alignment property for the group of drop down selectors and hyperlink button.
browser target - String property which is used to formulate the hyperlink and specifies the target used in the browser client.
enabled - Boolean property which controls whether the px widget functions.
hgap - Integer property which configures the number of horizontal pixels between components.
layout - BLayout property which controls the size and location of the px widget in the view.
vgap - Integer property which configures the number of vertical pixels between components.
visible - Boolean property which controls the visiblity of the px widget in the view.
wb target - Enumerated selector for the BHyperlinkMode.
Note that the individual widgets such as the link button have their own px properties as well. Viewing the px properties allows customizing the items such as the font, text or icon of the link button.
The Area Nav Selector builds an array of all stations defined in the Niagara network and then attempts to sort the list based on area and district properties. In order for the widget to be able to sort by area and district, properties must be added to the Niagara station components.

Area - BString property used to configure the area in which the site is located such as Region 1 or Western.
District - BString property used to configure the district in which the site is loated such as District 1.
Link Ord - BOrd property used to configure the hyperlink ord that will be followed when heyperlinking to this site. If the slot is not present or the ord is not configured then a default ord of the station is used.
For any stations without an "Area" property or a null value, the station will be classified in the "Area" drop down selector as "undefined". For any stations without a "District" property or a null value, the station will be classified in the "District" drop down selector as "undefined".
The Area Nav Selector view is made up of three drop down selectors and a button. Initially the only drop down selector which is enabled is the area selector. After selecting either "undefined" if available or one of the area items, the district drop down selector is enabled. After selecting either "undefined" if available or one of the district items, the site drop down selector is enabled.

The district drop down selector will only be populated with districts associated with the selected area item. After selecting either "undefined" if available or one of the district items, the site drop down selector is enabled.

The site drop down selector will only be populated with sites associated with the selected area and district. The display names of the Niagara stations are used to populate the site selector. After selecting a site, the hyperlink button is enabled.

Clicking the hyperlink button will direct the user to the configured hyperlink for the selected site.
Copyright © 2000-2012 Tridium Inc. All rights reserved.