Hi Danielo,

Thanks for your answer.

After reading the documentation, what you get after the filter is evaluated 
> is a space separate list. Is not a compiled filter nor a filter string. So 
> what you get is something like:
>
> <$list filter="[value1 value2 value3 each[somefield]]"> >
>
> as you can see, does not makes much sense. Maybe enclosing the result 
> inside brackets?
>
> <$list filter="[[<myVariable>]each[somefield]]"> >
>

Your suggestion takes "<myVariable>" as the title of a tiddler, so it is 
not recognized as a variable.

I'm now trying to do something like that, and its seems to be working so 
far:

\define myMacro()
<$list filter="[$(myVariable)$each[somefield]]"> >

    <$view field="somefield"/>

   <$list filter="[$(myVariable)$somefield[!!somefield]]" />

</$list>
\end

<$set name="myVariable" filter="[tag[myTag]]">
<<myMacro>>
</$set>

Alberto

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