Modal Messagebox not showing when invoked in the usual way [closed]

asked 2013-01-23 08:50:09 +0800

s3lvatico gravatar image s3lvatico
22 2

Not sure if this is the cause, but I'm experiencing this after the upgrade to ZK . Quite strangely, the modal messagebox invoked in the usual way with a call like this:

     "bla bla",
     "foo bar baz",
     Messagebox.YES | Messagebox.NO,

it only dims the whole page without actually showing. What am I doing wrong?

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by chillworld
close date 2014-03-11 20:50:30


I tried this example in, but it work fine, maybe there are some other issue, you could check you jars or clear browser cache and try again. or provide more information in the original question.

dennis ( 2013-01-23 09:14:39 +0800 )edit

Thank you dennis. I tried that too with a fresh ZK project and worked perfectly. Alas, at this point I have no idea about how to provide further information: I invoke the message box in the same exact way as I do in the example. The only difference is that in production code I'm in a border layout

s3lvatico ( 2013-01-23 09:43:30 +0800 )edit

Update: after inspecting the DOM I noticed that the modal window is actually created and displayed... only it is 0 pixels wide according to the style specified on its DIV element.

s3lvatico ( 2013-01-23 10:37:44 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-23 11:40:39 +0800

s3lvatico gravatar image s3lvatico
22 2

There was an issue with the message box having been given a customized template. Before fiddling with the custom template itself I simply tried to upgrade to ZK 6.5. At the moment the message boxes seem to be correctly displayed. I should consider the question answered, but I'd better go and have a thorough look at the template mechanics quite soon.

link publish delete flag offensive edit


This question will be left unanswered since I don't have enough points to mark my own answer as risolutive at the moment.

s3lvatico ( 2013-01-23 11:41:59 +0800 )edit

done for you and closed it

chillworld ( 2014-03-11 20:50:52 +0800 )edit

Question tools

1 follower



Asked: 2013-01-23 08:50:09 +0800

Seen: 24 times

Last updated: Jan 23 '13

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