Hi Måns,
I started with the most recent of your messages so I don't know
whether this will get you any further toward your ultimate goal, but
you can make the last version you posted work by adding back in the
word "write" .

When I tested that, I noticed that of course using a checkbox to add a
tag to a tiddler listed on your table will have the result that the
tiddler will have two tags - which means it won't meet the search
criteria of 'tiddler.tags == context.inTiddler.title' anymore.  If you
want a more inclusive approach, you could use "contains" instead of
"==".  So if you were going to do that, the new version restoring the
somehow lost "write" would start like this:

<<forEachTiddler where ' tiddler.tags.contains
(context.inTiddler.title)' write '(index < 200) ? "|"+.....
cmari

On Feb 25, 3:40 pm, Måns <humam...@gmail.com> wrote:
> When I write this:
> <<forEachTiddler
> where
> ' tiddler.tags == context.inTiddler.title '
> '(index < 200) ? "|"+(index+1)+"|[["+tiddler.title+"]]|[["+tiddler.data
> ("A")+"]] | [["+tiddler.data("B") +"]] | <<toggleTag A
> [["+tiddler.title+"]] nolabel \>\> | <<toggleTag B [["+tiddler.title
> +"]] nolabel \>\> |\n" : ""' >>
>
> I get this: <<forEachTiddler ...>>: Unknown action '(index < 200) ?
> "|"+(index+1)+"|[["+tiddler.title+"]]|[["+tiddler.data("A")+"]] |
> [["+tiddler.data("B") +"]] | <<toggleTag A [["+tiddler.title+"]]
> nolabel \>\> | <<toggleTag B [["+tiddler.title+"]] nolabel \>\> |\n" :
> ""'.
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to