I am looping over some tiddlers with the ListWidget.

I was using the variable attribute, but have removed that to access fields 
directly (via {{!!fieldname}} type calls, and for best practice reasons, 
etc.

But I need to know  how to refer to the parent tiddler (not the child) in a 
reveal's state attribute.

This (the "!!edit_priorities" state, which refers to a field in the parent 
tiddler) used to work when the filter was using the item variable, but 
needs some tweaking now, because the "scope" it's in has changed to the 
child tiddler (I assume).

<$list filter="[tag[Task]!tag[Done]]" >
<$reveal type="match" state="!!edit_priorities" text="1">
<$edit-text field="priority" size="3" />
</$reveal>
<nobr> <$checkbox tag="Done"/> <$link>{{!!title}}</$link></nobr>
<br/>
</$list>

So, in words, what I'm trying to do is list todo tasks that are not tagged 
as done.  In that tiddler as well is a field, which I use to control the 
display of the Priority edit boxes.  If I set that field to '1', then I 
want the reveals to show the edit boxes for each task.

Thank you!

-- 
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/762de280-823f-43e2-beeb-dc77337c22eao%40googlegroups.com.

Reply via email to