The question:  How to display values of indexes in a single list 
indexes/values for multiple data tiddlers.  Details below.

What I'm attempting to do is display indexes/values for a single list 
displaying indexes/values from multiple data tiddlers using a filter run to 
select the data tiddlers.  The data tiddlers are all taggged "dataset" and 
are spread through different groups (different monsters) and each group has 
several different data tiddlers that have different suffixes (like monsters 
mobs/hau used in the code example below).  These suffixes are used in all 
the groups, so there would be 10 data tiddlers with the suffix mobs/hau.

First part of code is the data tiddler suffix selection for the filter 
run.  Only one select is shown.  It selects the suffix, in this case 
mobs/hau.  It passes the suffix value to a filter run in the display table.

Select a monster category <$select field='filter-field2'>
<option value='mobs/hau'>Monsters and their haunts</option></$select>

<$set name="data" value={{!!filter-field2}}>
<table style=""><tr><th>Monster (index title)</th><th>Haunt (value)</th></tr
><$list filter="[tag[#dataset]suffix<data>indexes[all]]">
<tr><td>{{!!title}}</td><td><$transclude tiddler=<<data>> index=<<
currentTiddler>>/></td></tr></$list></table></$set>



The standard code for the display table works for displaying indexes/values 
for single data tiddlers but when I pass a filter run (to list multiple 
data tiddlers) to it, it will display index titles but not the values.  I 
figure it's the transclude widget which uses a tiddler name instead of a 
filter parameter.

I probably should be using the tiddler widget instead of the transclude 
widget?  I've seen others using it for data tiddlers.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/20b9511b-3562-40da-b146-c12fb5f06e0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to