Am Mittwoch, 4. Dezember 2013 14:21:32 UTC+1 schrieb Jeremy Ruston:

>  
>
>> I think it would be good to have a way of storing temporary information 
>> in my current tiddler.
>>
>
> The current tiddler isn't necessarily writeable. If by "current tiddler" 
> you mean the title of the tiddler containing the <$tagselect> widget, then 
> what if that tiddler is being used as a template for the list widget? 
> There'll be multiple instances of it.
>

Okay… Let me elaborate… What I see in the checkboxwidget is 
"this.wiki.getTiddler(this.checkboxTitle);" where you take the tiddler's 
title, retrieved from the "currentTiddler" variable during creation of the 
tiddler (provided no tiddlertitle was given by parameter). So I assume it's 
okay to retrieve the current instance in the tree. What I'd like to see, 
and I've already experimented with that, is a member "temp" on the same 
level where we have the member "fields". "temp" would work similar to 
fields but these "temp"s are only valid while the tiddler is rendered in 
view mode. This way an active widget of a tiddler can store its required 
work data there. "temp" never gets saved and should be thrown away before a 
tiddler is rerendered because the widgets will create it when they need to 
store data.

Does this make sense?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to