Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Combine breadcrumb with a dataview

$
0
0
Hi,

I ran into a problem trying to use a breadcrumb with a dataview.

I have a dataview in which I can press a button. Upon clicking this button,
the next BreadCrumbPanel should be activated. For this I'm using the
BreadCrumbLink component, because my BreadCrumbPanel has a custom
constructor.

BreadCrumbLink redeemRulesLink = new BreadCrumbLink("test",
getBreadCrumbModel()) {
@Override
protected IBreadCrumbParticipant getParticipant(String
componentId) {
return new RedeemRulesPanel(componentId,
getBreadCrumbModel(), 1L);

};

this works when I exclude it from the dataview. When I insert it outside the
dataview, it doesn't do anything. When I add a breakpoint in the
getParticipant method, I notice that it never reaches this method. Does
anyone know the reason for this?

Thanks in advance.

Viewing all articles
Browse latest Browse all 5648

Trending Articles