Exercising arround with ToolBar I get NullPointerException at the code-line oTb.validate().
But only in webclient (Version: 5.2.2 - build 1002)
- Code: Select all
function onSolutionOpen() {
var oTb = plugins.window.addToolBar("toolbar1")
var oTb = plugins.window.getToolBar("toolbar1")
oTb.addButton("Hello", func1)
oTb.validate(); // the NullPointerException !!
}
Thank you for any ideas what's wrong.