enabled active navigation in web

This commit is contained in:
Ziver Koc 2016-04-06 17:20:47 +02:00
parent 7eed07da38
commit fc093b3ab8
3 changed files with 18 additions and 5 deletions

View file

@ -202,5 +202,14 @@ public class WANavigation implements Iterable{
public String getName(){ return nav.getName(); }
public String getUrl(){ return nav.getUrl(); }
public Object getResource(){ return nav.getResource(); }
public boolean equals(Object o){
if (o instanceof WANavigation)
return nav.equals(o);
else if (o instanceof NavInstance)
return nav.equals(((NavInstance) o).nav);
return false;
}
}
}