Hi Danielo

> please look at the first filter. It does not work without the plus simbol.
> [is[current]]+[split:table-headers[,]]

Here you want to apply the split to the result of the [is[current]]
operator. The best way to do that is like this:

[is[current]split:table-headers[,]]

Merging filter operators together by removing the ][ brackets between them
causes the results of the first filter operator to be passed through to the
next.

It works with the + due to the way that the plus operator retrieves the
results so far and then feeds them through the next filter operator.

> But it is not working.

There are a couple of issues.

> [title{<<fields-sources>>}[split:table-headers[,]]

This filter is broken. There is no syntax for retrieving a filter operand
from a variable.

You've also got an extraneous [ before the split operator.

> I'm trying to construct a table with cells defined in a tiddler field.

Do you mean that you want to display all the tiddlers tagged "personal" as
a table, with the columns of the table being determined by a list of
fieldnames stored in a tiddler somewhere?

Best wishes

Jeremy





On Wed, Apr 9, 2014 at 8:45 AM, Danielo Rodríguez <rdani...@gmail.com>wrote:

> Hello.
>
> I'm trying to construct a table with cells defined in a tiddler field.
> I want to split the fields and use them but I have problems how list works.
> Nested list means as many iterations as list elements. If I want to
> construct only ONE ROW per tiddler but with different fields, I have a
> problem.
>
> Maybe my code can explain it better than me:
>
> This is what I have
>
> <$list filter="[!has[draft.of]tag[persona]]">
> <tr><$list filter="[is[current]]+[split:table-headers[,]]"
> variable="currentField"><td><$view field=<<currentField>>/></td></$list>
> </tr>
>
>
> This is what I want
> <$set name="fields-source" value={{!!title}}>
> <$list filter="[!has[draft.of]tag[persona]]">
> <tr>
> <$list filter="[title{<<fields-sources>>}[split:table-headers[,]]"
> variable="currentField"><td><$view field=<<currentField>>/></td></$list>
> </tr>
> </$list>
> </$set>
>
> But it is not working.
>
> PD: Jeremy please look at the first filter. It does not work without the
> plus simbol.
>
> --
> 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.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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