cancel
Showing results for 
Search instead for 
Did you mean: 

javascript

Former Member
0 Kudos

hello,

do you know how to call client javascript from a Java WebDynpro Application ?

the aim, behind this question , is to delete cookie session before opening a new window !

best regards,

Olivier.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hello,

thank you for your quick answer ....

but:

i forgot to mention, that the Web Dynpro Application is running on the WAS of the portal and not on the portal itself ... therefore there are no iview or portal event that i could use ....

to be more exhaustive, the WD APP is calling (with a simple button) an ITS server (ECC6 embedded but different form the WD app server) and the aim is to delete some cookies before the ITS page is displayed ...

best regards,

Olivier.

Former Member
0 Kudos

Hi Olivier,

You can call Java script frpm Web dynpro by

portal client eventing.

You can fire or receive events using EPCM.

For example you can fire a event from your java script in iview2 like

EPCM.raiseEvent(nameSpace, eventName, dataObject);

from your iview1(webdynpro) subscripe this portal event

like

WDPortalEventing.subscribe(

nameSpace, eventName, eventHandlerMethod);

You can also fire a portal event from webdynpro iview using

WDPortalEventing.fire(nameSpace, eventName, dataObject);

For further clarifications please refer the link:

http://help.sap.com/saphelp_nw2004s/helpdata/en/da/f96f4132f15c58e10000000a1550b0/frameset.htm.

Hope these help

Regards

Kiran..