cancel
Showing results for 
Search instead for 
Did you mean: 

capturing navigation event

Former Member
0 Kudos

Hi

Im using webdynpro to create a help application/iview.

The help should be page sensitive for example, if i have iview1 and the help iview on a page, the user chooses to navigate to page 2 of iview1 using those navigation buttons of an iview, then the help page should change/refresh to the help of iview1 page2.

I hope this makes sense

I want to raise an event when user chooses navigation button and send a page number parameter. So the help iview will subscribe to the event and refesh accordingly.

How do I capture the navigation event ?

Any help is appreciated.

Thanx

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Create an event handler for the on enter event of the navigation button and pass the required parameter through the Url

WDDeployableObjectPart deployableObjectPart=WDDeployableObject.getDeployableObjectPart(deployableObjectName,<TargetApplication name>,WDDeployableObjectPartType.APPLICATION);

String urlToTarget=WDURLGenerator.getApplicationURL(deployableObjectPart);

append the parameter to the urlToTarget

Hope this would help

Do revert for clarifications

Regards

Noufal