I think what's happening is that the {{!!text}} tries to transclude the
text field from the current tiddler... which is defining the tiddler, where
it is called.. recursion.
You could separate out the macro into another tiddlerhtan the one it is
called from. If that's not enough, then maybe introduce a parameter that
you call the macro with and which is intersted as the tiddler title into
the transclusion.
<:-)
On Monday, March 21, 2016 at 10:59:00 PM UTC+1, Dave wrote:
>
> That code above (with "$tiddler=" removed) actually *replaces* the button
> code.
>
> I tried a simplified version like this to use the current text field to
> append text to
>
> \define thisAction()
> <$action-setfield text="{{!!text}}
> hi there">
> \end
>
> <$button>Test
> <<thisAction>>
> </$button>
>
>
> but I got an error
>
> Recursive transclusion error in transclude widget hi there hi there
>
>
> This would be useful if you could get past this error.
>
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5eda15a9-eed8-4d3c-8f76-ec67c8f4e4b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.