@Tony

Could you give some idea of how/why* It is going to be used in a context 
> where other wikitext cannot be introduced. ?*
>

Explaining my specific use case would be quite complex as it is part of a 
much larger application. The filter I've described in this thread is a 
simpler one that presents an analogous issue, where you want to replace an 
input title with one if its field if that field exists, otherwise retain 
the original title. All without changing the list order. It could just as 
easily be get[parent] instead of get[caption] if that helps with 
conceptualizing the problem.

There are plenty of general use cases where a filter needs to provide the 
necessary output independently of other wikitext. For example:

   - As input to a widget that accepts a filter attribute.
   - In a configuration tiddler that accepts a filter. See for instance 
   $:/config/syncFilter or $:/core/ui/DefaultSearchResults.
   - As a filter meant to be used elsewhere via the subfilter[] operator
   - When trying to optimize refresh performance in a large and complex 
   widget tree and wanting to use as few widgets as possible.

I am interested in the challenge.
>

A good way to frame the constraints is that it should be possible to type 
the filter directly into the Filter tab in AdvancedSearch. 

-- 
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/4c74d2d1-823d-4aef-85b7-d5e8b4f5c7cen%40googlegroups.com.

Reply via email to