on 09-28-2006 5:54 PM
Hi ,
I have created a road map Ui element in my development.
But when I am selecting the road map steps , it is not getting highlighted .
I do not know the actual reason .
Kindly let me know .
Best Regards
Sid
Assign an action "StepSelected" to the RoadMap.<i>onSelect </i>event and bind the RoadMap.<i>selectedStep </i> property to a context attribute, say "SelectedStep".
Define an event parameter mapping from event parameter "step" to an action parameter, say "selectedStep". Either do it using the mapping editor or by code:
void wdDoModifyView(...)
{
if (firstTime)
{
IWDRoadMap roadMap = (IWDRoadMap) view.getElement("ID-of-roadmap");
roadMap.mappingOfOnSelect().addSourceMapping
(
"step", /* or IWDRoadMap.IWDOnSelect.STEP */
"selectedStep"
);
}
In the action handler, you have to manually set the selected step to the new value:
void onStepSelected(..., String selectedStep)
{
wdContext.currentContextElement().setSelectedStep(selctedStep);
}
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you set the property "Design" of the roadmap to "selected"? If not then do and you will see that the roadmap step is selected.
Also see: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/6a/38ac3e24d44513e10000000a114084/content.htm">SAP Help Roadmap</a>
Hope it helps.
Kind regards,
Maarten.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.