Revision history [back]

click to hide/show revision 1
initial version

answered 2011-12-09 14:36:42 +0800

gganassin gravatar image gganassin flag of Luxembourg

http://www.hybris.com/

I had the same thing to implement and that's what i did:

1 - made my own implementation of org.zkoss.zk.ui.util.EventInterceptor interface... let's call this TabboxEventInterceptor 2 - registered the interceptor in the desktop with Executions.getCurrent().getDesktop().addListener(new TabboxEventInterceptor())

Then you are able to intercept all the events you need before or after they are processed or event posted: if you want to stop the event because there are pending chances... you can just return null as event instrade of returning the original one and that's it!

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