Hi Danielo

I'm afraid that the issue is one that's come up before: transcluded macro
invocations used as an attribute of a widget are not wikified before use;
the attribute ends up with the raw text of the macro (after the textual
substitutions). There's no workaround at the moment.

There was a recent discussion on GitHub about possible fixes, but I can't
find it right now - Felix, I think you were involved in that discussion?

Best wishes

Jeremy.



On Wed, Apr 1, 2015 at 3:55 PM, Danielo Rodríguez <[email protected]>
wrote:

> This alwasy gets hard for me.
>
> I'm trying to create new tiddlers, with consecutive names without opening
> them for editing. To do so I'm using the setfield widget.
> Here is my approach that is not working. It only renders the button with
> the widget declaration as text.
>
> Any idea?
>
>
> \define colnumber()
> <$count filter="[tag[Column]]"/>
> \end
>
> \define colname(number)
> <$button>+
> <$action-setfield $tiddler="column$number$" tags="Column"/>
> </$button>
> \end
>
>
> <$macrocall $name="colname" number=<<colnumber>>/>
>
>
> <$list filter="[tag[Column]]">
> <$edit-text tiddler={{!!title}}/>
> </$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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/eb256508-eb80-46fe-82dd-ed75de053a74%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/eb256508-eb80-46fe-82dd-ed75de053a74%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJZFpJ2z3nrZCdmzjO6Nqfm0E6fqLs0%2BQSe%2BwR165MvmzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to