cancel
Showing results for 
Search instead for 
Did you mean: 

passing parameter from Visual composer iview to webdynpro Java iview?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

answered

Former Member
0 Kudos

Hello Divya V ,

Could please explain how did you solve your problem?

Thanks in advance.