on 07-20-2006 6:52 PM
Hi,
How should be used BreadCrumbMultipleStep, if we have to find out which step is clicked?
For single steps, we can do a parameter mapping, like :
IWDBreadCrumb bc = (IWDBreadCrumb) view.getElement("BreadCrumb1");
bc.mappingOfOnSelect().addSourceMapping("step", "stepSelected");
which brings the id of the step, as a parameter of OnSelect(). But in case of multiple steps it doesn't help at all...Any suggestions?
Regards, Konstantin
For such node-bound view elements, there exists an implicit event parameter named "nodeElement" of type IWDNodeElement.
Map this parameter to an action parameter of type IWDNodeElement (or you can use the concrete type of the node element I<name-of-node>Element).
bc.mappingOfOnSelect().addSourceMapping
(
"nodeElement" /* name of implicit parameter */
"selectedElement" /* name of your action parameter */
);
In the action handler, you can determine the selected step from the value of the node element.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Konstantin, hi all,
you can find documentation on the parameter nodeElement here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/60/1f1f056f057d4d962375efd3c92ed0/frameset.htm
Kind Regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.