Don't worry Jeremy, At the end I achieved my goal with a Javascript Macro. This is just part of a small plugin that I'm currently developing.
You will have news soon ;) El lunes, 14 de abril de 2014 19:44:34 UTC+2, Jeremy Ruston escribió: > > Hi Danielo > > The problem is that wikitext is not parsed and rendered when you use a > variable as an attribute on a widget or HTML element. That is to say that > in this example the variable tag-filter is assigned directly to the > attribute filter, without being wikified: > > <$list filter=<<tag-filter>>/> > > I'm not quite sure what you're trying to achieve - are you trying to > display the tags of the tiddler whose title is in $:/temp/search? > > Best wishes > > Jeremy > > > > > > > On Mon, Apr 14, 2014 at 6:09 PM, Danielo Rodríguez > <[email protected]<javascript:> > > wrote: > >> I'm going crazy. >> >> This does not work neither. This time I just see the list in plain text >> except the list widget execution >> >> \define tag-names() >> <$list filter="[[$:/temp/search]tags[]]" variable="tagName" >> >tag[<<tagName>>]</$list> >> \end >> >> \define tag-filter() >> <$list filter="[$(tagNames)$]"> >> <$/list> >> \end >> >> <$set name="tagNames" value=<<tag-names>> > >> <<tag-filter>> >> </$set> >> >> El lunes, 14 de abril de 2014 18:46:36 UTC+2, Danielo Rodríguez escribió: >> >>> Could someone explain me why this is not working? >>> >>> \define tag-names() >>> <$list filter="[[$:/temp/search]tags[]]" variable="tagName">tag[<< >>> tagName>>]</$list> >>> \end >>> \define tag-filter() >>> [search{$:/temp/search}<<tag-names>>] >>> \end >>> >>> I tried executing the macro "alone" and this is what I got >>> [search{$:/temp/search}tag[tag1]tag[tag2]] >>> >>> Wich is a correct filter. In fact if I paste it into a filter, it works. >>> What am I doing wrong? >>> >>> Thanks in advance. >>> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/tiddlywiki. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:[email protected] <javascript:> > -- 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.

