-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.0
-
Component/s: Content Views
-
Sprint:Sprint DM/Studio 5.9.6-3, Sprint DM/Studio 5.9.6-5
We already have similar logics for nxu:selectItems and nxdir:selectItems, create similar widget types handling count for aggregates (refactoring existing code for better reuse):
<nxu:selectItems var="item" itemValue="#{item.id}" itemLabel="#{item.label} (#{item.count})" /> <nxdir:selectItems var="item" directoryName="foo" itemValue="#{item.id}" itemLabel="#{item.vocabulary.label} (#{item.count})" />
+ handle dbl10n property on nxdir:selectItems for removal of nxdir:selectOneDirectory and nxdir:selectManyDirectory (or provide migration tag handlers)
+ selenium tests on layout demo