> The change of titles does lead to another question I posted earlier about
> tiddler titles:
>
> I'm trying to use <$edit-text> within a list that outputs a table of
>> editable values<http://nocategories.net/tiddlywiki/bestrew.html#List-Venues>.
>> It works wonderfully, except for when I try to edit the titles of the
>> tiddlers. If I set <$edit-text field="title" /> then as soon as I add even
>> one character to the title, an additional tiddler is created. Is it
>> possible to edit the titles in this way or should I create an
>> additional/redundant field for title? This seems to happen whether I use
>> <$edit-text> or just plan <$edit>. My temporary workaround for this has
>> been to create a separate, redundant title field.
>
>
Sorry, I missed this. The draft mechanism avoids this problem because of
the way that one only ever edits the "draft.title" field of the draft
tiddler, rather than the actual title field of the target tiddler. It also
avoids the focus loss issue.

Thus, the natural solution to the problem is to adopt the same draft
mechanism: your list in List-Venues could display the list of venues as a
story, with a separate template for tiddlers that are in draft mode. Then
you'd need to add buttons for "edit", "cancel", "done" etc against each
tiddler in the list. I've been meaning to put together a demo of this
technique, but until I do you should be able to figure out what to do by
studying how the main story mechanism works.

Best wishes

Jeremy






-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to