cancel
Showing results for 
Search instead for 
Did you mean: 

BreadCrumb Navigation

Former Member
0 Kudos

Hello!

I found the information on BreadCrumb Navigation, that it can be used to display a history of the last pages visited, or to display a hierarchical structure. The first is interesting for me. Unfortunately i didn´t find a tutorial or example, how to implement this functionality. Can anybody provide some information for me?

Thank you in advance!

Kind Regards

Ilona

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ilona ,

Since BreadCrumbstep has to be added to BreadCrumb and BreadCrumb step extends IWDUIElement , you can create the steps and add to the breadcrumb...

and once you add handle the onselect event and do the parameter mapping , and it is ready to use

if(firstTime)

{

IWDBreadCrumb breadCrumb = (IWDBreadCrumb)view.getElement("BreadCrumb1");

IWDBreadCrumbStep step = (IWDBreadCrumbStep)view.createElement(IWDBreadCrumbStep.class,"test");

//step.bindText("test");

step.setText("test");

breadCrumb.addStep(step);

step = (IWDBreadCrumbStep)view.createElement(IWDBreadCrumbStep.class,"test1");

//step.bindText("test");

step.setText("test1");

breadCrumb.addStep(step);

step = (IWDBreadCrumbStep)view.createElement(IWDBreadCrumbStep.class,"test2");

//step.bindText("test");

step.setText("test2");

breadCrumb.addStep(step);

}

Hope this is useful.....

thanks and best regards

krishna

Former Member
0 Kudos