Hi Danielo

You can pass a reference to a widget as the second parameter to
filterTiddlers() and then that widget is used as the context for retrieving
variable values. As you say, "this" within a JS macro points to the widget
that is executing the macro.

Best wishes

Jeremy

On Fri, Apr 3, 2015 at 9:25 AM, Danielo Rodríguez <[email protected]>
wrote:

>
>
> El jueves, 2 de abril de 2015, 18:05:28 (UTC+2), Jeremy Ruston escribió:
>>
>>
>> It still sounds like you're expecting currentTiddler within a widget to
>> correspond to the title of the tiddler in which the widget is defined.
>>
>
> Exactly
>
>
>> That is not the case.
>>
> :(
>
>
>>
>> Are you passing a "widget" parameter to filterTiddlers to specify the
>> currentTiddler value that you want?
>>
>
> No, I didn't know it was even possible! What is the correct way to do it?
> which part of the widget? I think I can use the "this" property as
> parameter.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CAPKKYJYBU1fYW8NFPZHU5E3Zwbg5qxjup3S_p90iZaRWPiEhCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to