OK, with the depreciated code issue solved, I now know that the onSHow method is executed in the webclient.
But, the following code results in nothing...
application.output(foundset.getSize());
if (foundset.getSize() == 0)
{
//disable Main Tab, untill a SubScription has been selected by Search
for ( var i = 1 ; i <= elements.main.getMaxTabIndex(); i++ )
{
elements.main.setTabEnabled(i,false);
}
forms[elements.main.getTabFormNameAt(elements.main.tabIndex)].controller.enabled = false;
}
What should happen is that all the tabs are disabled and the form in the active tab is also disabled. But what happens is that all tabs and the shown form are still enabled. Aren't these fucntions supported (yet)?
The point of the following error also still stands:
Warning: global.setValueListDefaultValue is not defined in the globals, dynamic media global is created
Like I said, this error is not given in Developer nor the rich client. I also checked my code and a variable with the name "setValueListDefaultValue" is never declared. I do have a global method with this name, which is called and accoridng to the output on the webpage, it is called correctly.
All this behavior can be seen in the sample solution I attached to the cas ein the support system.
Paul