> I have started to use fields instead of <data> in my tiddlers and now
> I must translate all my fET-tables - so they fetch fieldvalues instead
> of datavalues.
>
> I want to convert/translate all my datareferences to fieldreferences.
> I don't know the right syntax -
>
> Is it just a matter of writing tiddler.field("fieldname") instead of
> tiddler.data("dataname") ?? and in the write-area translate: ex: <<tag
> "+tiddler.data("dataname")+" \>\> to :  <<tag "+tiddler.field
> ("fieldname")+" \>\> ???

Try this:
   tiddler.fields["fieldname"]

note: unlike tiddler.data(), tiddler.fields is an *object* reference,
so you can also assign into it:
   tiddler.fields["fieldname"]=somevalue;

enjoy,
-e

--~--~---------~--~----~------------~-------~--~----~
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