[tw] Re: [TW5] ListWidget can't solve it, so how...

2016-01-24 Thread Mat
Eric wrote: > You can wrap the 'heading' output in it's own <$list> widget, using the > same filter as the one that follows it, but with "limit[1]" added. This > effectively turns the $list widget into an "if not empty" test for > conditionally displaying the enclosed content. > Brilliant!!!

[tw] Re: [TW5] ListWidget can't solve it, so how...

2016-01-23 Thread Eric Shulman
On Saturday, January 23, 2016 at 3:57:38 PM UTC-8, Mat wrote: > > <$list filter="[tag[class]]" variable="class"> >__<>__ ><$list filter="[tag]" variable="pupil"> > - <> > > > ...should not at all show Class2 as there are no pupils tagged with this > class. > > How can I get this