Alec Thomas wrote:
<snip>
The problematic part is how to render the custom fields. Ideally they
would be rendered through the templating system, but I can't really
figure out a clean way to inject other templates into ClearSilver.
Pardon my ignorance... a cs include can't have a cs:var as a value?
http://www.clearsilver.net/docs/man_templates.hdf#include
says you can use a string or a variable. Even more interesting is
linclude, which loads/parses at render time. "Local variables can be
used to specify the filename"
Doesn't all of this mean that you could have a template per field type,
and just populate the main hdf with extra values specific to that field?
I'm probably simplifying a bit too much.
BA
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev