<$list filter="[foo[bar]is[emptyList]]">
<$button>foo</$button>
</$list>\define showitem() <$button>{{!!title}}</$button>
\define showempty() no items
\define filter() [foo[bar]]
<$list filter=<<filter>> emptyMessage=<<showempty>>> <<showitem>> </$list>
To conditionalize output based the empty/non-empty state of the filter results, use the *emptyMessage* param in the $list widget.
+[limit[1]]