-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Not sure if this is the cause, but I'm experiencing this after the upgrade to ZK 6.0.2.1 . Quite strangely, the modal messagebox invoked in the usual way with a call like this:
Messagebox.show(
"bla bla",
"foo bar baz",
Messagebox.YES | Messagebox.NO,
Messagebox.QUESTION,
myConfirmationEventListener);
it only dims the whole page without actually showing. What am I doing wrong?
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.
I tried this example in 6.0.2.1, 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 )editThank 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 )editUpdate: 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