cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh the contents of input fields

Former Member
0 Kudos

Hi All,

I have a window which embeds 4 different windows of 4 different components.

RMAN_PRSPCONFMAIN_COMP

RMAN_PRSPCONFACTIV_COMP

RMAN_PRSPCONFHEADER_COMP

RMAN_PRSPCONFBUTTON_COMP

Now the 'RMAN_PRSPCONFBUTTON_COMP' has two buttons 'Previous' and 'Next' in its layout.

On the click of 'next' i want to refresh the contents of the input fields in the layout of the first three components.

But the context of 'RMAN_PRSPCONFBUTTON_COMP' is empty.

How can i achieve this ?

Thanx in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Veena.

You could define an interface event in the RMAN_PRSPCONFBUTTON_COMP

component which the main component which embedds all 4 component usages

could register for. If the next button is clicked just fire the event.

The main component could then easily manipulate the context of the other used

components in its event handler method. Now it depends on how you fill the context.

If you use reverse mapping you just have to invalidate the mapped conmtext. If not

you could create some interface methods in the component controllers of the

other used components which could be called by the main component.

In this methods just invalidate the context of the input fields.

Hope this helps.

Cheers,

Sascha

Answers (0)