0

Disabling clicking on label?

asked 2015-04-13 09:32:41 +0800

Tegomena gravatar image Tegomena
33 4

I have some labels with an onCLick event defined on a Zul page. Is there a way to deactivate the onClick from Java, just like it is possible for buttons?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-04-14 01:42:45 +0800

echarish gravatar image echarish flag of Japan
1809 7
http://jp.linkedin.com/in...

Hello

In Java you can use removeEventListner of component

public boolean removeEventListener(java.lang.String evtnm, EventListener listener)

this method is available to all components.

Harish

link publish delete flag offensive edit
0

answered 2015-04-21 11:59:01 +0800

Tegomena gravatar image Tegomena
33 4

Thank you, Got it!

link publish delete flag offensive edit

Comments

You are welcome, if your question was properly answered can you accept the answer and mark it, so as to close the question.

echarish ( 2015-04-22 01:18:49 +0800 )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

Follow
1 follower

RSS

Stats

Asked: 2015-04-13 09:32:41 +0800

Seen: 19 times

Last updated: Apr 21 '15

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