At 4:15 PM +0200 4/26/02, F.Xavier Noria wrote: >I am writing some modules that receive a form, process it, and return a >page that includes that very form. Is there a standard way to fill that >returned form so the user sees the same data he sent there, as CGI.pm >does? > >-- fxn > >PS: I am using Apache modules + HTML::Template if that matters.
This isn't going to help you much unless you want to switch, but in Embperl that's just the default behavior. A form is filled with the arguments passed to it. Or if you want to much with it, you just set the %fdat variable according to what you want (as in %fdat = gethashfromdbtable()). One of the reasons why Embperl is my favorite template processor--it makes the common stuff really easy. -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ [EMAIL PROTECTED] I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.