Timestamp.js
Summary
No overview generated for 'Timestamp.js'
mapbuilder.loadScript(baseDir+"/widget/WidgetBaseXSL.js");
function Timestamp(widgetNode, model) {
WidgetBaseXSL.apply(this,new Array(widgetNode, model));
this.formName = "TimestampForm_" + mbIds.getId();
this.stylesheet.setParameter("formName", this.formName);
this.updateTimestamp = function (objRef, timestamp) {
var form = document[objRef.formName];
if (form) {
form.timestampValue.value = getNodeValue(objRef.model.timestampList.childNodes[timestamp]);
}
}
this.model.addListener("timestamp",this.updateTimestamp, this);
}
Documentation generated by
JSDoc on Sun Apr 27 20:30:54 2008