/*
* StaticSelect.jsb 1.0 97/08/28
*
* Copyright (c) 1997 Netscape Communications Corporation
*
* Netscape grants you a non-exclusive, royalty free, license to use,
* modify and redistribute this software in source and binary code form,
* provided that i) this copyright notice and license appear on all copies of
* the software; and ii) Licensee does not utilize the software in a manner
* which is disparaging to Netscape.
*
* This software is provided "AS IS," without a warranty of any kind.
* See the CDK License Agreement for additional terms and conditions.
*/
// client properties
/**
* An encapsulation of
* write that appends linefeeds
*/
function writeln(str) {
write(str + "\n")
}
writeln("")
/**
* Here we parse the list array
*/
function parseList( sList ) {
aRes = null;
if ( null != sList && ""!=sList ) {
aRes = new Array();
nStart = 0;
nIndex = 0;
do {
nCommaPos = sList.indexOf( ',', nStart );
if ( nCommaPos != -1 ) {
sEntry = sList.substring( nStart, nCommaPos );
nStart = nCommaPos+1;
} else {
sEntry = sList.substring( nStart );
}
aRes[nIndex++] = sEntry;
} while ( nCommaPos != -1 );
}
return aRes;
}
/**
* This is the main constructor,
* which instantiates our object.
*/
function netscape_peas_StaticSelect(params) {
// now generate the client object
if ( ""==params.textOptions ) {
params.textOptions = null;
}
if ( ""==params.valueOptions ) {
params.valueOptions = null;
}
writeln( "" );
} // netscape_peas_StaticSelect
/**
* This listener declarator makes it possible to
* wire listeners to our object
*/