I have found an inconcistency in transclusion as follows:
Main tiddler code:
<$button>
<$action-createtiddler $basetitle="$:/TLS/new-id" $overwrite="yes" />
<$action-setfield $tiddler="$:/TLS/new-id" uniqueid={{$:/TLS/uniqueid}} />
/>
Add
</$button>
:$/TLS/uniueid tiddler code:
{{$:/TLS/idcode}}{{$:/TLS/incremental}}
which displays as YB27 when the idcode is YB and the incremental is 27
in the main tiddler, if the action-setfield sets the text field, then the
value inserted is the transclusion of the uniqueid tiddler, namely, YB27
if the maiin tiddler action-setfield code tries to set a field, then the
field's contents after actioning the code
is {{$:/TLS/idcode}}{{$:/TLS/incremental}} and not the transcluded value
Anybody else found this?
bobj
--
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/0653e5b3-705b-49e3-94e0-9ea496ce8249n%40googlegroups.com.