Hi Eric
I forgot - Thanks for telling me again :-)

I got an errormessage when putting "<<edit [[%0]] fieldn...@here >>"
into my template, therefore I put it into a new tiddler and again in
the template as <<tiddler newtiddlername>> and got this errormessage
instead (However - now the editbox is shown in the template - but it
doesn't show the fieldvalue (which is text) in the tiddlers using the
template):
FormTiddlerPlugin Error: No setter defined for INPUT element of type
'undefined'. (Element 'undefined' in form 'formFagTemplate__DanA3')

YS Måns Mårtensson

On Apr 19, 12:59 am, Eric Shulman <[email protected]> wrote:
> > I break my tiddlers when I try to put an editfield in a template for
> > use in the Viewtemplate.
> > When i do this:
> > <<edit fieldname>>
> > then the Templatetiddler seems to be in viewmode - but It can no
> > longer be edited - and I have to delete it.
>
> The problem is that the TW core 'edit' macro doesn't know how to
> handle things properly when used in a ViewTemplate (<span macro='edit
> fieldname'></span>), or embedded directly in tiddler content (<<edit
> fieldname>>).
>
> In addition, because there is no saveTiddler ('done') command in the
> ToolbarCommands::ViewToolbar definition, there's no way to actually
> *store* any input entered into those fields.
>
> Fortunately, I've got a plugin that addresses these issues:
>    http://www.TiddlyTools.com/#EditFieldPlugin
>
> It corrects the core handling so that pressing the 'edit' command will
> still switch to edit mode, even if there are input fields displayed in
> view mode.  In addition, if you've changed a value in a view mode
> input field and then move the 'focus' away from the field (e.g., by
> clicking somewhere else), you will be asked to confirm if the changed
> value should be saved or discarded before continuing.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to