Great! This did the trick - with a small modification. I had to set the
variable parameter of the
list widget to another value:
<$list filter="[all[current]tagging[]limit[1]]" variable="currentTiddlerInTheList">
<<t>>
</$list>
This needs to be done because the default name of the variable parameter is "currentTiddler". My <<t>> macro also uses that name, expecting it to point to the tiddler where it is used. But the list widget invocation changes it to the first tiddler tagged with the current tiddler. If i set the variable to another value, then currentTiddler in the <<t>> macro will stay unchanged and it works.
Thanks for pointing me in the right direction.
---
I didnt fully understand how the list widget works. It executes its content (as a template) for each tiddler in its result list. Also, interesting that
and
results in two different things. In the first case it uses the linebreak as the template (which results in nothing being shown), in the second it uses a default template (which is a link pointing to the tiddler).
---
In my opinion <$for-each>...</$for-each> would be a better name for the list widget, because list is an ambigous name - are we talking about the noun a list or about the action to list something. but thats another topic.