> ViewTemplate contains <div macro='view engTitle'></div> (with some
> class definitions)
> EditTemplate contains <div macro='edit engTitle'></div>

Custom field names MUST be **all lower case**

Tiddler fields are stored in the TW file format using:
  <div tiddler="SomeTitle" ... fieldname="value"
fieldname="value" ...>
   content
  </div>

Unfortunately, *some* browsers automatically case-fold the names of
attributes when the DIV is loaded from the saved HTML file.  As a
result, all the tiddler field names are lower case when read in, even
if they had been created and saved using mixed-case field names.

Nonetheless, it is still possible to *specify* a mixed-case field name
in the ViewTemplate/EditTemplate (as you have done).  However, even
though the mixed-case name is created and stored correctly in the
*runtime tiddler object*, it cannot be properly retrieved because the
core MUST case-fold all field names in the loaded tiddler objects in
order to match any field names that were automatically case-folded
when loaded by the browser.

The 'workaround' is simply to always use lower-case field names and
avoid all the case-folding issues.

-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