James,
Is it possible to handle any destination change, not just a single destination?
I have tried the following but it does not trigger when crosspoints are changed.
<ogscript handles="onchange" oid="params.statusByDestination">ogscript.debug('crosspoints changed!');</ogscript>
------------------------------
Richard Hills
------------------------------
Original Message:
Sent: 02-21-2019 16:01
From: James Peltzer
Subject: onchange with Ultrix?
There are a few choices here:
Inside of your Ultrix context, you can put script:
<ogscript handles="onchange" oid="params.statusByDestination.58.inputstatus"> ogscript.debug("MY VALUE IS: " + this.getValue());</ogscript>Or, if you already have the param object (as in your example code), you can programmatically-add a change handler:
function handleChange(parameter)
{
ogscript.debug('MY VALUE IS ' + parameter.getValue());
}
params.getParam('params.statusByDestination.58.inputstatus', 0).addParamListener(handleChange);
#DashBoard