cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh view from another component

Former Member
0 Kudos

I have a web dynpro component WC1 with view V1. In this view there are some radio buttons. On click of one of the radio buttons I am displaying the view V2 from another web dynpro component. This is done using viewcontainer UI element as I still want to show the radio buttons of V1. When the user clicks on another radio button and comes back to V2. It is not getting refreshed.

Kindly suggest how I can solve this issue.

Thanks,

Pooja

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

1.Make an Event in WC1.

2. Make the event handler for this event in WC2.

3. Now fire the event in WC1 on the click of Radio button .

4. In the event handler update the view of WC2.

check if above approach solve your issue.

Former Member
0 Kudos

Hi Pooja,

According to my understanding on action of radio buttons i hope you are calling some other component so on action of the radio button may be it might be any of the radio button u can set the radio buttons as it was initially and then call the screen ...

Setting the radio buttons should be done in the action of radio buttons... By doing this i hope that radio buttons will be set and second view also will be calleed when we go back to the screen we can view the radio buttons refreshed.. Try this hope it might be helpful...

Regards,

Sana.

Former Member
0 Kudos

Radio buttons are always displayed. I want to refresh the embedded view.