on 04-30-2007 8:02 AM
Hi All,
I am using roadmap in my application.... but in that when my step changes,then its color does not change i.e. i am not able to differentiate the selected step from the rest of steps.
I have binded the selected step property with the context node.
Thanks in advance...
Hi Vishal,
We have associated a context attribute to the SelectedStep property of the RoadMap UI element. When we change the roadmap step then make sure to change this attribute content to new step.
Best regards,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if this is done close the thread and give the points.
Nirad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I resolved by adding source mapping of step parameter to selectedStep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Vishal these r the steps ,
1.Define a node with attributes Step & Next Step.
2.When ever you click on next Button , in event handler call this method .
wd_Comp_Controller->Continue( ).
3. In Method Continue() code this.
Node_Roadmap = wd_Context->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Roadmap ).
* get element via lead selection
Elem_Roadmap = Node_Roadmap->get_Element( ).
* get single attribute
Elem_Roadmap->get_Attribute(
exporting
Name = `STEP`
importing
Value = Item_Step ).
CASE Item_Step.
**Set Next step
When 'STP_DIMENSION'.
Stru_Roadmap-STEP = 'STP_INPUT'.
Stru_Roadmap-NEXT_ENABLED = abap_true.
*set next step
When 'STP_INPUT'.
Stru_Roadmap-STEP = 'STP_RESULT'.
Stru_Roadmap-NEXT_ENABLED = abap_false.
When others.
Stru_Roadmap-NEXT_ENABLED = abap_false.
Endcase.
Node_Roadmap->set_static_attributes( Stru_Roadmap ).
wd_this->fire_navigate_evt( Stru_Roadmap-STEP ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Bind the SelectedStep Property of the roadmap to a context attribute named NODE.
Regards,
Shruthi R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
How do you catch which step has been clicked on the roadmap? I mean how do you know that in your onSelect event?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.