Hallo everybody, I go into trouble when using variables in subfilters, they 
make code as simple as

<$list variable="indx" filter="[tag[myTag]indexes[]]">

    <$vars subf="[getindex<indx>split[,]trim[]match[aword]]">

        <$list filter="[tag[myTag]filter<subf>]" variable="result">
             <<result>> <br/>
        </$list>

    </$vars>

</$list>

to crash TW with Internal Javascript error: "TypeError: widget is undefined"


Even narrowing down the outer <$list> to a simple <$set> widget as in


<$set name="indx" value="index-01">

    <$vars subf="[getindex<indx>split[,]trim[]match[aword]]">

        <$list filter="[tag[myTag]filter<subf>]" variable="result">
                 <<result>> <br/>
        </$list>
    </$vars>

</$set>

doesn't improve things at all. Same Internal Javascript error: "TypeError: 
widget is undefined". It really looks like using variables inside 
subfilters is the problem, as soon as I replace it with a parameter, like 
for example

      <$vars subf="[getindex[index-01]split[,]trim[]match[aword]]">

Tiddliwiki stops complaining.

Thanks for any hints, suggestions, etc.

CG

Ubuntu 18.04.6 LTS
Firefox 94.0

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/912336c7-faa8-4451-a030-63f30a52a8c5n%40googlegroups.com.

Reply via email to