I have a problem with tree in wizard.
My wizard contains tables on 1-st and 2-nd steps and tree on 3-rd. Tree is created from objects selected on 1-st and 2-nd steps (i can get them by NmCommandBean.getNmOidSelected() method).
The first invocation of wizard works fine.
On second and others TreeHandlerAdapter does not work. The NmCommandBean.getNmOidSelected() returns empty list, and TreeHandler.getRootNodes() is not invoked at all?
How can this problem be solved?
Go to Solution.
I was mistaken with error detection.
On second wizard invocation root nodes were not expanded.
Problem resolved by overriding TreeHandlerAdapter.isExpandNeeded and TreeHandlerAdapter.hasChildren methods.
View solution in original post
Thank you Vasiliy for letting us know.
Upcoming October 2019 Regional User Groups