On Fri, 21 Dec 2001 11:30:37 -0000 "Phil Taylor" <[EMAIL PROTECTED]> wrote:
> 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. You should see also HTML::FillInForm. My approach is to pass HTML::Template's output to HTML::FiF. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
