I'm doing something wrong here but can't figure out what. 

1. I have a json Tiddler with a list of items in it

{
    "01": "Item2",
    "02": "Item1",
    "03": "Item3",
    "04": "Item4"
}
2. I want to retrieve the index so I use $list

<$list filter="[[jsonlist]indexes[]]">

3. Then I want to retrieve the values of the index so I use a macro

\define getvalue() <$view tiddler="jsonlist" index=<<currentTiddler>> />

4. Then I want to concatenate another string with that string 

\define concatitems(one: " ", two: " ") $one$$two$

5. Then I want to display a link to a tiddler with that name

<$list filter="[[jsonlist]indexes[]]">
<$set name="temp1" value=<<getvalue>> >
<$set name="temp2" value=<<concatitems "GetThis" $(temp1)$ >> >

<<temp2>><br/>

</$set>
</$set>
</$list>

Results: Bizarrely if the first string is a tiddlylink itself then the display 
doesn't concatenate the two strings. 
Instead the first string is a link and the second just sits there

Here's the example: http://cpashow.tiddlyspot.com/#concat_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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to