on 05-27-2004 7:50 PM
Dear all,
I've seen some topics on how to exchange parameters between 2 components (but embedded one). What I would like to achieve is to exchange parameters/values between 2 components in a same web-dynpro application.
For example, component 1 expects user-input, on a go-button, this closes component 1, starts component 2 and passes the input.
The example in the help is 2 views in the same component, but I want 2 components and each has 1 view without embedding the one in the other (using viewsets to display)...
Any ideas how to get this working (interfaces, plugs, ... )
any help is welcome !
regards,
Stefaan Ovaere.
Hi Stefaan,
one possibility is to use an outbound plug of the used Sender component's interface view for transporting:
1. The on-go button fires the outbound plug with at least one parameter representing the payload.
2. The receiver component's interface view which should be "started" by the go-action has a similar inbound plug (same parameter signature).
3. The component, which uses the interface views of sender and receiver in it's view assembly defines a link between the outbound plug of sender and inbound plug of receiver.
Hope that helps.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefaan,
Maybe you can use two custom controllers and call one of the controllers as a used controller from the other one.
Best Regards, Ritu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
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.