Hi Tikkoneus
There is a new feature in the v5.1.14 prerelease (
http://tiddlywiki.com/prerelease) that may offer an alternative solution to the problem: attributes for widgets and HTML elements can now be specified as a filter expression in triple curly braces. The first item in the result list is used as the value of the attribute. This opens up the full flexibility of filter expressions to compute attribute values.
Thus, one can do things like this:
<$text text={{{ [<currentTiddler>get[field]] }}}/>
<$transclude tiddler={{{ [<currentTiddler>get[field]] }}}/>
Best wishes