0

bug for zk3.5.3 constraint

asked 2009-10-27 19:03:08 +0800

yuzexu_zk gravatar image yuzexu_zk
240 2

<window id="win" title="111">

<textbox constraint="no empty"/>
<button label="close" forward="onClose"/>
<button label="doOverlapped" onClick="win.doOverlapped();"/>
</window>

click the doOeverlapped button then focus the textbox then click the close button the zk will throw exception

delete flag offensive retag edit

7 Replies

Sort by » oldest newest

answered 2009-10-27 21:10:05 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi,yuzexu_zk
I import zk-demo-3.6.3-FL-2009-10-23 war file
and test your code
it works well
try to update your jar file

link publish delete flag offensive edit

answered 2009-10-27 22:29:34 +0800

yuzexu_zk gravatar image yuzexu_zk
240 2

updated 2009-10-27 22:34:06 +0800

sorry the version is zk3.6.3 10-23

the complete bug code :

package com.bug;
public class Bug1Composer extends org.zkoss.zk.ui.util.GenericForwardComposer

{
}

<window id="win" title="111" apply="com.Bug1Composer">

<textbox constraint="no empty"/>
<button label="close" forward="onClose"/>
<button label="doOverlapped">
<attribute name="onClick">
win.doOverlapped();
</attribute>
</button>
</window>

click the doOeverlapped button then focus the textbox then click the close button the zk will throw exception(意外的调用了方法或属性访问)

link publish delete flag offensive edit

answered 2009-10-27 23:42:10 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

you can update to zk 3.6.0 later

link publish delete flag offensive edit

answered 2009-10-28 00:22:44 +0800

yuzexu_zk gravatar image yuzexu_zk
240 2

i use the zk3.6.3 for 2009-10-23

link publish delete flag offensive edit

answered 2009-10-28 02:28:07 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

so your zk version is zk3.6.3 for 2009-10-23
and it happen this bug ?

link publish delete flag offensive edit

answered 2009-10-28 19:16:02 +0800

yuzexu_zk gravatar image yuzexu_zk
240 2

yes

link publish delete flag offensive edit

answered 2009-10-28 20:20:13 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

updated 2009-10-28 20:53:54 +0800

OK, I found it
this bug will happen in IE, but it works well in FF
I will trace it
thank for your remind
you can follow here

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: 2009-10-27 19:03:08 +0800

Seen: 281 times

Last updated: Oct 28 '09

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