Hello, Tobias and Birthe *$project$* reference doesn't seem to work only *<<project>>* does, but I still didn't find a way to reference it from inside an attribute value:
<$list filter="[all[current]tag[projects]]"> <$set name="project" value=<<currentTiddler>>> project: $project$ - doesn't work<br> project: {{project}} - doesn't work<br> project: {{!!project}} - doesn't work<br> project: <<project>> - works<br> <input type="button" value="<<project>>" /> - doesn't work<br> <input type="button" value="<project>" /> - doesn't work<br> <input type="button" value="$project$" /> - doesn't work<br> <input type="button" value="$(project)$" /> - doesn't work<br> <input type="button" value="{{project}}" /> - doesn't work<br> <input type="button" value="{{!!project}}" /> - doesn't work<br> </$set> </$list> *$:/core/ui/Buttons/new-here* solution with *define* statement works for setting new tags for action-sendmessage: \define currentProjectTaskTags() [[$(currentTiddler)$]] tasks \end <$list filter="[all[current]tag[projects]]"> <$button> <$action-sendmessage $message="tm-new-tiddler" title="New task" tags=<< currentProjectTaskTags>>/> New Task </$button> </$list> Now the question is how to reference it from inside *filter* attribute of *$list* statement: \define currentProjectTaskTags() [[$(currentTiddler)$]] tasks \end <$list filter="[all[current]tag[projects]]"> <ul> <$list filter="[all[current]tagging[]tag[tasks]!tag[done]sort[created]]" > <li> <$checkbox tag="done"> <$link to={{!!title}}><$view field="title" /></$link></$checkbox> <$list filter="[all[current]tags[]sort[title]]- *???currentProjectTaskTags???*" template="ShowTagTemplate"/> </li> </$list> </ul> <$button> <$action-sendmessage $message="tm-new-tiddler" title="New task" tags=<<currentProjectTaskTags>>/> New Task </$button> </$set> </$list> On Wednesday, November 19, 2014 1:42:16 PM UTC+4, Tobias Beer wrote: > Hi Dmitry, > > >> 1. How to reference current tiddler in a tag list for a "tasks" item to >> exclude current "projects" tiddler from shown tags? >> > 2. How to reference current tiddler in action-sendmessage to make created >> "tasks" tiddler tagged with current "projects" tiddler? >> > > Try fiddling with the set widget (warning: pseudo-code!): > > <$list> > <$set name="project" value=currentTiddler>>> > <$list> > $project$ > </$list> > </$set> > </$list> > > Please report back on your final solution. > > Best wishes, Tobias. > -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.