Diego,

Here is my version that works. And some notes

<$list filter="[tag{!!title}limit[1]]" variable=null>

  !! One or more Posts tagged with me

  <$list filter="[tag{!!title}]"></$list>

</$list>

Notes:

   - first[] would work but limit[1] make more sense to me
   - The First list would only return one tiddler as the currentTiddler, 
   the second list starts with this new "first" tiddler as the current tiddler
   - By placing variable=null on the outer list currentTiddler thus 
   {!!title} remains the actual tiddler this is what is required in the inner 
   list.
   - the inner-list needed to be closed with a </$list> and relies on 
   returning the list of title because it is "empty"

<$list filter="[tag{!!title}limit[1]]">

!! One or more Posts tagged with me

</$list>

<$list filter="[tag{!!title}]"/>
The above is logically the same (no inner or outer list), but as you did it 
uses /> to close the list, I avoid that as it is easier to see the list 
widgets open and close are balanced much clearer if you use </$list>

Regards
Tony

On Friday, January 18, 2019 at 7:41:45 AM UTC+11, Diego Mesa wrote:
>
> Hello all,
>
> Inspired by a recent Pull Request, I am trying to use the list widget to 
> replace my previous use of the reveal widget, but I came across a strange 
> problem with a list inside a list. 
>
> Steps:
>
>    - Go to tiddlywiki.com
>    - Replace the content of the HelloThere tiddler with the code below
>    - Note you see the "Posts tagged with me", but the inner list does not 
>    "fire". 
>    - If you remove the outer list, the inner list does "fire".
>
>
> <$list filter="[tag{!!title}first[]]">
>
>   !! Posts tagged with me
>
>   <$list filter="[tag{!!title}]"/>
>
> </$list>
>
>
> Thanks,
> Diego
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f4cb7350-84b3-4681-ab1c-443804d194d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to