on 01-08-2008 9:44 AM
Hi All,
From my VC application, i want to pass 1 parameter value to webdynpro iview field. From the "signal out" of my vc iview, i have taken the "EPCM event", and "name". and have mentioned in webdynpro Java iview.
public void wdDoInit()
{
//@@begin wdDoInit()
WDPortalEventing.subscribe("urn:com.sap.vc:epcm", "Filter1",
wdThis.wdGetReactPortalEventingAction() );
//@@end
}
public void onActionReactPortalEventing(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
{
wdContext.currentContextElement().setName(dataObject);
//@@end
}
I combined the 2 iviews to a page.After i press the submit button in VC iview, the webdynpro iview field is showing me some garbage value.
As my sourceiview is VC, where can i write this code to fire the event when the button is pressed
public void onActionShow(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionShow(ServerEvent)
// String name = wdContext.currentContextElement().getName();
// WDPortalEventing.fire("urn:com.sap.vc:epcm", "Filter1",name );
//@@end
}
or how can i pass the parameter value to pass from VC to webdynpro contextfield?
Can anyone please help me out in solving this issue?
Regards,
Divya
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.