cancel
Showing results for 
Search instead for 
Did you mean: 

Please teach the method of setting Roadmap.

Former Member
0 Kudos

Hi,

Please teach the method of setting Roadmap.

My wanting to do...

In the condition branching,

I want to change Design of Step of RoadMap to disable.

Though it is thought that the method below is used...

-


IWDRoadMapStep design = (IWDRoadMapStep)view.getElement("id");

design.bindDesign(?????);

-


How should I allocate it in made UIElement?

If possible, could you teach in the sample code etc.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

Just a tip... Your NDS has a help option.. Click Help Contents.. it has WebDynpro applications section..which has UI element docmentation..API documentation.. their usage ,sample codes.. and a lot more informative things.. which even the experts around might not have had chance to go through fully..

It will provide u faster answers.. and you will also get a deeper insight into the problem.

But when you still face problems with it.. there is always SDN to help you out.

Thanks and Regards

Bharathwaj

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bess,

1) Create an attribute of type 'RoadMapStepDesign' (For the type, navigate to 'Dictionary Simple type' -> 'com.sap.ide.webdynpro.uielementdefinitions' ->'RoadMapStepDesign'.

2) Bind the 'design' property of the desired step to this attribute. (Only if you are building the UI element dynamically you need to bind it through program. Otherwise you can bind it at design time)

3) Now when required, you can change the design of the step like:

wdContext.currentContextElement().set<attribute name>(WDRoadMapStepDesign.DISABLED);

(assuming you have created the attribute under the root)

Hope this helps,

Best Regards,

Nibu.

Former Member
0 Kudos

Hi,

Thank you for the answer.

It tries by the teaching method.

Or, please teach when not driving it.

Regards,

Former Member
0 Kudos

Another Tip

If you know structure(steps) of RoadMap in advance and to display conditionally, create it during design time and change the visibility dynamically.

Look at Armin's response in this