cancel
Showing results for 
Search instead for 
Did you mean: 

RoadMap!!

Former Member
0 Kudos

Hi,

Can someone tell me whether clicking on a Roadmap step can lead to a view? If yes how do we do that?

vikram..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Assign an action "StepSelected" to the RoadMap.onSelect event. Bind the RoadMap.selectedStep property to a context attribute "SelectedStepId" of type "string".

In the action handler, you can now read the (new) selected step from the context and navigate to the target view:

void onStepSelected(...)
{
  final String stepId = wdContext.currentContextElement().getSelectedStepId();
  if ("<ID-of-step0>".equals(stepId))
  {
    wdThis.wdFirePlugTo<target-view-for-step0>;
  }
  else if (...)
  {
  }
}

Armin

Former Member
0 Kudos

this procedure is not working, i just tried it.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Chandra,

Please send your code and steps ehich you have implemented .

Thanks

Ritu

Former Member
0 Kudos

Same here, this solution does not work. I am using NW04s

Former Member
0 Kudos

Thanks Armin..Problem solved.

Former Member
0 Kudos

Hi Chandra,

Can you plz share your knowledge as how to develop a RoadMap in WD. Any simple example with step-by-step proc can do for me. Thanks a lot in advance

regards,

Ganesh

Former Member
0 Kudos

Chandra,

could you give me your code example