-
FEATURED COMPONENTS
First time here? Check out the FAQ!
How do we change the title of ZK alert("")?
Use Messagebox
If I use a message box and I have a long string. So ZK automatically breaks the string and display it in the UI. Is there a rule to break the string into multiple lines and display it in the UI.
Any samples
use "\n" to insert a new line in your string ("Hello\nWorld")
I am using zk 3.5.1 version and looks like, \n is not supported in that release.
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: 2010-01-29 17:11:36 +0800
Seen: 1,203 times
Last updated: Feb 08 '11