Hi,

consider the following:

*Setup:* A tiddler named "test" with a field "ref" that contains the value 
"out"

\define getVariable(field)
<$transclude tiddler=<<currentTiddler>> field=$field$ />
\end

<<getVariable "ref">>
the above works: it prints "out", which is the field value of the field 
"ref"

<$edit-text tiddler=<<getVariable "ref">> field="text" type="text" tag=
"input" default=""></$edit-text>
the above does NOT work: while writing text it prints the text into a 
tiddler named "<$transclude tiddler=test field=out />". it should print into 
a tiddler named "out", which is the return value of getVariable as shown 
above.


on the other hand this would work.


\define getVariable()
out
\end

<$edit-text tiddler=<<getVariable>> field="text" type="text" tag="input" 
default=""></$edit-text>

*Concluding Question:* Why isn't the transclusion parsed when used as input 
for edit-text?

What am I missing?

Thanks
Felix


-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to