cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Roadmap how to implement it?

Former Member
0 Kudos

Hi All!

I am going to use the Roadmap control, but i am no quite sure how it works.

Could any of you perhaps tell me how to use it, or tell me where i can find the proper documentation / tuturial on how to.

I have seen the documentation in the refrence guide but this does not tell much about how you use it in practice.

Best regards

Ronni Hostrup

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ronni,

Refer the following thread "Roadmap example"

Hope this might be useful for you.

Regards,

Santhosh.C

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In this case you need to pass this information through coustom/Component controller.

When you navigate from View1 to View2, in the roadmap you want to move to step2.

Bind the selectedstep property of Roadmap to an context attribute and map the same contextattribute to custom/componentcontroller and change the values accordingly .

Regards, Anilkumar

Former Member
0 Kudos

Hi Again All!

Thanx Alot for the help!

By Combining the answers i brought life to my roadmap

Best Regards

Ronni Hostrup

Former Member
0 Kudos

Add a RoadMap to your view, add RoadMapStep elements (Outline view -> context menu -> Add Step). Bind the name and description properties to context attributes or set them statically.

Attach an action to the RoadMap.onSelect event. If you need to get the ID of the selected step in your action handler, then add an action parameter "selectedStep" and perform an event parameter mapping for parameter "step" like this:

wdDoModifyView(...)
{
  if (firstTime)
  {
    IWDRoadMap roadMap = (IWDRoadMap) view.getElement("RoadMapID");
    roadMap.mappingOfOnSelect().addSourceMapping("step", "selectedStep");
  }
}

Or do you need it more dynamically?

Armin

Former Member
0 Kudos

Hi Again!

First of all thanks alot for the answers

I think i got a better idea of how it works now, but there stil something i haven't figured out yet.

This is how far i got:

I have 1 window, to this window i have added af ViewSet , with 1 view in the top(<i>roadmapView</i>), and 3 views in the bottom (<i>Step1View, Step2View, Step3View</i>)

I have added 3 steps to my roadmap, and i have added different content to the 3 stepviews.

This is how i believe it is to be done:

i have to navigate between the 3 views in a usual manner (<i>with in/out bound plugs</i>).

When i fire the outplug from ViewStep1(<i>eg. with a button</i>) This is where i also have to change the step in the roadmap right<b>?</b> from the first to the second step, but how<b>?</b>

Help would be highly apreciated!

Best regards

Ronni Hostrup