cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Selection and Lead Selection - Component Controller vs. View

Former Member
0 Kudos

Hi experts,

I have a problem:

I got a context node "ABSCHNITT" in component controller and have mapped it to VIEW_ABSCHNITT Context with the same name.

In Debugger I can see the selection and lead selection in component controller method, but in wddomodify when i get the same node the selection and lead selection is initial and 2-....

What can be the reason for this effect ?

Any hints are appreciated...

Best regards

hhermann

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Heinrich,

   There can be two possibilities.

1. You mappng is not updated i.e you have changes something in component controller but not updated the mapping in the corresponding view.

2. There sequence of actions gets executed ( hook methods) when an applicaiton runs. Like wddoinit(view) -> wddoint(component controller) ..like that. So check if any of the hook method which is running in between of your mentioned actions is updating the context value or not.

Reply in case of any update.

Regards,

Monishankar Chatterjee

TobiasHaesler
Explorer
0 Kudos

Hi Monishankar,

I'm a work colleague of Heinrich and am working currently with the problem.

Now I have set a breakpoint in the WDDOINIT of the CC to look, where the selection is gone. But already at this point there is no selection in the node, alltough we have set the Option

"Initialization Lead Selection" in the context-node.

How can that be, 2 weeks ago it was still functioning.

Regards,

Tobi

Former Member
0 Kudos

try changing name of view node as same as component controller