org.zkoss.zk.ui.ScriptErrorListener.class"
From Documentation
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.ui.ScriptErrorListener.class {{GlobalLibraryProperty}} Default: <i>org.zkoss.zk.ui.script.DefaultScript...") |
|||
Line 2: | Line 2: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.zk.ui.ScriptErrorListener.class | org.zkoss.zk.ui.ScriptErrorListener.class | ||
+ | |||
+ | {{versionSince| 9.6.0}} | ||
{{GlobalLibraryProperty}} | {{GlobalLibraryProperty}} | ||
Default: <i>org.zkoss.zk.ui.script.DefaultScriptErrorListener</i> | Default: <i>org.zkoss.zk.ui.script.DefaultScriptErrorListener</i> | ||
− | + | ||
It specifies the name of the class as the default script error handler when using Clients.evalJavascript. | It specifies the name of the class as the default script error handler when using Clients.evalJavascript. |
Revision as of 07:37, 28 July 2021
Property:
org.zkoss.zk.ui.ScriptErrorListener.class
Since 9.6.0
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: org.zkoss.zk.ui.script.DefaultScriptErrorListener
It specifies the name of the class as the default script error handler when using Clients.evalJavascript.
Put empty string as value to disable this.
<library-property> <name>org.zkoss.ui.script.ScriptErrorListener.class</name> <value></value> </library-property>