I'd say you can basically invert your solution, i.e put the listwidget + 
actionwidget inside the button.

I have not tested the following, I've blatantly written "$action" where it 
said "$button" previously so this is just to illustrate my point - it has 
surely faulty syntax. Also I'm not sure a fieldmangler is needed:

<$button class="button">
<$fieldmangler>
<$list filter="[is[current]tag[KA01]]">
<$action message="tm-remove-tag" param="KA01">{{check}}<<tag KA01>
></$button>
</$list>
<$list filter="[is[current]!tag[KA01]]">
<$action message="tm-add-tag" param="KA01"><<tag KA01>></$button>
</$list>
</$fieldmangler>
</$button>


<:-)

-- 
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/8c816441-6937-4dd1-96f8-1d3acb376551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to