Message Box"
From Documentation
m |
|||
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | In additions to composing your own window for displaying a message, ZK provide a simple utility: <javadoc>org.zkoss.zul.Messagebox</javadoc>. For example, | + | In additions to composing your own window for displaying a message, ZK provide a simple utility: <javadoc>org.zkoss.zul.Messagebox</javadoc><ref>If you are using [[ZK Developer's Reference/UI Composing/ZUML/Scripts in ZUML|zscript]], there is a shortcut called <code>alert</code> as follows |
+ | <source lang="xml"> | ||
+ | <button label="Show" onClick='alert("The file has been removed successfully.")'/> | ||
+ | </source> | ||
+ | </ref>. For example, | ||
<source lang="java"> | <source lang="java"> | ||
Line 8: | Line 12: | ||
[[File:DrMessagebox.png]] | [[File:DrMessagebox.png]] | ||
+ | |||
+ | <blockquote> | ||
+ | ---- | ||
+ | <references/> | ||
+ | </blockquote> | ||
=Version History= | =Version History= |
Revision as of 09:34, 13 October 2011
In additions to composing your own window for displaying a message, ZK provide a simple utility: Messagebox[1]. For example,
Messagebox.show("The file has been removed successfully.");
Version History
Version | Date | Content |
---|---|---|