Custom mold for checkbox, how to force reload of cached resources in browser?

asked 2016-08-08 12:32:57 +0800

aznavour gravatar image aznavour
26 3

Hi everybody,

I've created added a custom mold for the checkbox, to make it render as a toggle switch:




How can I force the browser to reload the neccessary resource (I think its zk.wpd), without turning off the whole caching of web resources? I always experience a client side error telling me, the mold is not available. Once I press Ctrl-F5, it all works fine - but thats not an option for our users. Any help?

Thanks, Charles

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-08-10 07:03:04 +0800

aznavour gravatar image aznavour
26 3

I couldn't find a way to do this. For that reason, I followed the steps http://forum.zkoss.org/question/57413/how-to-force-my-custom-component-to-reload-on-browser/ (here) to create our own component and provide the version with:

<javascript-module name="my.package" version="1.1"/>
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: 2016-08-08 12:32:57 +0800

Seen: 19 times

Last updated: Aug 10 '16

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