problem with property autodisable on toolbarbutton

asked 2013-02-27 10:20:22 +0800

walera007 gravatar image walera007

Hi! I ca'nt use the property autodisable on toolbarbutton. I set it like autodizable="self" in zul file but the button after clicking doesn't get disabled. I can click it twice and the task will be executed twice. What is wrong?

delete flag offensive retag edit


Thanks for the answer. I do'nt know. Maybe I am using an old version of zkoss but it is not working for me. It is working for buttons but not toolbarbuttons. I use 5.0.4 version of zkoss.

walera007 ( 2013-03-18 09:36:15 +0800 )edit

SOrry but you have to check Documentation of this version i am using latest version so can not comment whats the issue

sjoshi ( 2013-03-18 09:40:26 +0800 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-02-27 13:28:09 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8

See here...

<toolbarbutton id="myID" autodisable="myID"  label="Send"   />

i worked for me...

Or we can say ..

 <toolbarbutton id="send" autodisable="self"  label="Send"   />

Both Should work.

link publish delete flag offensive edit
Your answer
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

1 follower



Asked: 2013-02-27 10:20:22 +0800

Seen: 33 times

Last updated: Mar 18 '13

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