Revision history [back]

click to hide/show revision 1
initial version

answered 2009-04-15 11:05:15 +0800

hideokidd gravatar image hideokidd


The error seems occurred from

else if (media != null)
{"Not an image: " + media, "Error", Messagebox.OK, Messagebox.ERROR);

and that's because you disable event processing threads

from the page, There are two options to solve this 1.Remove following setting from zk.xml(this will enable event processing threads)


2.Overwrite the messagebox (following is just an example from the page)"Delete?", "Prompt", Messagebox.YES|Messagebox.NO,
     new EventListener() {
         public void onEvent(Event evt) {
             switch (((Integer)evt.getData()).intValue()) {
             case Messagebox.YES: doYes(); break; //the Yes button is pressed
             case Messagebox.NO: doNo(); break; //the No button is pressed
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More