From: Svjatoslav Agejenko Date: Sun, 21 Apr 2013 16:06:27 +0000 (+0300) Subject: menu HTML layout fix X-Git-Tag: svjatoslavcommons-1.8~146 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=7005bc7aaadde8c8e2d48d823a48027299ba843d;p=svjatoslav_commons.git menu HTML layout fix --- diff --git a/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java b/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java index 3a07bbd..42720c9 100755 --- a/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java +++ b/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java @@ -40,7 +40,8 @@ public class Navigation { result.append("
"); - for (final NavigationItem item : rootNavigationItem.getSubElements()) { + for (final NavigationItem item : getRootNavigationItem() + .getSubElements()) { if (item == selectedItem) result.append(""); - result.append(item.getTitle()); + result.append("
" + item.getTitle() + "
"); result.append("
"); }