cancel
Showing results for 
Search instead for 
Did you mean: 

how to set value to an attribute in a different view ?

Former Member
0 Kudos

hi

In my webdynpro application i have 2 view - view1 and view2

when i get view2 i want to update visability attributte in view1 (the attribute IS NOT shared in view2 he is only in view1). Is there a way to do that ?

thanks

Ami

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi,

Create that attribute in Component controller node and map it to view 2 and set the value.

Else when navigating back from view2 you can pass through outbound plug and set it in HANDLE<Inbound_plug> method.

Regards,

Kiran

Answers (2)

Answers (2)

Former Member
0 Kudos

as per your given requirenmnt visibility attribute is not shared b/w  view1 and view2

go in component controller and create  a differetn node with attribute with same type as your visibility attribute share it with both view

in view 2 set this new attribute value

in view1 WDMODIFYVIEW set visibility attribute with value in newly created attribute

former_member221367
Participant
0 Kudos

Hi Ami

First define that attribute inside a node in

COMPONENTCONTROLLER and then map that node inside two views