-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
How can we change alert title, "zk" ?
Hi,
I think alert couldn't be customized, how about trying messagebox,
http://docs.zkoss.org/wiki/Message_Box
Thanks.
You could use Messagebox instead.
example:
<button label="alert no zk title"> <attribute name="onClick"> //alert("wuwu"); Messagebox.show("Remove this file?", "Remove?", Messagebox.YES | Messagebox.NO, Messagebox.QUESTION) </attribute> </button>
The default title is based on WebApp.getAppName(). You could change it to the value you want (for example, invoke it in your implementation of WebAppInit).
Since 5.0.6, we introduced a library property to simplify it. Please refer to here.
Asked: 2009-03-25 08:14:31 +0800
Seen: 509 times
Last updated: Feb 08 '11