cancel
Showing results for 
Search instead for 
Did you mean: 

Problem of refreshing a tree in web dynpro java

Former Member
0 Kudos

hi all,

I'm facing a problem for refreshing a tree in web dynpro java for SAP HR.

I created a viewset with 2 cells( 1 view for each).

In the 1st view I created a droplistbyindex to select the unit ID and in the 2nd view ( defaut=false) I called a method to populate my tree according to my selection in the 1st view ( method called in wdInit).

When I make the first selection everything is ok.

But when I select another unit ID, the tree is not changed and I know the context is well changed according to my selection.

So I think the method is executed only the first the view is called.

In this case, how can I refresh my tree on real-time?

Thanks for your help

Yimin

Accepted Solutions (1)

Accepted Solutions (1)

former_member185029
Active Contributor
0 Kudos

May be u can write the code wdDoModify instead.

-Ashutosh

Former Member
0 Kudos

Thanks Asuothosh for your quick reply.

I have solved the problem on calling the method in 'OnPlugFromFirstView'.

Answers (0)