Autodesk 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6 Developer's Manual page 162

Release 6
Hide thumbs Also See for 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6:
Table of Contents

Advertisement

Facilities Management Application Example Code (continued)
if (selValue[i].selected){
var temp = selValue[i].value;
}
}
if (temp == 'showAll'){
var whereClause = "Space_Status is not null";
}
else{
var whereClause = "Space_Status='"+temp+"'";
}
var mapLayer = map.getMapLayer("Offices");
mapLayer.setSQLWhere(whereClause);
map.refresh();
}
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Function
resetForm()
+ Description:
+ Arguments:
none
+ Return:
none
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
function resetForm(){
document.Selection.reset();
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Function
openSearchWind()
+ Description:
+ Arguments:
none
+ Return:
none
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
function openSearchWind(){
var FirstName = document.Selection.FirstName.value;
var LastName = document.Selection.LastName.value;
var RoomSelected;
var Count = 0;
var selOptions = document.Selection.roomnum.options;
for (var i=0; i < selOptions.length; i++) {
if (selOptions[i].selected){
RoomSelected = selOptions[i].value
Count = Count + 1;
}
}
if ((FirstName.length == 0) && (LastName.length == 0) && (Count < 1)){
alert("Must enter a value for the first name or last name field.
Or, select a room before continuing.");
}
|
Chapter 7 Applications
162
resets the values in the form to the default values
used to launch the search popup window
+
+
+
+
+
+
+
+
\n

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

15606-011408-9300 - mapguide r6.3 upgMapguide 6

Table of Contents