on 10-13-2004 10:54 PM
Hi,
I need to define RoadMap in my wizard application and don't see enough documentation available. The first question - is there a way to define on step click action, to use RoadMap interactively. For example, click on particular box will change the view by displaying more details about this step.
Another question how to define RoadMap step dynamically, the number of steps is not fixed, user will be able to add steps, delete, and so on.
Thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tatyana,
> they didn't answer my questions...
Most of them they do!
(a) RM's are not designed as navigation elements. Pointed out by Stefan Klensch.
(b) Within the same thread there is a link to the API doc as well as mentioned that there are methods to add...
So as far as I can see, you have to define all possible RoadMapSteps at design time. At run time, you then can easily <i>remove(...)</i> or <i>add(...)</i> steps as you like.
What you cannot do, at least noone has mentioned it ever and I couldn't find it within JavaDocs, is to add a completely new step, i.e. creating an instance of a RoadMapStep.
If you have the need for that, address it to the product management, I would suggest...
Hope it helps
Detlev
A RoadMap step can be created at runtime like any other UI element. Note that UI elements can only be accessed in the method wdDoModifyView() of the view controller.
IWDRoadMapStep step = (IWDRoadMapStep)
view.createElement(IWDRoadMapStep.class, "stepId");
IWDRoadMap roadmap = ...;
roadmap.addStep(step);
Armin
Hi Armin,
great to know. It has been some months ago now that I have been deeper in WD development...
The problem with the API is, that this solution for it's generic cannot be found by APIDoc, where you normally look under "Use" which class returns an instance of this interface.
Would be an idea to add less generic factories, wouldn't it?!
Thanks & bye
Detlev
Hi Armin,
Thank a lot for explanation how to create steps in runtime. Predefined steps in design time were absolutely unacceptable in our case. We still have problem to implement our UI because of missing on-step action, and it looks really weird not to provide such a possibility. Road Map Component in HTMLB which looks the same way has on step click events and I don't see any reason why Web Dynpro is missing it, it's really a gap.
One of the solution I have in mind to provide a navigation is to use Road Map with next/previous buttons on the bottom of the view. So the navigation is done with these buttons and the RoadMap only shows the state-info. Which is not very beautiful but at least something...
Thanks,
Tatyana.
Hi Tatyana,
> One of the solution I have in mind to provide a
> navigation is to use Road Map with next/previous
> buttons on the bottom of the view. So the navigation
> is done with these buttons and the RoadMap only shows
> the state-info
That's exactly what I have done. Concerning implementation, you can put these buttons in their own view and integrate the view on the main view(s) (so reuse works...).
> Which is not very beautiful but at least something...
But this is how most install wizards on windows for example work (at least with the next/previous buttons). So it is at least not that unusual!?
> Road Map Component in HTMLB
Within BSP's? (I don't know them.) I'm just estonished as there is no RoadMap element in HMTLB for Java...
Have a nice weekend
Detlev
User | Count |
---|---|
83 | |
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.