How to customize zul.wgt.Notification.js ?

asked 2018-01-23 11:30:24 +0800

DennyDeng1 gravatar image DennyDeng1
3 2

updated 2018-01-23 11:42:10 +0800

Hello, My java web app is based on ZK framework, I want to use notification feature, and i want to override some logic inside zul.wgt.Notification.js, but I found zul.wgt.Notification.js is not a component js, I cannot do the customization like (ZK Client-side Reference --> General Control --> Widget Customization), do you have any idea about zul.wgt.Notification.js customization? Thank you very much!

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-23 18:17:05 +0800

MDuchemin gravatar image MDuchemin
1476 1 5
ZK Team

Hi Denny!

You definitely can customize it, the question is what are you trying to do? If you want to change the client-side logic, you might want to use zk.override. I made a fiddle for a quick example. Let me know what you think:


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




Asked: 2018-01-23 11:30:24 +0800

Seen: 8 times

Last updated: Jan 23 '18

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