-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
This bug is the root cause of ZK-1542
Under my test, zuljsp doesn't call a composer's doBeforeCompose(). This will cause @WireVariable not work.
Affected Version
since 1.4.1 to 2.1
Work Around
Call Selectors.wireVariables() manually in doAfterCompose().
public class SearchController extends SelectorComposer<Component> { public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); Selectors.wireVariables(getPage(), this, _resolvers); } }