Alec Thomas wrote:
Hi,
I think it would be advantageous to let plugins implement their own
ticket field types. Progress-bars, integer-only fields, etc. have all
been requested numerous times.
I'd like to have at least the progress bar in the core Trac (see ticket
#1084),
in order to match FlySpray's percent complete functionality. See:
http://flyspray.rocks.cc/bts/ for how it looks in the overview, and e.g.
http://flyspray.rocks.cc/bts/task/612 for how it looks in the ticket view.
...
So, the question is, is there a cleaner way to do this?
Can't field.render_view(req, hdf) and field.render_control(req,hdf) be
"agnostic" w.r.t. the way they generate the HTML, i.e. simply be
field.render_view(req) and field.render_control(req).
If a field implementation wants to use ClearSilver, it's "its" problem...
-- Christian
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev