org.zkoss.zk.ui.WebApp.name"
From Documentation
m ((via JWB)) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
org.zkoss.zk.ui.WebApp.name | org.zkoss.zk.ui.WebApp.name | ||
− | Default: < | + | Default: <code>ZK</code> |
− | + | {{versionSince|5.0.6}} | |
− | It specifies the application name. It is the return value of <javadoc method="getAppName()" type="interface">org.zkoss.zk.ui.WebApp</javadoc>. It also determins the title of [[ZK Component Reference/Supporting Classes/Messagebox|Messagebox]] and build-in warning/error | + | It specifies the application name. It is the return value of <javadoc method="getAppName()" type="interface">org.zkoss.zk.ui.WebApp</javadoc>. It also determins the default title of [[ZK Component Reference/Supporting Classes/Messagebox|Messagebox]] and build-in warning/error dialogs e.g. file upload size exceeding error. |
For example, | For example, |
Latest revision as of 09:34, 14 March 2022
Preference:
org.zkoss.zk.ui.WebApp.name
Default: ZK
Since 5.0.6
It specifies the application name. It is the return value of WebApp.getAppName(). It also determins the default title of Messagebox and build-in warning/error dialogs e.g. file upload size exceeding error.
For example,
<!-- in WEB-INF/zk.xml -->
<preference>
<name>org.zkoss.zk.ui.WebApp.name</name>
<value>My Killer Application</value>
</preference>
In addition, you could change the application's name in Java by invoking WebApp.setAppName(String).
Version History
Version | Date | Content |
---|---|---|
5.0.6 | Feburary, 2011 | Introduced |