Have you looked through the archives at http://bluedot.net/mail/archive/list.php?f=9 ? This topic seems to reoccur regularly, and there may be some comments of use to you.
Cheers, Chris -- Chris Davies, Manheim Online Tel. 0113 393-2004 Fax. 0870 444-0482. Mobile 07778 199069 -----Original Message----- From: Phil Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 11:31 AM To: [EMAIL PROTECTED] Subject: [htmltmpl] setting the SELECTED item in a SELECT list Is there a standard approach to creating SELECT lists with the HTML::Template module? I have a problem creating SELECT lists with HTML::Template. I can create the list no problem using the LOOP construct but I want to set the SELECTED item in the list based on what they may have previously selected if the associated entry form is re-displayed. I don't see any way that the HTML::TEMPLATE module can handle this? My only current alternative is to build the entire HTML <SELECT>...</SELECT> component in my application and pass this as a template parameter. I'm not too happy with this as I start to lose the separation between business logic and presentation. I would be really grateful for any thoughts on this. Phil ---------------------------------------------------------------------------- - This e-mail and any attachments may be confidential and/or legally privileged. The view of the author may not necessarily reflect those of the Company. If you have received this e-mail and are not a named addressee, then you must not use, disclose, copy, print or rely on this e-mail. Manheim Europe makes no representation or warranty as to the absence of viruses in this e-mail or any attachments Visit our website at www.Manheimeurope.com ---------------------------------------------------------------------------- - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
