enabled active navigation in web
This commit is contained in:
parent
7eed07da38
commit
fc093b3ab8
3 changed files with 18 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue