!7
!include once #1013530 // Dyn
html {
uri = dropPrefix("/", uri);
S sfName = uri;
Collection l = (Collection) callSafeSF(sfName);
new L data;
for (O o : l)
data.add(o instanceof Map ? (Map) o : litorderedmap("ID" := str(o)));
temp tempSetThreadLocal(htmlTable_cellEncoder, func(S s) -> S {
empty(s) ? s : smartBot_linkedTopic(s)
});
ret htitle(sfName)
+ hfullcenter(
h2(sfName + " (" + l(data) + ")")
+ htable(data));
}