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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Windchill Client Architecture Tree

VasiliyRepecki
12-Amethyst

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.

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.

Announcements


Top Tags