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

We are happy to announce the new Windchill Customization board! Learn more.

Windchill Client Architecture Tree

VasiliyRepecki
1-Newbie

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

2 REPLIES 2

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.

Top Tags