0

how to display a message box with two buttons?

asked 2011-05-31 04:23:29 +0800

RakeshManne gravatar image RakeshManne
93 1

how to display a message box with two buttons named Save and Cancel

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-05-31 07:58:10 +0800

ZKApp gravatar image ZKApp
18

As far as my knowledge, ZK doesnot provide any customization in Message box.

link publish delete flag offensive edit

answered 2011-05-31 10:56:36 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

The best you can achieve without changing the template would be:

<zk>
  <zscript>
    Messagebox.show("Do you want to save your data?", "Confirm", Messagebox.OK | Messagebox.CANCEL, Messagebox.QUESTION)
  </zscript>
</zk>

If you really need to, you can use your custom template via Messagebox.setTemplate(String).

Cheers, Maik

link publish delete flag offensive edit

answered 2011-06-01 05:05:35 +0800

RakeshManne gravatar image RakeshManne
93 1

Thank you mjablonski,but i tried it with model dialog and it's working fine...........

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: 2011-05-31 04:23:29 +0800

Seen: 350 times

Last updated: Jun 01 '11

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