Hi Eric
I tried to append the autoSave keyword but nothing happens - untill I
want to close the tiddler - then it asks me if I don't want to save
the changes I made to the tiddler.
If I save the TW it doesn't save the changes I made to the fieldvalue
though...
I tried to move the macro from the ViewTemplate and into my
tiddlertemplate to embed into the custom viewtemplate instead - but
the result is the same...
Here's my template. (I show it all - so you can see if there's some
kind of conflict..The first lines macro lærer=teacher in danish): I
have put this template into my customViewtemplate with: <span
macro='formTiddler FagTemplate'></span> Maybe I should use
macro='tiddler FagTemplate'> instead??

|bgcolor(#eeeeee):@@white-space: nowrap;<html><span style="padding-
right:0.25em;" macro='select lærer rows:1 width:30% autoSave
allowBlank allowOther +LærerListe allowEdit'></span></html>@@|//
Vigtigt:// vælg initialer på den lærer som har holdet.|
|bgcolor(#eeeeee):@@white-space: nowrap;<html><span style="padding-
right:0.15em;" macro='monkeyTagger Elev label: "Vælg elever"'></span>
</html>@@|Vælg alle de elever som har faget. Når du har valgt alle
elever vil der komme en liste over holdet herunder.|
|bgcolor(#eeeeee):@@white-space: nowrap;<html><span style="padding-
right:0.15em;" macro='monkeyTagger Ugedage'></span></html>@@|Hvis du
vil, kan du vælge hvilke ugedage faget kører. Brug kalenderen til at
oprette datoer eller opret aftaler for at lægge skema|

YS Måns Mårtensson

On 9 Apr., 23:38, Eric Shulman <[email protected]> wrote:
> > The <<select>> macro doesn't "remember" the fieldvalues I enter - when
> > I use this in the viewtemplate.
> > It works fine in the edittemplate.
> > I can choose from my TeachersList - but when I refresh the tiddler -
> > it looses the entry and goes back to the former state..
>
> Because there is no 'done' button available when *viewing* a tiddler,
> the <<select>> macro has an optional 'autoSave' keyword that you can
> use to store the value of the listbox/droplist selection as soon as it
> is made.
>
> Note: the macro's handler tries to detect when it is being used
> outside of an edit template in order to automatically enable the
> "autoSave" feature, even without the presence of the macro keyword
> parameter.  However... the auto-detection might not work in some
> situations, so you might need to add an explicit "autoSave" keyword to
> your use of the macro to *force* it to auto-save your selections.
>
> -e
>
> http://www.TiddlyTools.com/#ListboxPluginhttp://www.TiddlyTools.com/#ListboxPluginInfo
--~--~---------~--~----~------------~-------~--~----~
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