It sounds like you are changing the functionality of the application when you make a change to the feedback template.Without being able to set a value in a template, you have to change backend scripts to enact this change, even though nothing in those templates needs to change. If there is a customer feedback script called feedback.cgi, your CGI programmer needs to care about the site layout and design to pass in a variable. You will run into similar problems all the time if you design your app using an MVC style. Does this help shed some light on why this functionality is desireable?
A simple mail-form script would not need changed when you update the html form template if it is written correctly. If you are using a mail-form script and you have to update your "backend" then I suggest you re-write your mail script to be dynamic based on what is in the CGI object. If you are familiar with the associate feature in HTML::Template you will not have to worry about the way the form data is passed from form to form unless you have to act on the input. In that case, of course you would need to change the backend to work in the new way.
Do you use CGI::Application? You do not need to worry about the layout of the template nor do you want to set values in the template. You have to break your paradigm. I highly suggest looking into CGI::App. It is a great way to use HTML::Template and would help you gain more control over your apps.
Humbly, Andrew ---------------------------------------------------------------------- Andrew Ho http://www.tellme.com/ [EMAIL PROTECTED] Engineer [EMAIL PROTECTED] Voice 650-930-9062 Tellme Networks, Inc. 1-800-555-TELL Fax 650-930-9101 ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
|
Thanks,
Kenny Pyatt President Venzia www.venzia.com |
