cancel
Showing results for 
Search instead for 
Did you mean: 

MultipleRoadMapStep

Former Member
0 Kudos

Dear All,

In MultipleRoadMapStep how can we make steps highlighted with colours?

Like i am having 3 steps and i need to make 1 step to be highlighted initially.

I am having a Viewcontainer which consits of Buttons as Next and Previous.If click Next button it should move to Step 2 and make step 2 highlighted.Samr thing for step 3.

Could you please suggest me how to proceed.

Regards,

Raj.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In the view where you have added roadmap step, put an if condition to check which step is slelected, and then for that step write the following code


wdContext.currentContextElement().setRoadMapStepDesign(WDRoadMapStepDesign.SELECTED);

Former Member
0 Kudos

Hi Aishwarya,

Thanx for your reply.

What is the type of "RoadMapStepDesign" attribute and is it to be mapped to which RoadMap Properties

Regards,

Raj

Former Member
0 Kudos

..............

Edited by: RAJESH NIMMAKAYALA on Aug 24, 2009 9:12 AM

Former Member
0 Kudos

Hi Rajesh,

Attribute "RoadMapStepDesign" is of type RoadMapStepDesign and it is mapped to "design" property of RoadMapStep

Former Member
0 Kudos

HI Aishwarya,

Thanx for your Reply.

I am able to set the design property.

Could please tell me how can i set next step as selected .

LIke i am having 3 steps and a form consits of Buttons like Next and Previous.

If i click Next Button i have to navigate to next step and highlighting the step.I think think this can be done by using StepID.

Can you provide me any useful code snippet .It will be very useful for me .

Thanx,

Raj

Former Member
0 Kudos

Hi,

Follow the steps given by armin in the following thread ...

Hope this helps you...

Regards,

Saleem

Answers (4)

Answers (4)

Former Member
0 Kudos

Solved

Former Member
0 Kudos

Hi Rajesh,

in the parent view you may need to create action method for onSelect of "RoadMap",

pass a string in that method and check that string against the ID of your road map step.

Now you can set the design of your steps as per your requirement

Former Member
0 Kudos

Hi Aishwarya,

I need to perform action in the view not on the Step.

Means,

i have a button in the view and an action is mapped to it .When this action is performed next step should be highlighted.

ID of the Roadmapstep is generated dynamically through context.

Could you plss gimme any suggestion.

Regards,

Raj

Edited by: RAJESH NIMMAKAYALA on Aug 24, 2009 12:09 PM

Former Member
0 Kudos

Hi Rajesh,

The solution that I have provided works for me highlighting steps as i navigate between them. There is no need to generate ID dynamically. Your 1 road map step is corresponding to one view.

If you provide the action for OnSelect event it goes and check which view is currently active irrespective of the action which made the view active.

You may need to fire out plugs from your button actions for views to change

Former Member
0 Kudos

Hi Aishwarya,

Thanks for all your replies.

Need some help from you regarding this issue.

My Scenario is like i will create Steps dynamically through node element size.

I am having 2 buttons namely "Next" and "Previous".

If i press "Next" button i need to go to next step and make that step Highlighted.

If i press "Previous" i need to go to previous step and make that step Highlighted.

at this point i got struck.

It will be very thankful for u if u send a sample code.

Thanks&Regards,

Rajesh N

Former Member
0 Kudos

.

Former Member
0 Kudos

..