Looking at the code for the Button widget, I don't see any place where paramObject gets populated. I do see it for the send-message widget. So I'm guessing that you can't use "paramObject" with the button widget without hacking the button widget code.
On Wednesday, December 16, 2020 at 7:52:34 AM UTC-8 [email protected] wrote: > On Wednesday, December 16, 2020 at 11:00:16 AM UTC-4 Mark S. wrote: > >> On Tuesday, December 15, 2020 at 8:10:42 PM UTC-8 wrote: >> >>> I often struggle with filter syntax so thanks for the counter-example as >>> I find those easiest to learn from. >>> >>> In playing around with it, there is an interesting subtlety with Mark's >>> solution that makes it slightly different/better. >>> >>> >> I admit my approach is a kludge. It was just submitted as an alternative. >> It has the advantage of being slightly easier to read. Yours is probably >> the proper way to do such things. >> >> > > Looking at the OPs format ... while these other options (sticking things > in an actions macro in the widget or in the actions= or transcluding a > filter into the button field= options) are available, could someone > illuminate the formatting of the "hashmap" that needs to be provided with > paramObject= if you want to use <$button message="tm-new-tiddler" > param="Template1Button" paramObject= ...> and try to feed the tags in that > way using Mark's method? Every message seems to have a paramObject option > but none of the manual pages have an example of its use. > > Thanks, > /Mike > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6486bb14-ba1c-4fd4-8ff1-f4df00301a86n%40googlegroups.com.

