Community
Participate
Working Groups
I can't open my handler with the webbrowser due to message eglx/rbd/StrLib.js line 36 text.trim().length() is not a function. Here's my rui handler handler Tester type RUIhandler {onConstructionFunction = start, cssFile="css/Alpha.css", title="MyHandler"} function start() SysLib.WriteStdOut("Hello from Tester JavaScript Batch"); testCharacterLen(); SysLib.WriteStdout("Done with test"); end function testCharacterLen() data string = "This is some random data"; size1, size2 int = -33; size1 = strLib.characterLen(data); Syslib.writeStdout(" size 1 " + size1); data += " "; size2 = strlib.characterLen(data); Syslib.writeStdout(" size 2 " + size2); if (size1 == size2) syslib.writestdout(" size1 == size2"); else syslib.writestdout(" size1 != size2 -- blanks are counted"); end end end
Fixed.
Verified this problem doesn't happen. However, can't run the code due to Bug 357143. Used 201109120910
Closing this defect.