Revision history [back]

click to hide/show revision 1
initial version

answered 2018-03-02 14:47:29 +0800

cor3000 gravatar image cor3000

Here the related code that displays the configured error message: https://github.com/zkoss/zk/blob/v8.5.0/zk/src/archive/web/js/zk/au.js#L1129

As you can see it calls jq.alert() without setting a title explicitely - an uses the default instead which is the appName. This can be configured in your zk.xml with the preference: org.zkoss.zk.ui.WebApp.name or by calling Webapps.getCurrent().setAppName("My Special App")

For custom behavior you can also override this method or provide a timeout script.

Robert

Here the related code that displays the configured error message: https://github.com/zkoss/zk/blob/v8.5.0/zk/src/archive/web/js/zk/au.js#L1129

As you can see it calls jq.alert() without setting a title explicitely - an uses the default instead which is the appName. This can be configured in your zk.xml with the preference: org.zkoss.zk.ui.WebApp.name or by calling calling:

Webapps.getCurrent().setAppName("My Special App")

App")

For custom behavior you can also override this method or provide a timeout script.

Robert

Here the related code that displays the configured error message: https://github.com/zkoss/zk/blob/v8.5.0/zk/src/archive/web/js/zk/au.js#L1129

As you can see it calls jq.alert() without setting a title explicitely - an and uses the default instead - which is the appName. This can be configured in your zk.xml with the preference: org.zkoss.zk.ui.WebApp.name or by calling:

Webapps.getCurrent().setAppName("My Special App")

For custom behavior you can also override this method or provide a timeout script.

Robert

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More