Managed empty service list.
This commit is contained in:
parent
ffbfde3fdd
commit
9d6dbf24d2
1 changed files with 105 additions and 99 deletions
|
@ -57,6 +57,12 @@ public class ServiceListView
|
|||
|
||||
TagDataManager data = new TagDataManager();
|
||||
|
||||
if (services.isEmpty())
|
||||
{
|
||||
data.setAttribute("serviceListLine", "class", "xid:nodisplay");
|
||||
}
|
||||
else
|
||||
{
|
||||
int index = 0;
|
||||
for (Service service : services.sortByName())
|
||||
{
|
||||
|
@ -158,7 +164,7 @@ public class ServiceListView
|
|||
|
||||
index += 1;
|
||||
}
|
||||
|
||||
}
|
||||
result = PresenterUtils.dynamize("/fr/devinsy/statoolinfos/htmlize/serviceListView.xhtml", data).toString();
|
||||
result = XidynUtils.extractBodyContent(result);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue