Sure enough and it works well for the another nesting level. I placed my
filtered nested list below if others are interested. Note that while my
question was about using tags, the example below does in fact use a field
at [has[question]]. To make sure I understand [is[current]] correct, the
documentation at five.tiddlywiki.com says "*current*: selects the current
ContextTiddler."
So with nested lists, the ContextTiddler (I had to read the explanation)
changes depending on which part of a list is being processed at the moment?
It works really great. My list below takes question, answers, and answer
explanations and aggregates 50 or more tiddlers into one list.
<$list filter="[has[question]sort[title]]">
!<$view field="text"/>
<$list filter="[is[current]tagging[]sort[title]]" type="ol">
<$view field="text"/>
<$list filter="[is[current]tagging[]]" type="ul">
<$view field="title"/> - <$view field="text" format="wikified"/>
</$list>
</$list>
</$list>
Thanks, Joshua
On Saturday, September 14, 2013 10:45:37 AM UTC-5, Jeremy Ruston wrote:
>
> Hi Joshua
>
> Your example can be simplified a little. The filter operator
> `[question{!!question}]` selects all the tiddlers whose question field
> matches the question field of the current tiddler. It can be replaced by
> `[is[current]]`.
>
> Otherwise, the answer is pretty much as you inferred:
>
> <$list filter="[tag[question]sort[title]]">
> <$view field="title"/> - <$view field="text"/>
> <$list filter="[is[current]tagging[]]">
> </$list>
> </$list>
>
> Best wishes
>
> Jeremy
>
>
>
>
> On Thu, Sep 12, 2013 at 5:24 PM, Joshua <[email protected]<javascript:>
> > wrote:
>
>> This is using TW5. I have created the following nested list using a field
>> named "question" and it works well. If I wanted to do this with a tag named
>> "question" rather than a field, how would I do that? I'm pretty sure
>> "[tag[question]sort[title]]" would be the first list but I don't understand
>> the question{!!question} part of the second.
>>
>> <$list filter="[has[question]sort[title]]">
>> <$view field="title"/> - <$view field="text"/>
>> <$list filter="[question{!!question}tagging[]]">
>> </$list>
>> </$list>
>>
>> Thanks to anyone who can help,
>> Joshua
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.