Sorry, Stephan, I didn't understand you clear. Now I see your point: to 
have two separate defines: for tags in the list and for tags for a new 
tiddler.

So now the version is:
\define currentProjectTaskTags()
[[$(currentTiddler)$]] tasks
\end

\define currentProjectTaskListTags()
[all[current]tags[]sort[title]]-[[$(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=<<currentProjectTaskListTags>> template=
"ShowTagTemplate"/>
      </li>
    </$list>
  </ul>
  <$button>
    <$action-sendmessage $message="tm-new-tiddler" title="New task" 
tags=<<currentProjectTaskTags>>/>
    New Task
  </$button>
</$list>

But it still shows current "projects" tiddler tag in the list of task tags 
(but "tasks" tag is hidden as it should)


On Wednesday, November 19, 2014 8:58:22 PM UTC+3, Dmitry Skopa wrote:
>
> Hello, Stephan
>
> I understand this, cause action-sendmessage works fine with 
> *tags=<<currentProjectTaskTags>>*. But in the inner list I want these 
> tags (currentProjectTasks) to be excluded from 
> *[all[current]tags[]sort[title]]*
>
>
> On Wednesday, November 19, 2014 7:39:56 PM UTC+3, Stephan Hradek wrote:
>>
>>
>>
>> Am Mittwoch, 19. November 2014 17:12:47 UTC+1 schrieb Dmitry Skopa:
>>>
>>>
>>> <$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>
>>>
>>>   <input type="button" value=<<project>> /> - should work<br>
>>
>>
>> Try:
>>  
>> \define currentProjectTaskTags()
>> [all[current]tags[]sort[title]] -[[$(currentTiddler)$]]
>> \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=<<currentProjectTasks>> template="ShowTagTemplate"
>> />
>>       </li>
>>     </$list>
>>   </ul>
>>   <$button>
>>     <$action-sendmessage $message="tm-new-tiddler" title="New task" 
>> tags=<<currentProjectTaskTags>>/>
>>     New Task
>>   </$button>
>>   </$set>
>> </$list>
>>
>

-- 
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