Skip to Content
avatar image
Former Member

BreadCrumb Navigation

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 31, 2006 at 09:19 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 15, 2006 at 04:46 AM

    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

    Add comment
    10|10000 characters needed characters exceeded