on 07-27-2005 4:23 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.