0

ZK Alert Title

asked 2010-01-29 17:11:36 +0800

balamurugan32000 gravatar image balamurugan32000
111 2

How do we change the title of ZK alert("")?

delete flag offensive retag edit

7 Replies

Sort by ยป oldest newest

answered 2010-01-30 21:25:06 +0800

YamilBracho gravatar image YamilBracho
1722 2

Use Messagebox

link publish delete flag offensive edit

answered 2010-02-02 16:41:52 +0800

balamurugan32000 gravatar image balamurugan32000
111 2

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

link publish delete flag offensive edit

answered 2010-02-02 20:11:20 +0800

YamilBracho gravatar image YamilBracho
1722 2

use "\n" to insert a new line in your string ("Hello\nWorld")

link publish delete flag offensive edit

answered 2010-02-02 20:36:15 +0800

balamurugan32000 gravatar image balamurugan32000
111 2

I am using zk 3.5.1 version and looks like, \n is not supported in that release.

link publish delete flag offensive edit

answered 2010-02-02 20:41:58 +0800

PeterKuo gravatar image PeterKuo
481 2

@balamuruga
Latest version always comes with more feature.

link publish delete flag offensive edit

answered 2010-02-03 03:18:30 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Take a look here

best
Stephan

link publish delete flag offensive edit

answered 2011-02-08 00:41:11 +0800

tomyeh gravatar image tomyeh
610 1 3
http://blog.zkoss.org ZK Team

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.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-01-29 17:11:36 +0800

Seen: 1,203 times

Last updated: Feb 08 '11

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