Am 27.04.2011 11:34 schrieb Diez B. Roggisch:
It does. I discovered this myself. The weird thing is that there seems to be
some silent fallback to *some* templating engine, which is why ${foo} works,
but HTML doesn't.
Just had a look and found you're right. TW falls back to its built-in
engine if you use an inline template and neither available_engines nor
engine_name is set. The FormField widget has available_engines set to
genshi and mako, so if you inherit from that, it will work. But if you
inherit from a bare Widget, you need to set engine_name or give a file
name as template like "genshi:mytemplate.html".
I don't think we can do anything about that in TG itself, it's a quirk
of ToscaWidgets.
-- Christoph
--
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en.