on 01-21-2007 4:07 AM
hi, all
I used the view of web dynpro component 1 to call the view of component 2.
I want transport two input field from 1 to 2.
But i only can use 2 as interface for 1.
how can i use the 1 as interface for 2?
who can help me?
Thanks a lot!
Hi,
Don't know if i understood your Ques Correctly, but as per my knowledge and understanding, u want to transfer data between 3 components, without doing context mapping.
Steps:
A : With Click of a button say( go to Next), you can fire a outbound plug. This outbound plug has to be of the window, and with this plug you can pass as many parameters as required from one window to a diff window/view of a separate Component .
B: Make an inbound plug of the view of ur 2nd component and make a navigation link. With this you would be able to get the values passed by the 1st window. This View may/or may not be the default view of the 2nd window.
C:You have to declare the Component Usage of ur 2nd component in 1st comp.
Hope this helps.
Cheers.
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Phil,
I think you misunderstand what's means of li pei.
his means is:
A is a component for logon page.
B is one component for the main page.
C is one component for the error page.
ACTION:
1.
Type userid and password in the textinput in the logon page("A"),
2.
Then the user login the next page("B" or "C").
Question:
How do you transfer the context node of A to next page("B" or "C"), excepting embed the component("B" or "C") TO A -
because we don't want to remapping 2 context node(of B AND C) to A?
I and Li Pei try to embed the A to B and C component, and create mapping separatly between A and B,C, but we don't get the context node value of A from B or C. That is,
A invoke B or C. A uses views of B or C, and this B or C views use context nodes (by mapping) from A. This is a reciprocal component usage. Is this allowed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If i want to use the view of component 1 to call view of component 2 and 3 etc, And
transport two parameters.
But i want to create the interface once, so i use the component 1 as interface.
How do i use it to transport parameters to component 2 and 3 ?
thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pei Li,
If I undertood the question,
how can 2 WDCs call each other.
It is done via Method calls outbound and method event handlers inbound.
In the 2nd WDC, register an EVENT . The event can have parameters.
Fire this event nad pass any parameters appropriate.
The first component has a method of type event handler.
The component usage must first be declared in properties tab.
The method in component 1 now gets control after the event is fired.
In summary, the COMPONENT USAGE
is METHOD calls ->
and Method Event handlers <-
regards
Phil
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.