on 01-23-2006 8:41 AM
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,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.