on 11-14-2005 2:08 PM
Hello Guru's
I need to crate Roadmap that show something on step click
[1]->[2]->[3]
if onClick=1 =====> Show A
if .....
BUT when I listen onClick I cant catch which button pressed (and what I need Show).
One of the parameters in property's is SelectedStep .
In One of try I bind this parameter to Context but with out any (Positive) result .
any ideas????
wdDoModifyView(...)
if (firstTime)
{
IWDRoadMap roadmap = (IWDRoadMap) view.getElement("<roadmapID>");
roadmap.mappingOfOnSelect().addSourceMapping
(
"step" /*IWDRoadMap.IWDOnSelect.STEP*/, "selectedStep"
);
}
Define an action parameter "selectedStep" in the action attached to the "onSelect" event, this will contain the ID of the selected roadmap step.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem!!
I run into a Nullpointerexception when trying to initialize the step!!
public void wdDoInit()
{
//@@begin wdDoInit()
// initialize first step of road map
final String step1 = "RoadMapStep1";
wdContext.currentDialogDataElement().setSelectedStep(step1);
//@@end
}
Any Ideas/ Solutions on this one yet?
Thanks, JJJ
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.