-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3723339
By: michaelkmb
Hi,
Is there any constraint on using the alert command. If an exception (such as
WrongValueException) throw after the alert command, system error reported.
May 11, 2006 9:44:18 AM com.potix.zk.ui.impl.UiEngineImpl resumeAll:637
SEVERE: Unable to resume [Event processing thread: event=null, ceased=false]
com.potix.zk.ui.WrongValueException: ???? [#22000]
at com.potix.zul.html.SimpleConstraint.wrongValue(SimpleConstraint.java:218)
at com.potix.zul.html.SimpleConstraint.validate(SimpleConstraint.java:197)
Sample ZUL page
<window>
<textbox id="txt1" constraint="no empty" /> <button label="test" onClick="validate()" /> <zscript>
void validate() {
alert("started");
txt1.getValue();
}
</zscript>
</window>
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3723535
By: henrichen
That is a bug. Please post to Bug-list. When resume, the WrongValueException should somehow be treated specially.
/henri
Asked: 2006-05-11 01:50:17 +0800
Seen: 294 times
Last updated: May 11 '06