Simon McGregor wrote:
> Am I duplicating someone's existing work here?

There are a few different ways people do this.  There was some 
discussion earlier about how to take request params and automatically 
turn them into a structure that works in a TT template.  This is a sort 
of "round-trip" approach, where you can take a form in TT, submit it, 
and then use the submitted data to repopulate the same form.

Another approach is to generate the HTML and then run it through an 
existing HTML rewriter like HTML::FillInForm.  That's pretty easy, and 
probably the quickest way to get where you want to be.

What you're doing is kind of in-between.  You add a little bit of extra 
information to make it happen.

If you build it as a plugin and find it effective, by all means release 
it.  More options for solving this sort of problem are good.

- Perrin



Reply via email to