IDEMPIERE-4908 Not unique in the ID space of ... breadcrumb with same name tabs (FHEG-8847) (#822)
This commit is contained in:
parent
29343610ca
commit
5ede13acee
|
@ -156,7 +156,7 @@ public class BreadCrumb extends Div implements EventListener<Event> {
|
|||
if (clickable) {
|
||||
BreadCrumbLink a = new BreadCrumbLink();
|
||||
a.setLabel(label);
|
||||
a.setId("breadcrumb-"+label);
|
||||
a.setId("breadcrumb-"+id+"-"+label);
|
||||
a.setPathId(id);
|
||||
a.addEventListener(Events.ON_CLICK, this);
|
||||
if (layout.getChildren().size() > 0) {
|
||||
|
@ -167,7 +167,7 @@ public class BreadCrumb extends Div implements EventListener<Event> {
|
|||
layout.appendChild(a);
|
||||
} else {
|
||||
Label pathLabel = new Label();
|
||||
pathLabel.setId("breadcrumb-"+label);
|
||||
pathLabel.setId("breadcrumb-"+id+"-"+label);
|
||||
pathLabel.setValue(label);
|
||||
if (layout.getChildren().size() > 0) {
|
||||
Label symbol = new Label();
|
||||
|
|
Loading…
Reference in New Issue