Hello,

I find that people experiences lots of problems when using nested list. The 
main problem is losing the reference to the current tiddler. Many people 
solves this using the set widget:

<$set name="parent" value=<<currentTiddler>>>
<$list filter="[tag[sometag]]">
I'm on <<parent>>. Item from the list  <<currentTiddler>>
</$list>
</$set>

I used and saw even more twisted configurations. If the problem is losing 
the reference to parent, then the list widget has a feature that can help 
you giving better names to items on the list:

<$list filter="[tag[sometag]]" variable="item">
Now I can use any kind of reference to parent: {{!!title}}, <
<currentTiddler>>. And the list items are more obvious: <<item>>
</$list>

You can go as deep as you want
<$list filter="[tag[sometag]]" variable="item">
<$list filter="[tag<item>]" variable="subItem">
I can still referencing parent {{!!title}}. Items: <<item>> <<subItem>> 
</$list>
</$list>

You can use the variables at any level and make any kind of configuration 
you want. Everything will keep neat and clear:

<$list filter="[tag[sometag]]" variable="item">
Here I am on the <<currentTiddler>> listing subItems of <<item>>
<$list filter="[tag<item>]" variable="subItem">
I can still referencing parent {{!!title}}. Items: <<item>> <<subItem>> 
</$list>
</$list>



Pretty nice, clear, powerful and flexible I think.

-- 
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/d/optout.

Reply via email to