O'Reilly logo

ZK Developer's Guide by Markus Stauble, Hans-Jurgen Schumacher, Jurgen Schumacher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we have learned how to customize existing components. We have the ability to use styles which are known from HTML to change the layout of the components. Additionally we have seen that it is possible to build new components (macro components) on the basis of existing components. And last but not least, in the last section of this chapter we have learned how to create a complete custom component that is based on a .dsp file.

Our advice is first to try to build on an existing component, instead of creating a complete component of your own. Use object-oriented inheritance, not code duplication, which would loose advantage of error corrections in newer versions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required