cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Windchill Client Architecture Tree

SOLVED
Highlighted

Windchill Client Architecture Tree

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.

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Windchill Client Architecture Tree

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.

2 REPLIES 2

Re: Windchill Client Architecture Tree

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.

Re: Windchill Client Architecture Tree

Thank you Vasiliy for letting us know.