First we can check the ZK documentation what all written in ZK? See below
SelectorComposer
It supports the autowiring based on Java annotation and a CSS3-based selector. If you don't know which one to use, use SelectorComposer.
GenericForwardComposer
It supports the autowiring based on naming convention. You don't need to specify annotations explicitly, but it is error-prone if it is used improperly.
As they clearly mentioned If you don't know which one to use, use SelectorComposer. I will also suggest same if you are using MVC framework
No comments:
Post a Comment