on 04-10-2008 8:20 PM
Hi All,
I am trying to get eventing to work between a WebDynpro (Java) iView and a VC iView.
Both the iViews are setup on a single page. The VC iView is in Flex.
from the Dynpro iView (on a button action) I do this
WDPortalEventing.fire("urn:com.sap.vc:epcm","CityFrom",cityFrom);
On the VC iView. I have a Signal In with the following params:
Input Signal
Name : CityFrom
EPCM Event : com.sap.vc:epcm
The signal is connected to a form with a single field CityFrom. I configured the Data flow element (the connecting line between the Signal and the form to include the field in question)
When I click the button nothing happens. The VC fields are blank
I tried the followng:
I tried compiling the VC iView to WebDynpro: Still does not work.
I tried the WD iView with another WD iView that subscribes to the event and this works fine.
So it looks like I am doing something wrong on the VC side. Can anyone point me in the right direction?
Cheers
Santy
Hi,
To send parameters between Web Dynpro and Visual Composer iviews, the Web Dynpro iview has to construct an XML-format string and send it as the parameter.
In other words, instead of sending the city name (in your example) as the parameter, you have to create a string in the format:
<Params version="2"><Row CityFrom="{city from}" /></Params>
where {city from} should be replaced with the value of cityFrom variable in the Web Dynpro application.
In Visual Composer, the signal in should have CityFrom parameter to receive the value sent from Web Dynpro.
Hope that helps.
Best regards,
Tal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello VC Gurus.
I am still stuck with the problem. I stripped the problem down to the bare minimum and tried out different combinations.
I have posted up details of my investigation here.
http://santy.wikidot.com/wd-vc-portal-eventing
Could any of you please have a look?
TIA
Santy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.