BMLT Root Server
Functions | Variables
bmlt_semantic.js File Reference

Go to the source code of this file.

Functions

function BMLTSemanticResult (inRootServerURI, inOwner)
 
function BMLTSemantic (inSuffix, inAJAXURI, inRootServerURI, inVersion)
 

Variables

BMLTSemanticResult prototype owner = null
 The object that "owns" this. More...
 
BMLTSemanticResult prototype switcher = null
 The main "?switcher=" value. More...
 
BMLTSemanticResult prototype meeting_key = null
 The main "meeting_key=" value. More...
 
BMLTSemanticResult prototype meeting_key_value = null
 The value selected by the field select. More...
 
BMLTSemanticResult prototype root_server_uri = null
 The main Root Server URI. More...
 
BMLTSemanticResult prototype services = null
 The selected Service bodies. This is a CSV string of integer IDs. More...
 
BMLTSemanticResult prototype formats = null
 The selected formats. This is a CSV string of integer IDs. More...
 
BMLTSemanticResult prototype formats_comparison_operator = "AND"
 
BMLTSemanticResult prototype weekdays = null
 The selected weekdays (1-7). This is a CSV string of integer IDs. More...
 
BMLTSemanticResult prototype sb_id = null
 This contains the Service body used for the NAWS dump. More...
 
BMLTSemanticResult prototype change_start = null
 This will be the start date for getting changes. More...
 
BMLTSemanticResult prototype change_end = null
 This will be the end date for getting changes. More...
 
BMLTSemanticResult prototype change_id = null
 This will be the meeting ID for changes. More...
 
BMLTSemanticResult prototype change_sb_id = null
 This will be the Service body ID for changes. More...
 
BMLTSemanticResult prototype searchText = null
 The text to search for in meetings. More...
 
BMLTSemanticResult prototype searchTextModifier = null
 Any modifier for the text search. More...
 
BMLTSemanticResult prototype searchTextRadius = null
 A possible radius for the text (if location). More...
 
BMLTSemanticResult prototype searchMapRadius = -10
 A radius for the map. Default is auto-search 10 meetings. More...
 
BMLTSemanticResult prototype searchLongitude = null
 If using the map, the longitude. More...
 
BMLTSemanticResult prototype searchLatitude = null
 If using the map, the latitude. More...
 
BMLTSemanticResult prototype compiled_params = null
 This will contain the temporary compiled parameters. More...
 
BMLTSemanticResult prototype fields = Array()
 This will hold any specific fields to be returned. More...
 
BMLTSemanticResult prototype sorts = null
 This holds an array of objects that will indicate a chosen sort. The object schema will be: {"key":STRING,"order",INTEGER}. More...
 
BMLTSemanticResult prototype weekdayHeader = null
 This will be set to nonzero if the BMLT_SIMPLE result will be separated by weekday. More...
 
BMLTSemanticResult prototype startTimeMin = null
 This will have an array, with the minimum start time. Hours will be element 0, minutes, element 1. More...
 
BMLTSemanticResult prototype startTimeMax = null
 This will have an array, with the maximum start time. Hours will be element 0, minutes, element 1. More...
 
BMLTSemanticResult prototype durationMin = null
 This will have an array, with the minimum duration. Hours will be element 0, minutes, element 1. More...
 
BMLTSemanticResult prototype durationMax = null
 This will have an array, with the minimum duration. Hours will be element 0, minutes, element 1. More...
 
BMLTSemanticResult prototype valid = null
 This will be non-null if the compiled result is valid (only after compile()). More...
 
BMLTSemanticResult prototype compile
 
BMLTSemanticResult prototype compileFormats
 
BMLTSemanticResult prototype compileSearchResults
 
BMLTSemanticResult prototype compileChanges
 
BMLTSemanticResult prototype compileFieldValues
 
BMLTSemanticResult prototype compileNAWSDump
 
BMLTSemantic prototype version = null
 
BMLTSemantic prototype id_suffix = null
 
BMLTSemantic prototype ajax_base_uri = null
 
BMLTSemantic prototype format_objects = null
 
BMLTSemantic prototype languages = null
 
BMLTSemantic prototype field_keys = null
 
BMLTSemantic prototype field_values = null
 
BMLTSemantic prototype service_body_objects = null
 
BMLTSemantic prototype temp_service_body_objects = null
 
BMLTSemantic prototype state = null
 
BMLTSemantic prototype mapObject = null
 
BMLTSemantic prototype current_lat = 34.23592
 
BMLTSemantic prototype current_lng = -118.563659
 
BMLTSemantic prototype current_zoom = 11
 
BMLTSemantic prototype serverInfo = null
 
BMLTSemantic prototype coverageArea = null
 
BMLTSemantic prototype coverageMapObject = null
 
BMLTSemantic prototype ajaxRequest
 A simple, generic AJAX request function. More...
 
BMLTSemantic prototype reloadFromServer
 Sets up and performs an AJAX call to fetch the available formats. More...
 
BMLTSemantic prototype fetchVersion
 Sets up and performs an AJAX call to fetch the available formats. More...
 
BMLTSemantic prototype fetchServerInfo
 Sets up and performs an AJAX call to fetch the server information. More...
 
BMLTSemantic prototype fetchCoverageArea
 Sets up and performs an AJAX call to fetch the server information. More...
 
BMLTSemantic prototype fetchFormats
 Sets up and performs an AJAX call to fetch the available formats. More...
 
BMLTSemantic prototype fetchLangs
 Sets up and performs an AJAX call to fetch the available languages. More...
 
BMLTSemantic prototype fetchServiceBodies
 Sets up and performs an AJAX call to fetch the available Service bodies. More...
 
BMLTSemantic prototype fetchFieldKeys
 Sets up and performs an AJAX call to fetch the available field keys. More...
 
BMLTSemantic prototype fetchFieldValues
 Sets up and performs an AJAX call to fetch the available field keys. More...
 
BMLTSemantic prototype fetchVersionCallback
 The response. More...
 
BMLTSemantic prototype fetchServerInfoCallback
 The response. More...
 
BMLTSemantic prototype fetchCoverageAreaCallback
 The response. More...
 
BMLTSemantic prototype fetchFormatsCallback
 The response. More...
 
BMLTSemantic prototype fetchLangsCallback
 The response. More...
 
BMLTSemantic prototype populateFormatsSection
 
BMLTSemantic prototype fetchServiceBodiesCallback
 The response. More...
 
BMLTSemantic prototype populateServiceBodiesSection
 
BMLTSemantic prototype createServiceBodyList
 
BMLTSemantic prototype sortByKey
 Sort By Key. More...
 
BMLTSemantic prototype createServiceBodyCheckbox
 
BMLTSemantic prototype organizeServiceBodies
 
BMLTSemantic prototype getChildServiceBodies
 
BMLTSemantic prototype fetchFieldKeysCallback
 The response. More...
 
BMLTSemantic prototype populateFieldSelect
 The response. More...
 
BMLTSemantic prototype fetchFieldValuesCallback
 The response. More...
 
BMLTSemantic prototype updateFieldValuesPopup
 
BMLTSemantic prototype fieldValueChosen
 
BMLTSemantic prototype getScopedID
 Returns an ID that has been "scoped" for this instance. More...
 
BMLTSemantic prototype getScopedElement
 Returns an element that has been "scoped" for this instance. More...
 
BMLTSemantic prototype handleTextInput
 Called when a text item in the form changes. More...
 
BMLTSemantic prototype handleMainSelectChange
 
BMLTSemantic prototype handleResponseSelectChange
 
BMLTSemantic prototype handleSwitcherSelectChange
 
BMLTSemantic prototype handleFieldKeySelectChange
 
BMLTSemantic prototype handleFieldKeyValueSelectChange
 
BMLTSemantic prototype handleWeekdayHeaderChange
 
BMLTSemantic prototype handleServiceBodyCheck
 
BMLTSemantic prototype updateServiceBodies
 
BMLTSemantic prototype handleSortFieldChange
 
BMLTSemantic prototype handleFormatCheckbox
 
BMLTSemantic prototype handleFormatsComparisonOperatorRadioButton
 
BMLTSemantic prototype handleWeekdayCheckbox
 
BMLTSemantic prototype scanWeekdays
 
BMLTSemantic prototype clearWeekdays
 
BMLTSemantic prototype clearSorts
 
BMLTSemantic prototype handleUsedFormatsChange
 
BMLTSemantic prototype clearFormatsComparisonOperator
 
BMLTSemantic prototype clearTextSearchItems
 
BMLTSemantic prototype handleNAWSDumpSelectChange
 
BMLTSemantic prototype handleChangesSBSelectChange
 
BMLTSemantic prototype handleValueText
 
BMLTSemantic prototype handleChangeText
 
BMLTSemantic prototype handleStartText
 
BMLTSemantic prototype handleEndText
 
BMLTSemantic prototype handleDurationText
 
BMLTSemantic prototype handleMapCheckboxChange
 
BMLTSemantic prototype handleBlockCheckboxChange
 
BMLTSemantic prototype handleFormatsLangSelectChange
 
BMLTSemantic prototype handleSpecificFieldChange
 
BMLTSemantic prototype handleTextSearchText
 
BMLTSemantic prototype validateVersion
 Hides the form if we have a bad root server URI. More...
 
BMLTSemantic prototype setTextHandlers
 Sets the basic text handler for text items (handles switching classes). More...
 
BMLTSemantic prototype setBasicFunctions
 Sets up simple enable/disable/show/hide functions for a given item. More...
 
BMLTSemantic prototype getSortItemID
 
BMLTSemantic prototype setSortFieldFunctions
 
BMLTSemantic prototype setAllSortFieldFunctions
 
BMLTSemantic prototype setSortFieldState
 
BMLTSemantic prototype setAllSortFieldState
 
BMLTSemantic prototype setUpMap
 Sets up the map display for the instance. More...
 
BMLTSemantic prototype setUpCoverageMap
 Sets up the map display for the instance. More...
 
BMLTSemantic prototype handleMapSearchText
 
BMLTSemantic prototype handleMapLongLatChange
 
BMLTSemantic prototype handleMapRadiusUnitsChange
 
BMLTSemantic prototype hideRadiusCircle
 
BMLTSemantic prototype createRadiusCircle
 
BMLTSemantic prototype mapClicked
 Reacts to a click in the map. More...
 
BMLTSemantic prototype mapDragEnd
 Reacts to a drag in the map ending. More...
 
BMLTSemantic prototype mapZoomChanged
 Reacts to the map zoom changing. More...
 
BMLTSemantic prototype setUpForm_MainFieldset
 Initialize the main fieldset. More...
 
BMLTSemantic prototype setUpMainSelectors
 This scans the main selectors, and does what is necessary. More...
 
BMLTSemantic prototype setUpForm
 Called after all the various setup has been done, and "bakes in" the form. More...
 
BMLTSemantic prototype refreshURI
 

Function Documentation

function BMLTSemantic (   inSuffix,
  inAJAXURI,
  inRootServerURI,
  inVersion 
)

Definition at line 470 of file bmlt_semantic.js.

References ajax_base_uri, BMLTSemanticResult(), id_suffix, setUpForm, state, and version.

475  {
476  this.id_suffix = inSuffix;
477  this.ajax_base_uri = inAJAXURI;
478  this.state = new BMLTSemanticResult(inRootServerURI,this);
479  this.version = inVersion;
480 
481  this.setUpForm();
482 };
BMLTSemantic prototype setUpForm
Called after all the various setup has been done, and "bakes in" the form.
BMLTSemantic prototype ajax_base_uri
function BMLTSemanticResult(inRootServerURI, inOwner)
BMLTSemantic prototype version
BMLTSemantic prototype state
BMLTSemantic prototype id_suffix
function BMLTSemanticResult (   inRootServerURI,
  inOwner 
)

Definition at line 26 of file bmlt_semantic.js.

References owner, and root_server_uri.

Referenced by BMLTSemantic().

29  {
30  this.root_server_uri = inRootServerURI;
31  this.owner = inOwner;
32 };
BMLTSemanticResult prototype root_server_uri
The main Root Server URI.
BMLTSemanticResult prototype owner
The object that "owns" this.

Variable Documentation

BMLTSemantic prototype ajax_base_uri = null

Definition at line 486 of file bmlt_semantic.js.

Referenced by BMLTSemantic().

BMLTSemantic prototype ajaxRequest

A simple, generic AJAX request function.

Parameters
urlThe URL to be called
callbackA function/lambda/block to be called upon success The callback specified needs to have a signature of: function myAJAXCallback ( inHTTPRequestObject ); The extraData parameter will be passed as inHTTPRequestObject.extraData.
methodGET or POST (case-indifferent)
extraDataA "RefCon", or data to be passed unchanged to the callback
Returns
a new XMLHTTPRequest object

Definition at line 517 of file bmlt_semantic.js.

BMLTSemanticResult prototype change_end = null

This will be the end date for getting changes.

Definition at line 45 of file bmlt_semantic.js.

BMLTSemanticResult prototype change_id = null

This will be the meeting ID for changes.

Definition at line 46 of file bmlt_semantic.js.

BMLTSemanticResult prototype change_sb_id = null

This will be the Service body ID for changes.

Definition at line 47 of file bmlt_semantic.js.

BMLTSemanticResult prototype change_start = null

This will be the start date for getting changes.

Definition at line 44 of file bmlt_semantic.js.

BMLTSemantic prototype clearFormatsComparisonOperator
Initial value:
= function ( ) {
this.state.formats_comparison_operator = "AND";
var radioButton = document.getElementById("formats_comparison_operator_radio_and");
if (radioButton) {
radioButton.checked = true;
}
radioButton = document.getElementById("formats_comparison_operator_radio_or");
if (radioButton) {
radioButton.checked = false;
}
}
BMLTSemantic prototype state

Definition at line 1721 of file bmlt_semantic.js.

BMLTSemantic prototype clearSorts
Initial value:
= function ( ) {
if ( this.field_keys ) {
for (var i = 0; i < this.field_keys.length; i++) {
var selectObject = this.getScopedElement(this.getSortItemID(this.field_keys[i].key.toString()));
if ( selectObject ) {
selectObject.selectedIndex = 0;
selectObject.className = selectObject.defaultClass;
};
};
};
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype field_keys
var i
BMLTSemantic prototype getSortItemID

Definition at line 1681 of file bmlt_semantic.js.

BMLTSemantic prototype clearTextSearchItems
Initial value:
= function ( ) {
this.state.searchText = null;
this.state.searchTextModifier = null;
this.state.searchTextRadius = null;
var bmlt_semantic_form_text_search_text = this.getScopedElement('bmlt_semantic_form_text_search_text');
var bmlt_semantic_form_text_search_select = this.getScopedElement('bmlt_semantic_form_text_search_select');
var bmlt_semantic_form_text_search_text_radius = this.getScopedElement('bmlt_semantic_form_text_search_text_radius');
bmlt_semantic_form_text_search_text.value = bmlt_semantic_form_text_search_text.defaultValue;
bmlt_semantic_form_text_search_text.className = bmlt_semantic_form_text_search_text.defaultClass.toString() + ' bmlt_semantic_form_disabled_text';
bmlt_semantic_form_text_search_select.selectedIndex = 0;
bmlt_semantic_form_text_search_text_radius.value = '';
}
BMLTSemantic prototype handleTextSearchText
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype state

Definition at line 1741 of file bmlt_semantic.js.

BMLTSemantic prototype clearWeekdays
Initial value:
= function ( ) {
this.state.weekdays = null;
for (var i = 1; i < 8; i++) {
this.getScopedElement('bmlt_semantic_form_weekday_checkbox_' + i).checked = false;
this.getScopedElement('bmlt_semantic_form_not_weekday_checkbox_' + i).checked = false;
};
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype state
var i

Definition at line 1667 of file bmlt_semantic.js.

BMLTSemanticResult prototype compile

Definition at line 69 of file bmlt_semantic.js.

BMLTSemanticResult prototype compileChanges
Initial value:
= function () {
if ( this.change_start ) {
this.compiled_params += '&start_date=' + this.change_start;
};
if ( this.change_end ) {
this.compiled_params += '&end_date=' + this.change_end;
};
if ( this.change_id ) {
this.compiled_params += '&meeting_id=' + this.change_id;
};
if ( this.change_sb_id ) {
this.compiled_params += '&service_body_id=' + this.change_sb_id;
};
this.valid = true;
}
BMLTSemanticResult prototype change_start
This will be the start date for getting changes.
BMLTSemanticResult prototype change_end
This will be the end date for getting changes.
BMLTSemanticResult prototype compiled_params
This will contain the temporary compiled parameters.
BMLTSemanticResult prototype change_id
This will be the meeting ID for changes.
BMLTSemanticResult prototype valid
This will be non-null if the compiled result is valid (only after compile()).
BMLTSemanticResult prototype change_sb_id
This will be the Service body ID for changes.

Definition at line 409 of file bmlt_semantic.js.

BMLTSemanticResult prototype compiled_params = null

This will contain the temporary compiled parameters.

Definition at line 54 of file bmlt_semantic.js.

BMLTSemanticResult prototype compileFieldValues
Initial value:
= function () {
if ( this.meeting_key ) {
this.compiled_params += '&meeting_key=' + encodeURIComponent(this.meeting_key);
if ( (this.meeting_key == 'formats') && this.formats ) {
this.compiled_params += '&specific_formats=' + this.formats;
};
this.valid = true;
};
}
BMLTSemanticResult prototype formats
The selected formats. This is a CSV string of integer IDs.
BMLTSemanticResult prototype meeting_key
The main "meeting_key=" value.
BMLTSemanticResult prototype compiled_params
This will contain the temporary compiled parameters.
BMLTSemanticResult prototype valid
This will be non-null if the compiled result is valid (only after compile()).

Definition at line 434 of file bmlt_semantic.js.

BMLTSemanticResult prototype compileFormats
Initial value:
= function () {
var formatLangSelect = this.owner.getScopedElement('bmlt_semantic_formats_lang_select');
if ( formatLangSelect && formatLangSelect.value ) {
this.compiled_params += '&lang_enum=' + formatLangSelect.value;
};
this.valid = true;
}
BMLTSemanticResult prototype owner
The object that "owns" this.
BMLTSemanticResult prototype compiled_params
This will contain the temporary compiled parameters.
BMLTSemanticResult prototype valid
This will be non-null if the compiled result is valid (only after compile()).

Definition at line 112 of file bmlt_semantic.js.

BMLTSemanticResult prototype compileNAWSDump
Initial value:
= function () {
if ( this.sb_id ) {
this.compiled_params += '&sb_id=' + parseInt(this.sb_id);
this.valid = true;
};
}
BMLTSemanticResult prototype compiled_params
This will contain the temporary compiled parameters.
BMLTSemanticResult prototype sb_id
This contains the Service body used for the NAWS dump.
BMLTSemanticResult prototype valid
This will be non-null if the compiled result is valid (only after compile()).

Definition at line 451 of file bmlt_semantic.js.

BMLTSemanticResult prototype compileSearchResults

Definition at line 127 of file bmlt_semantic.js.

BMLTSemantic prototype coverageArea = null

Definition at line 499 of file bmlt_semantic.js.

BMLTSemantic prototype coverageMapObject = null

Definition at line 500 of file bmlt_semantic.js.

BMLTSemantic prototype createRadiusCircle
Initial value:
= function () {
var radius = this.getScopedElement('bmlt_semantic_form_map_search_text_radius').value;
if ( radius > 0 ) {
radius *= ((this.getScopedElement('bmlt_semantic_form_map_search_text_radius_units').value == 'geo_width') ? 1.60934 : 1.0) * 1000;
var circleOptions = {
strokeOpacity: 0,
fillColor: '#000000',
fillOpacity: 0.25,
map: this.mapObject,
clickable: false,
center: new google.maps.LatLng(parseFloat(this.current_lat), parseFloat(this.current_lng)),
radius: radius
};
this.mapObject.radiusCircle = new google.maps.Circle(circleOptions);
};
}
BMLTSemantic prototype current_lat
BMLTSemantic prototype hideRadiusCircle
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype mapObject
BMLTSemantic prototype current_lng

Definition at line 2310 of file bmlt_semantic.js.

BMLTSemantic prototype createServiceBodyCheckbox
Initial value:
= function (
inServiceBodyObject,
inContainerObject,
inMinus
) {
var not_extra = inMinus ? 'not_' : '';
var newCheckbox = document.createElement('input');
newCheckbox.type = 'checkbox';
newCheckbox.id = this.getScopedID('bmlt_semantic_form_sb_checkbox_' + not_extra + inServiceBodyObject.id);
newCheckbox.value = (inMinus ? -1 : 1) * parseInt(inServiceBodyObject.id);
newCheckbox.title = inServiceBodyObject.description;
newCheckbox.className ='bmlt_checkbox_input';
newCheckbox.formHandler = this;
newCheckbox.serviceBody = inServiceBodyObject;
newCheckbox.onchange = function () {
this.formHandler.handleServiceBodyCheck(this) };
inContainerObject.appendChild(newCheckbox);
var newCheckboxLabel = document.createElement('label');
newCheckboxLabel.htmlFor = newCheckbox.id;
newCheckboxLabel.id = this.getScopedID('bmlt_semantic_form_sb_checkbox_label_' + not_extra + inServiceBodyObject.id);
newCheckboxLabel.className = 'bmlt_checkbox_label';
newCheckboxLabel.title = inServiceBodyObject.description;
newCheckboxLabel.appendChild(document.createTextNode(inServiceBodyObject.name));
inContainerObject.appendChild(newCheckboxLabel);
}
BMLTSemantic prototype getScopedID
Returns an ID that has been "scoped" for this instance.

Definition at line 1017 of file bmlt_semantic.js.

BMLTSemantic prototype createServiceBodyList

Definition at line 951 of file bmlt_semantic.js.

BMLTSemantic prototype current_lat = 34.23592

Definition at line 495 of file bmlt_semantic.js.

BMLTSemantic prototype current_lng = -118.563659

Definition at line 496 of file bmlt_semantic.js.

BMLTSemantic prototype current_zoom = 11

Definition at line 497 of file bmlt_semantic.js.

BMLTSemanticResult prototype durationMax = null

This will have an array, with the minimum duration. Hours will be element 0, minutes, element 1.

Definition at line 61 of file bmlt_semantic.js.

BMLTSemanticResult prototype durationMin = null

This will have an array, with the minimum duration. Hours will be element 0, minutes, element 1.

Definition at line 60 of file bmlt_semantic.js.

BMLTSemantic prototype fetchCoverageArea
Initial value:
= function () {
this.serverInfo = null;
if ( this.version >= 2008016 ) {
this.ajaxRequest(this.ajax_base_uri + '&GetCoverageArea', this.fetchCoverageAreaCallback, 'get', this);
};
}
BMLTSemantic prototype serverInfo
BMLTSemantic prototype ajax_base_uri
BMLTSemantic prototype version
BMLTSemantic prototype fetchCoverageAreaCallback
The response.
BMLTSemantic prototype ajaxRequest
A simple, generic AJAX request function.

Sets up and performs an AJAX call to fetch the server information.

Definition at line 677 of file bmlt_semantic.js.

BMLTSemantic prototype fetchCoverageAreaCallback
Initial value:
= function (inHTTPReqObject
) {
if ( inHTTPReqObject.responseText ) {
var context = inHTTPReqObject.extraData;
eval('var coverageAreaRaw = ' + inHTTPReqObject.responseText + '[0];');
context.coverageArea = new Object();
context.coverageArea.ne_corner = new google.maps.LatLng(parseFloat(coverageAreaRaw.nw_corner_latitude), parseFloat(coverageAreaRaw.se_corner_longitude));
context.coverageArea.sw_corner = new google.maps.LatLng(parseFloat(coverageAreaRaw.se_corner_latitude), parseFloat(coverageAreaRaw.nw_corner_longitude));
};
}

The response.

Definition at line 781 of file bmlt_semantic.js.

BMLTSemantic prototype fetchFieldKeys
Initial value:
= function () {
this.getScopedElement('bmlt_switcher_field_value_div_formats').innerHTML = '';
this.getScopedElement('bmlt_switcher_field_value_div_no_selected_formats_blurb').hide();
this.getScopedElement('bmlt_semantic_form_meeting_fields_fieldset_contents_div').hide();
this.ajaxRequest(this.ajax_base_uri + '&GetFieldKeys', this.fetchFieldKeysCallback, 'get', this);
}
BMLTSemantic prototype ajax_base_uri
BMLTSemantic prototype fetchFieldKeysCallback
The response.
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype ajaxRequest
A simple, generic AJAX request function.

Sets up and performs an AJAX call to fetch the available field keys.

Definition at line 725 of file bmlt_semantic.js.

BMLTSemantic prototype fetchFieldKeysCallback
Initial value:
= function (inHTTPReqObject
) {
if ( inHTTPReqObject.responseText ) {
var context = inHTTPReqObject.extraData;
eval('context.field_keys = ' + inHTTPReqObject.responseText + ';');
context.setAllSortFieldFunctions();
context.setAllSortFieldState();
context.clearSorts();
context.populateFieldSelect();
};
}

The response.

Definition at line 1096 of file bmlt_semantic.js.

BMLTSemantic prototype fetchFieldValues
Initial value:
= function () {
this.getScopedElement('bmlt_semantic_form_meeting_fields_fieldset_contents_div').hide();
var key = this.state.meeting_key.toString();
var url = this.ajax_base_uri + '&GetFieldValues&meeting_key=' + key;
this.ajaxRequest(url, this.fetchFieldValuesCallback, 'get', this);
}
BMLTSemantic prototype ajax_base_uri
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype fetchFieldValuesCallback
The response.
BMLTSemantic prototype state
BMLTSemantic prototype ajaxRequest
A simple, generic AJAX request function.

Sets up and performs an AJAX call to fetch the available field keys.

Definition at line 737 of file bmlt_semantic.js.

BMLTSemantic prototype fetchFieldValuesCallback

The response.

Definition at line 1155 of file bmlt_semantic.js.

BMLTSemantic prototype fetchFormats
Initial value:
= function () {
this.state.formats = null;
this.state.unformats = null;
this.ajaxRequest(this.ajax_base_uri + '&GetInitialFormats', this.fetchFormatsCallback, 'get', this);
}
BMLTSemantic prototype fetchFormatsCallback
The response.
BMLTSemantic prototype ajax_base_uri
BMLTSemantic prototype state
BMLTSemantic prototype ajaxRequest
A simple, generic AJAX request function.

Sets up and performs an AJAX call to fetch the available formats.

Definition at line 689 of file bmlt_semantic.js.

BMLTSemantic prototype fetchFormatsCallback
Initial value:
= function (inHTTPReqObject
) {
if ( inHTTPReqObject.responseText ) {
var context = inHTTPReqObject.extraData;
eval('context.format_objects = ' + inHTTPReqObject.responseText + ';');
if ( context.getScopedElement('bmlt_semantic_form_switcher_type_select').value == 'GetFieldValues' ) {
context.populateFormatsSection(context.getScopedElement('bmlt_switcher_field_value_div_formats'), false);
} else {
context.populateFormatsSection(context.getScopedElement('bmlt_semantic_form_formats_fieldset_div'), false);
context.populateFormatsSection(context.getScopedElement('bmlt_semantic_form_not_formats_fieldset_div'), true);
};
};
}

The response.

Definition at line 799 of file bmlt_semantic.js.

BMLTSemantic prototype fetchLangs
Initial value:
= function () {
this.languages = null;
if ( this.version >= 2006020 ) {
this.ajaxRequest(this.ajax_base_uri + '&GetLangs', this.fetchLangsCallback, 'get', this);
};
}
BMLTSemantic prototype languages
BMLTSemantic prototype ajax_base_uri
BMLTSemantic prototype fetchLangsCallback
The response.
BMLTSemantic prototype version
BMLTSemantic prototype ajaxRequest
A simple, generic AJAX request function.

Sets up and performs an AJAX call to fetch the available languages.

Definition at line 701 of file bmlt_semantic.js.

BMLTSemantic prototype fetchLangsCallback
Initial value:
= function ( inHTTPReqObject
) {
if ( inHTTPReqObject.responseText ) {
var context = inHTTPReqObject.extraData;
eval('var serverInfo = ' + inHTTPReqObject.responseText + ';');
context.languages = serverInfo[0].langs.toString().split(',');
};
}
BMLTSemantic prototype serverInfo

The response.

Definition at line 819 of file bmlt_semantic.js.

BMLTSemantic prototype fetchServerInfo
Initial value:
= function () {
this.serverInfo = null;
if ( this.version >= 2006020 ) {
this.ajaxRequest(this.ajax_base_uri + '&GetServerInfo', this.fetchServerInfoCallback, 'get', this);
};
}
BMLTSemantic prototype serverInfo
BMLTSemantic prototype ajax_base_uri
BMLTSemantic prototype version
BMLTSemantic prototype fetchServerInfoCallback
The response.
BMLTSemantic prototype ajaxRequest
A simple, generic AJAX request function.

Sets up and performs an AJAX call to fetch the server information.

Definition at line 665 of file bmlt_semantic.js.

BMLTSemantic prototype fetchServerInfoCallback
Initial value:
= function (inHTTPReqObject
) {
if ( inHTTPReqObject.responseText ) {
var context = inHTTPReqObject.extraData;
eval('context.serverInfo = ' + inHTTPReqObject.responseText + '[0];');
context.current_lat = parseFloat(context.serverInfo.centerLatitude);
context.current_lng = parseFloat(context.serverInfo.centerLongitude);
context.current_zoom = parseInt(context.serverInfo.centerZoom, 10);
context.fetchCoverageArea();
};
}

The response.

Definition at line 764 of file bmlt_semantic.js.

BMLTSemantic prototype fetchServiceBodies
Initial value:
= function () {
this.state.services = null;
this.state.sb_id = null;
this.ajaxRequest(this.ajax_base_uri + '&GetInitialServiceBodies', this.fetchServiceBodiesCallback, 'get', this);
}
BMLTSemantic prototype ajax_base_uri
BMLTSemantic prototype state
BMLTSemantic prototype fetchServiceBodiesCallback
The response.
BMLTSemantic prototype ajaxRequest
A simple, generic AJAX request function.

Sets up and performs an AJAX call to fetch the available Service bodies.

Definition at line 713 of file bmlt_semantic.js.

BMLTSemantic prototype fetchServiceBodiesCallback
Initial value:
= function (inHTTPReqObject
) {
if ( inHTTPReqObject.responseText ) {
var context = inHTTPReqObject.extraData;
eval('context.temp_service_body_objects = ' + inHTTPReqObject.responseText + ';');
context.populateServiceBodiesSection();
};
}

The response.

Definition at line 883 of file bmlt_semantic.js.

BMLTSemantic prototype fetchVersion
Initial value:
= function () {
this.ajaxRequest(this.ajax_base_uri + '&GetVersion', this.fetchVersionCallback, 'get', this);
}
BMLTSemantic prototype ajax_base_uri
BMLTSemantic prototype fetchVersionCallback
The response.
BMLTSemantic prototype ajaxRequest
A simple, generic AJAX request function.

Sets up and performs an AJAX call to fetch the available formats.

Definition at line 656 of file bmlt_semantic.js.

BMLTSemantic prototype fetchVersionCallback
Initial value:
= function (inHTTPReqObject
) {
if ( inHTTPReqObject.responseText ) {
var context = inHTTPReqObject.extraData;
eval('context.version = parseInt ( ' + inHTTPReqObject.responseText + ' );');
context.validateVersion();
context.refreshURI();
};
}

The response.

Definition at line 749 of file bmlt_semantic.js.

BMLTSemantic prototype field_keys = null

Definition at line 489 of file bmlt_semantic.js.

BMLTSemantic prototype field_values = null

Definition at line 490 of file bmlt_semantic.js.

BMLTSemanticResult prototype fields = Array()

This will hold any specific fields to be returned.

Definition at line 55 of file bmlt_semantic.js.

BMLTSemantic prototype fieldValueChosen
Initial value:
= function ( inSelect
) {
this.getScopedElement('bmlt_semantic_form_value_text').value = inSelect.value;
this.getScopedElement('bmlt_semantic_form_value_text').onchange(this.getScopedElement('bmlt_semantic_form_value_text'));
this.getScopedElement('bmlt_semantic_form_value_text').focus();
this.refreshURI();
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype refreshURI

Definition at line 1239 of file bmlt_semantic.js.

BMLTSemantic prototype format_objects = null

Definition at line 487 of file bmlt_semantic.js.

BMLTSemanticResult prototype formats = null

The selected formats. This is a CSV string of integer IDs.

Definition at line 40 of file bmlt_semantic.js.

BMLTSemanticResult prototype formats_comparison_operator = "AND"

Definition at line 41 of file bmlt_semantic.js.

BMLTSemantic prototype getChildServiceBodies
Initial value:
= function (inParentObject
) {
for (var i = 0; i < this.temp_service_body_objects.length; i++) {
var service_body = this.temp_service_body_objects[i];
if ( parseInt(service_body.parent_id) == parseInt(inParentObject.id) ) {
if ( !inParentObject.childServiceBodies ) {
inParentObject.childServiceBodies = Array();
};
service_body.parentServiceBody = inParentObject;
inParentObject.childServiceBodies.push(service_body);
this.getChildServiceBodies(service_body);
};
};
};
}
BMLTSemantic prototype getChildServiceBodies
BMLTSemantic prototype temp_service_body_objects
var i

Definition at line 1073 of file bmlt_semantic.js.

BMLTSemantic prototype getScopedElement
Initial value:
= function ( inID
) {
return document.getElementById(this.getScopedID(inID));
}
BMLTSemantic prototype getScopedID
Returns an ID that has been "scoped" for this instance.

Returns an element that has been "scoped" for this instance.

Parameters
inIDThe ID that needs to be "scoped."
Returns
the element requested.

Definition at line 1274 of file bmlt_semantic.js.

BMLTSemantic prototype getScopedID
Initial value:
= function ( inID
) {
if ( this.id_suffix ) {
inID += this.id_suffix.toString();
};
return inID;
}
BMLTSemantic prototype id_suffix

Returns an ID that has been "scoped" for this instance.

Parameters
inIDThe ID that needs to be "scoped."
Returns
the ID with any necessary scope attached.

Definition at line 1256 of file bmlt_semantic.js.

BMLTSemantic prototype getSortItemID
Initial value:
= function ( inKey, inIndex ) {
var baseID = 'bmlt_semantic_form_field_sort_select_' + inKey.toString();
if ( null != inIndex ) {
baseID += '_' + parseInt(inIndex).toString();
};
return baseID;
}

Definition at line 2026 of file bmlt_semantic.js.

BMLTSemantic prototype handleBlockCheckboxChange
Initial value:
= function ( inCheckbox
) {
this.refreshURI();
}
BMLTSemantic prototype refreshURI

Definition at line 1859 of file bmlt_semantic.js.

BMLTSemantic prototype handleChangesSBSelectChange
Initial value:
= function ( inSelect ) {
this.state.change_sb_id = parseInt(inSelect.value);
this.refreshURI();
}
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state

Definition at line 1773 of file bmlt_semantic.js.

BMLTSemantic prototype handleChangeText
Initial value:
= function () {
var start_date = this.getScopedElement('bmlt_semantic_form_changes_from_text');
var end_date = this.getScopedElement('bmlt_semantic_form_changes_to_text');
var meeting_id = this.getScopedElement('bmlt_semantic_form_changes_id_text');
this.state.change_start = (start_date.value && (start_date.value != start_date.defaultValue)) ? start_date.value : null;
this.state.change_end = (end_date.value && (end_date.value != end_date.defaultValue)) ? end_date.value : null;
this.state.change_id = (meeting_id.value && (meeting_id.value != meeting_id.defaultValue)) ? meeting_id.value : null;
this.refreshURI();
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state

Definition at line 1794 of file bmlt_semantic.js.

BMLTSemantic prototype handleDurationText
Initial value:
= function ( inTextItem
) {
this.refreshURI();
}
BMLTSemantic prototype refreshURI

Definition at line 1831 of file bmlt_semantic.js.

BMLTSemantic prototype handleEndText
Initial value:
= function ( inTextItem
) {
this.refreshURI();
}
BMLTSemantic prototype refreshURI

Definition at line 1821 of file bmlt_semantic.js.

BMLTSemantic prototype handleFieldKeySelectChange
Initial value:
= function ( inSelect ) {
var key = inSelect.value;
this.state.meeting_key = key;
if ( inSelect.id == this.getScopedID('bmlt_semantic_form_field_select') ) {
this.getScopedElement('bmlt_semantic_form_value_text').value = this.getScopedElement('bmlt_semantic_form_value_text').defaultValue;
this.getScopedElement('bmlt_semantic_form_value_text').focus();
};
this.refreshURI();
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state
BMLTSemantic prototype fetchFieldValues
Sets up and performs an AJAX call to fetch the available field keys.
Parameters
inSelectThe object that experienced change.

Definition at line 1376 of file bmlt_semantic.js.

BMLTSemantic prototype handleFieldKeyValueSelectChange
Initial value:
= function ( inSelect ) {
this.state.meeting_key_value = inSelect.value;
this.refreshURI();
}
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state
Parameters
inSelectThe object that experienced change.

Definition at line 1396 of file bmlt_semantic.js.

BMLTSemantic prototype handleFormatCheckbox

Definition at line 1560 of file bmlt_semantic.js.

BMLTSemantic prototype handleFormatsComparisonOperatorRadioButton
Initial value:
= function ( inRadioButtonObject ) {
if (inRadioButtonObject) {
this.state.formats_comparison_operator = inRadioButtonObject.value;
}
this.refreshURI();
}
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state

Definition at line 1609 of file bmlt_semantic.js.

BMLTSemantic prototype handleFormatsLangSelectChange
Initial value:
= function ( inSelect ) {
this.refreshURI();
}
BMLTSemantic prototype refreshURI

Definition at line 1869 of file bmlt_semantic.js.

BMLTSemantic prototype handleMainSelectChange
Initial value:
= function ( inSelect ) {
this.setUpMainSelectors(inSelect);
}
BMLTSemantic prototype setUpMainSelectors
This scans the main selectors, and does what is necessary.
BMLTSemantic prototype reloadFromServer
Sets up and performs an AJAX call to fetch the available formats.
Parameters
inSelectThe object that experienced change.

Definition at line 1340 of file bmlt_semantic.js.

BMLTSemantic prototype handleMapCheckboxChange
Initial value:
= function ( inCheckbox
) {
var mapSection = this.getScopedElement('bmlt_semantic_form_map_wrapper_div');
if ( inCheckbox.checked ) {
mapSection.show();
} else {
mapSection.hide();
};
this.refreshURI();
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype refreshURI

Definition at line 1841 of file bmlt_semantic.js.

BMLTSemantic prototype handleMapLongLatChange
Initial value:
= function ( inTextItem
) {
var longText = this.getScopedElement('bmlt_semantic_form_map_search_longitude_text');
var latText = this.getScopedElement('bmlt_semantic_form_map_search_latitude_text');
var position = new google.maps.LatLng(parseFloat(latText.value), parseFloat(longText.value));
this.mapObject.panTo(position);
this.mapObject.map_marker.setPosition(position);
this.current_lng = parseFloat(parseFloat(longText.value));
this.current_lat = parseFloat(parseFloat(latText.value));
this.refreshURI();
}
BMLTSemantic prototype current_lat
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype refreshURI
BMLTSemantic prototype mapObject
BMLTSemantic prototype current_lng

Definition at line 2269 of file bmlt_semantic.js.

BMLTSemantic prototype handleMapRadiusUnitsChange
Initial value:
= function ( inSelect
) {
this.refreshURI();
}
BMLTSemantic prototype refreshURI

Definition at line 2288 of file bmlt_semantic.js.

BMLTSemantic prototype handleMapSearchText
Initial value:
= function () {
var bmlt_semantic_form_map_search_text_radius = this.getScopedElement('bmlt_semantic_form_map_search_text_radius');
this.state.searchMapRadius = null;
if ( bmlt_semantic_form_map_search_text_radius.value && (bmlt_semantic_form_map_search_text_radius.value != bmlt_semantic_form_map_search_text_radius.defaultValue) ) {
bmlt_semantic_form_map_search_text_radius.enable();
var radius = parseFloat(bmlt_semantic_form_map_search_text_radius.value);
if ( radius < 0 ) {
radius = parseInt(radius);
if ( parseFloat(radius) != parseFloat(bmlt_semantic_form_map_search_text_radius.value) ) {
bmlt_semantic_form_map_search_text_radius.value = radius;
};
};
this.state.searchMapRadius = radius;
} else {
bmlt_semantic_form_map_search_text_radius.value = '';
};
this.refreshURI();
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state

Definition at line 2240 of file bmlt_semantic.js.

BMLTSemantic prototype handleNAWSDumpSelectChange
Initial value:
= function ( inSelect ) {
this.state.sb_id = parseInt(inSelect.value);
this.refreshURI();
}
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state

Definition at line 1763 of file bmlt_semantic.js.

BMLTSemantic prototype handleResponseSelectChange
Initial value:
= function ( inSelect ) {
this.setUpMainSelectors(inSelect);
}
BMLTSemantic prototype setUpMainSelectors
This scans the main selectors, and does what is necessary.
BMLTSemantic prototype reloadFromServer
Sets up and performs an AJAX call to fetch the available formats.
Parameters
inSelectThe object that experienced change.

Definition at line 1352 of file bmlt_semantic.js.

BMLTSemantic prototype handleServiceBodyCheck
Initial value:
= function ( inCheckbox ) {
this.updateServiceBodies(inCheckbox);
this.refreshURI();
}
BMLTSemantic prototype updateServiceBodies
BMLTSemantic prototype refreshURI
Parameters
inSelectThe object that experienced change.

Definition at line 1420 of file bmlt_semantic.js.

BMLTSemantic prototype handleSortFieldChange

Definition at line 1487 of file bmlt_semantic.js.

BMLTSemantic prototype handleSpecificFieldChange
Initial value:
= function ( inCheckbox ) {
var key = inCheckbox.value;
var oldFields = Array();
for (var i = 0; i < this.state.fields.length; i++) {
var oldKey = this.state.fields[i];
if ( oldKey != key ) {
oldFields.push(oldKey);
};
};
if ( inCheckbox.checked ) {
oldFields.push(key);
};
this.state.fields = oldFields;
this.refreshURI();
}
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state
var i

Definition at line 1878 of file bmlt_semantic.js.

BMLTSemantic prototype handleStartText
Initial value:
= function ( inTextItem
) {
this.refreshURI();
}
BMLTSemantic prototype refreshURI

Definition at line 1811 of file bmlt_semantic.js.

BMLTSemantic prototype handleSwitcherSelectChange
Initial value:
= function ( inSelect ) {
this.setUpMainSelectors(inSelect);
}
BMLTSemantic prototype setUpMainSelectors
This scans the main selectors, and does what is necessary.
BMLTSemantic prototype reloadFromServer
Sets up and performs an AJAX call to fetch the available formats.
Parameters
inSelectThe object that experienced change.

Definition at line 1364 of file bmlt_semantic.js.

BMLTSemantic prototype handleTextInput

Called when a text item in the form changes.

Parameters
inTextItemThe object that experienced change.
inFocusStateIf true, then the item is now in focus. If false, it is not in focus.

Definition at line 1287 of file bmlt_semantic.js.

BMLTSemantic prototype handleTextSearchText

Definition at line 1903 of file bmlt_semantic.js.

BMLTSemantic prototype handleUsedFormatsChange
Initial value:
= function ( inElement
) {
var getUsedCheckbox = inElement.formHandler.getScopedElement('bmlt_semantic_form_used_formats_checkbox');
var getOnlyUsedCheckbox = inElement.formHandler.getScopedElement('bmlt_semantic_form_just_used_formats_checkbox');
if ( getUsedCheckbox && getOnlyUsedCheckbox ) {
if ( !getUsedCheckbox.checked ) {
getOnlyUsedCheckbox.checked = false;
getOnlyUsedCheckbox.disable();
} else {
getOnlyUsedCheckbox.enable();
};
};
inElement.formHandler.refreshURI();
}

Definition at line 1699 of file bmlt_semantic.js.

BMLTSemantic prototype handleValueText
Initial value:
= function (inTextItem
) {
this.state.meeting_key_value = (inTextItem.value != inTextItem.defaultValue) ? inTextItem.value : null;
this.getScopedElement('bmlt_semantic_form_value_select').selectedIndex = 0;
}
BMLTSemantic prototype state

Definition at line 1783 of file bmlt_semantic.js.

BMLTSemantic prototype handleWeekdayCheckbox
Initial value:
= function ( inCheckboxObject ) {
this.scanWeekdays(inCheckboxObject.checked ? parseInt(inCheckboxObject.value) : 0);
this.refreshURI();
}
BMLTSemantic prototype scanWeekdays
BMLTSemantic prototype refreshURI

Definition at line 1621 of file bmlt_semantic.js.

BMLTSemantic prototype handleWeekdayHeaderChange
Initial value:
= function ( inCheckbox ) {
this.state.weekdayHeader = inCheckbox.checked;
this.refreshURI();
}
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state
Parameters
inCheckboxThe object that experienced change.

Definition at line 1408 of file bmlt_semantic.js.

BMLTSemantic prototype hideRadiusCircle
Initial value:
= function () {
if ( this.mapObject && this.mapObject.radiusCircle ) {
this.mapObject.radiusCircle.setMap(null);
this.mapObject.radiusCircle = null;
};
}
BMLTSemantic prototype mapObject

Definition at line 2298 of file bmlt_semantic.js.

BMLTSemantic prototype id_suffix = null

Definition at line 485 of file bmlt_semantic.js.

Referenced by BMLTSemantic().

BMLTSemantic prototype languages = null

Definition at line 488 of file bmlt_semantic.js.

BMLTSemantic prototype mapClicked
Initial value:
= function (
inEvent,
inContext
) {
inContext.mapObject.panTo(inEvent.latLng);
inContext.mapObject.map_marker.setPosition(inEvent.latLng);
inContext.current_lng = parseFloat(inEvent.latLng.lng());
inContext.current_lat = parseFloat(inEvent.latLng.lat());
var longText = inContext.getScopedElement('bmlt_semantic_form_map_search_longitude_text');
var latText = inContext.getScopedElement('bmlt_semantic_form_map_search_latitude_text');
longText.value = inContext.current_lng.toString();
latText.value = inContext.current_lat.toString();
inContext.refreshURI();
}

Reacts to a click in the map.

Parameters
inEventThe click event
inContextThe object that triggered the event.

Definition at line 2341 of file bmlt_semantic.js.

BMLTSemantic prototype mapDragEnd
Initial value:
= function (
inEvent,
inContext
) {
inContext.current_lng = parseFloat(inEvent.latLng.lng());
inContext.current_lat = parseFloat(inEvent.latLng.lat());
inContext.mapObject.panTo(inEvent.latLng);
var longText = inContext.getScopedElement('bmlt_semantic_form_map_search_longitude_text');
var latText = inContext.getScopedElement('bmlt_semantic_form_map_search_latitude_text');
longText.value = inEvent.latLng.lng().toString();
latText.value = inEvent.latLng.lat().toString();
inContext.refreshURI();
}

Reacts to a drag in the map ending.

Parameters
inEventThe drag event
inContextThe object that triggered the event.

Definition at line 2365 of file bmlt_semantic.js.

BMLTSemantic prototype mapObject = null

Definition at line 494 of file bmlt_semantic.js.

BMLTSemantic prototype mapZoomChanged
Initial value:
= function (
inEvent,
inContext
) {
inContext.current_zoom = inContext.mapObject.getZoom();
}

Reacts to the map zoom changing.

Parameters
inEventThe drag event
inContextThe object that triggered the event.

Definition at line 2388 of file bmlt_semantic.js.

BMLTSemanticResult prototype meeting_key = null

The main "meeting_key=" value.

Definition at line 36 of file bmlt_semantic.js.

BMLTSemanticResult prototype meeting_key_value = null

The value selected by the field select.

Definition at line 37 of file bmlt_semantic.js.

BMLTSemantic prototype organizeServiceBodies
Initial value:
= function () {
this.service_body_objects = Array();
for (var i = 0; i < this.temp_service_body_objects.length; i++) {
var service_body = this.temp_service_body_objects[i];
if ( parseInt(service_body.parent_id) == 0 ) {
this.service_body_objects.push(service_body);
this.getChildServiceBodies(service_body);
};
};
};
}
BMLTSemantic prototype getChildServiceBodies
BMLTSemantic prototype temp_service_body_objects
BMLTSemantic prototype service_body_objects
var i

Definition at line 1050 of file bmlt_semantic.js.

BMLTSemanticResult prototype owner = null

The object that "owns" this.

Definition at line 34 of file bmlt_semantic.js.

Referenced by BMLTSemanticResult().

BMLTSemantic prototype populateFieldSelect

The response.

Definition at line 1113 of file bmlt_semantic.js.

BMLTSemantic prototype populateFormatsSection

Definition at line 833 of file bmlt_semantic.js.

BMLTSemantic prototype populateServiceBodiesSection

Definition at line 897 of file bmlt_semantic.js.

BMLTSemantic prototype refreshURI

Definition at line 2869 of file bmlt_semantic.js.

BMLTSemantic prototype reloadFromServer

Sets up and performs an AJAX call to fetch the available formats.

Definition at line 616 of file bmlt_semantic.js.

BMLTSemanticResult prototype root_server_uri = null

The main Root Server URI.

Definition at line 38 of file bmlt_semantic.js.

Referenced by BMLTSemanticResult().

BMLTSemanticResult prototype sb_id = null

This contains the Service body used for the NAWS dump.

Definition at line 43 of file bmlt_semantic.js.

BMLTSemantic prototype scanWeekdays
Initial value:
= function ( value ) {
this.state.weekdays = null;
var abs = Math.abs(parseInt(value));
if ( value > 0 ) {
this.getScopedElement('bmlt_semantic_form_not_weekday_checkbox_' + abs).checked = false;
} else {
if ( value < 0 ) {
this.getScopedElement('bmlt_semantic_form_weekday_checkbox_' + abs).checked = false;
};
};
for (var i = 1; i < 8; i++) {
if ( this.getScopedElement('bmlt_semantic_form_weekday_checkbox_' + i).checked ) {
if ( this.state.weekdays ) {
this.state.weekdays += ',' + i.toString();
} else {
this.state.weekdays = i.toString();
};
};
if ( this.getScopedElement('bmlt_semantic_form_not_weekday_checkbox_' + i).checked ) {
if ( this.state.weekdays ) {
this.state.weekdays += ',' + (-i).toString();
} else {
this.state.weekdays = (-i).toString();
};
};
};
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype state
var i

Definition at line 1631 of file bmlt_semantic.js.

BMLTSemanticResult prototype searchLatitude = null

If using the map, the latitude.

Definition at line 53 of file bmlt_semantic.js.

BMLTSemanticResult prototype searchLongitude = null

If using the map, the longitude.

Definition at line 52 of file bmlt_semantic.js.

BMLTSemanticResult prototype searchMapRadius = -10

A radius for the map. Default is auto-search 10 meetings.

Definition at line 51 of file bmlt_semantic.js.

BMLTSemanticResult prototype searchText = null

The text to search for in meetings.

Definition at line 48 of file bmlt_semantic.js.

BMLTSemanticResult prototype searchTextModifier = null

Any modifier for the text search.

Definition at line 49 of file bmlt_semantic.js.

BMLTSemanticResult prototype searchTextRadius = null

A possible radius for the text (if location).

Definition at line 50 of file bmlt_semantic.js.

BMLTSemantic prototype serverInfo = null

Definition at line 498 of file bmlt_semantic.js.

BMLTSemantic prototype service_body_objects = null

Definition at line 491 of file bmlt_semantic.js.

BMLTSemanticResult prototype services = null

The selected Service bodies. This is a CSV string of integer IDs.

Definition at line 39 of file bmlt_semantic.js.

Referenced by BMLT_Server_Admin().

BMLTSemantic prototype setAllSortFieldFunctions
Initial value:
= function ( ) {
for (var i = 0; i < this.field_keys.length; i++) {
this.setSortFieldFunctions(this.field_keys[i].key.toString());
};
}
BMLTSemantic prototype field_keys
var i
BMLTSemantic prototype setSortFieldFunctions

Definition at line 2059 of file bmlt_semantic.js.

BMLTSemantic prototype setAllSortFieldState
Initial value:
= function ( ) {
var maxNum = 0;
if ( this.state.sorts && this.state.sorts.length ) {
maxNum = this.state.sorts[this.state.sorts.length - 1].order;
for (var i = 0; i < this.field_keys.length; i++) {
var key = this.field_keys[i].key.toString();
var selectID = this.getSortItemID(key);
var selectObject = this.getScopedElement(selectID);
selectObject.className = selectObject.defaultClass;
for (var c = 0; c < this.state.sorts.length; c++) {
var sortObject = this.state.sorts[c];
if ( sortObject.key == key ) {
selectObject.selectedIndex = sortObject.order;
if ( sortObject.order > 0 ) {
selectObject.className = selectObject.defaultClass + ' sortSelectHighlight';
};
};
};
};
};
for (var i = 0; i < this.field_keys.length; i++) {
this.setSortFieldState(this.field_keys[i].key.toString(), maxNum);
};
}
BMLTSemantic prototype setSortFieldState
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype field_keys
BMLTSemantic prototype state
var i
BMLTSemantic prototype getSortItemID
var c

Definition at line 2095 of file bmlt_semantic.js.

BMLTSemantic prototype setBasicFunctions
Initial value:
= function ( inItemID
) {
var item = this.getScopedElement(inItemID);
if ( item ) {
item.formHandler = this;
item.oldDisplay = item.style.display;
if ( item.oldDisplay == 'none' ) {
item.oldDisplay = 'block';
};
item.defaultValue = item.value;
item.defaultClass = item.className;
item.disable = function () {
this.disabled = true };
item.enable = function () {
this.disabled = false };
item.hide = function () {
this.style.display = 'none' };
item.show = function () {
this.style.display = this.oldDisplay };
};
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.

Sets up simple enable/disable/show/hide functions for a given item.

Parameters
inItemIDThe ID (unscoped) of the item.

Definition at line 1998 of file bmlt_semantic.js.

BMLTSemantic prototype setSortFieldFunctions
Initial value:
= function ( inKey ) {
this.setBasicFunctions(this.getSortItemID(inKey, null));
for (var i = 0; i <= this.field_keys.length; i++) {
var sortItemOptionID = this.getSortItemID(inKey, i);
this.setBasicFunctions(sortItemOptionID);
var sortItem = this.getScopedElement(sortItemOptionID);
if ( sortItem ) {
sortItem.fieldKey = inKey;
};
};
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype field_keys
var i
BMLTSemantic prototype getSortItemID
BMLTSemantic prototype setBasicFunctions
Sets up simple enable/disable/show/hide functions for a given item.

Definition at line 2041 of file bmlt_semantic.js.

BMLTSemantic prototype setSortFieldState
Initial value:
= function ( inKey, inMaxNum ) {
inMaxNum++;
for (var i = 1; i <= this.field_keys.length; i++) {
var sortItemOptionID = this.getSortItemID(inKey, i);
var optionElement = this.getScopedElement(sortItemOptionID);
if ( optionElement ) {
var sortItemSelect = optionElement.parentNode;
if ( sortItemSelect ) {
if ( (sortItemSelect.selectedIndex == 0) && (optionElement.value == inMaxNum) ) {
optionElement.enable();
} else {
optionElement.disable();
};
};
};
};
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype field_keys
var i
BMLTSemantic prototype getSortItemID

Definition at line 2070 of file bmlt_semantic.js.

BMLTSemantic prototype setTextHandlers
Initial value:
= function ( inID
) {
this.setBasicFunctions(inID);
var textItem = this.getScopedElement(inID);
if ( textItem ) {
textItem.className = textItem.defaultClass + ' bmlt_semantic_form_disabled_text';
var oldOnChange = textItem.onchange;
textItem.onchange = function () {
this.formHandler.handleTextInput(this, true); };
textItem.onkeyup = function () {
this.formHandler.handleTextInput(this, true); };
textItem.onblur = function () {
this.formHandler.handleTextInput(this, false); };
textItem.onfocus = function () {
this.formHandler.handleTextInput(this, true); };
if ( oldOnChange ) {
textItem.additionalHandler = oldOnChange;
};
};
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype setBasicFunctions
Sets up simple enable/disable/show/hide functions for a given item.

Sets the basic text handler for text items (handles switching classes).

Parameters
inIDThe ID that needs to be "scoped."

Definition at line 1966 of file bmlt_semantic.js.

BMLTSemantic prototype setUpCoverageMap

Sets up the map display for the instance.

Definition at line 2191 of file bmlt_semantic.js.

BMLTSemantic prototype setUpForm
Initial value:
= function () {
}
BMLTSemantic prototype fetchServerInfo
Sets up and performs an AJAX call to fetch the server information.
BMLTSemantic prototype reloadFromServer
Sets up and performs an AJAX call to fetch the available formats.
BMLTSemantic prototype setUpForm_MainFieldset
Initialize the main fieldset.

Called after all the various setup has been done, and "bakes in" the form.

Definition at line 2858 of file bmlt_semantic.js.

Referenced by BMLTSemantic().

BMLTSemantic prototype setUpForm_MainFieldset

Initialize the main fieldset.

Definition at line 2400 of file bmlt_semantic.js.

BMLTSemantic prototype setUpMainSelectors

This scans the main selectors, and does what is necessary.

Parameters
inItemThis is the item that triggered this map.

Definition at line 2550 of file bmlt_semantic.js.

BMLTSemantic prototype setUpMap

Sets up the map display for the instance.

Definition at line 2129 of file bmlt_semantic.js.

BMLTSemantic prototype sortByKey
Initial value:
= function (array, key) {
return array.sort(function(a, b) {
var x = a[key].toLowerCase(); var y = b[key].toLowerCase();
return ((x < y) ? -1 : ((x > y) ? 1 : 0));
});
}
var y
var x
var a
var b

Sort By Key.

Definition at line 1005 of file bmlt_semantic.js.

BMLTSemanticResult prototype sorts = null

This holds an array of objects that will indicate a chosen sort. The object schema will be: {"key":STRING,"order",INTEGER}.

Definition at line 56 of file bmlt_semantic.js.

BMLTSemanticResult prototype startTimeMax = null

This will have an array, with the maximum start time. Hours will be element 0, minutes, element 1.

Definition at line 59 of file bmlt_semantic.js.

BMLTSemanticResult prototype startTimeMin = null

This will have an array, with the minimum start time. Hours will be element 0, minutes, element 1.

Definition at line 58 of file bmlt_semantic.js.

BMLTSemantic prototype state = null

Definition at line 493 of file bmlt_semantic.js.

Referenced by BMLT_Server_Admin(), and BMLTSemantic().

BMLTSemanticResult prototype switcher = null

The main "?switcher=" value.

Definition at line 35 of file bmlt_semantic.js.

BMLTSemantic prototype temp_service_body_objects = null

Definition at line 492 of file bmlt_semantic.js.

BMLTSemantic prototype updateFieldValuesPopup
Initial value:
= function () {
var select_object = this.getScopedElement('bmlt_semantic_form_value_select');
for (var i = select_object.options.length - 1; i > 0; i--) {
select_object.removeChild(select_object.options[i]);
};
if ( this.field_values && this.field_values.length ) {
for (var i = 0; i < this.field_values.length; i++) {
var value_object = this.field_values[i];
eval('var value_text = value_object.' + this.state.meeting_key.toString() + '.toString();');
if ( value_text != 'NULL' ) {
var newOption = document.createElement('option');
newOption.value = value_text;
newOption.appendChild(document.createTextNode(value_text));
select_object.appendChild(newOption);
};
};
this.getScopedElement('bmlt_semantic_form_meeting_fields_fieldset_contents_div').show();
};
this.refreshURI();
}
BMLTSemantic prototype field_values
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype refreshURI
BMLTSemantic prototype state
var i

Definition at line 1208 of file bmlt_semantic.js.

BMLTSemantic prototype updateServiceBodies
Parameters
inSelectThe object that experienced change.

Definition at line 1432 of file bmlt_semantic.js.

BMLTSemanticResult prototype valid = null

This will be non-null if the compiled result is valid (only after compile()).

Definition at line 62 of file bmlt_semantic.js.

BMLTSemantic prototype validateVersion
Initial value:
= function () {
if ( this.version == 0 ) {
var bad_header = this.getScopedElement('bmlt_semantic_badserver_h1');
var form = this.getScopedElement('bmlt_semantic_form');
bad_header.style.display = 'block';
form.style.display = 'none';
} else {
if ( this.version < 2006015 ) {
this.getScopedElement('bmlt_semantic_form_switcher_type_select_fieldkey_option').disable();
this.getScopedElement('bmlt_semantic_form_switcher_type_select_fieldval_option').disable();
};
};
}
BMLTSemantic prototype getScopedElement
Returns an element that has been "scoped" for this instance.
BMLTSemantic prototype version

Hides the form if we have a bad root server URI.

Definition at line 1944 of file bmlt_semantic.js.

BMLTSemantic prototype version = null

Definition at line 484 of file bmlt_semantic.js.

Referenced by BMLTSemantic().

BMLTSemanticResult prototype weekdayHeader = null

This will be set to nonzero if the BMLT_SIMPLE result will be separated by weekday.

Definition at line 57 of file bmlt_semantic.js.

BMLTSemanticResult prototype weekdays = null

The selected weekdays (1-7). This is a CSV string of integer IDs.

Definition at line 42 of file bmlt_semantic.js.

Referenced by BMLT_Server_Admin().