I encounter a very strange problem.
I have a combobox with a custome valuelist. A function is fired on the DataChange event.
In debug mode, all is OK (web and smart client)
In production environment, it works fine in web client, but not in Smart Client !
When I change of dropdownlist value, nothing happens (the function is not fired). When I try to call the function on the onShow event, I have a error message "{myFunctionName} is not a function, this is a object". Unfortunately, nothing is traced in the log file.
Here the call of the function in the onShow :
- Code: Select all
/**
* Callback method for when form is shown.
*
* @param {Boolean} firstShow form is shown first time after load
* @param {JSEvent} event the event that triggered the action
*
* @properties={typeid:24,uuid:"FA79FD34-FD3F-4203-8E59-C7E4BC3F8F71"}
*/
function onShow(firstShow, event) {
// TODO Auto-generated method stub
globals.gest_printButton(false);
evtchangeList(); //Note : I don't use the oldValue, newValue and event parameters in my function
// (...)
}
And the declaration of the function :
- Code: Select all
/**
* Handle changed data.
*
* @param {Object} oldValue old value
* @param {Object} newValue new value
* @param {JSEvent} event the event that triggered the action
*
* @returns {Boolean}
*
* @properties={typeid:24,uuid:"9D3FDA28-9443-4ABF-AAA2-887636E4575F"}
*/
function evtchangeList(oldValue, newValue, event)
{
// (...)
}
the dataChange event :
I really can't understand what happens ... Help please !
Thank you very much