on 04-09-2007 9:44 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.