cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the selected step in the breadcrumb

Former Member
0 Kudos

Dear Experts,

I have implemented the breadcrumb with multiple breadcrumb steps. I am able to add the step dynamically by populating the context node of this breadcrumb. My requirement is if user click on any step it should navigate to the other view i.e I need to get the selected step. I tried to get the current element of the node which is bound to the breadcrumb. It always give me the first element of the node.

Is there any work around to get the selected steps?

Thanks in advance for your help!

Ram

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member442169
Participant
0 Kudos

Hi,

Are you added source mapping for BreadCrumb like below?


if (firstTime) {

			  IWDBreadCrumb bc = (IWDBreadCrumb) view.getElement("BreadCrumb");
			  bc.mappingOfOnSelect().addSourceMapping("nodeElement", "element");

		  }