Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi.
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?
Thanks.
Solved! Go to Solution.
Resolved.
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.
Resolved.
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.
Thank you Vasiliy for letting us know.