in reply to CGI::Application/HTML::Template problem
Please have a look at the following code that will helpful for you.
push @all_user_types, { users_list => $values, users => $values, report_for_user => $values eq $c +gi_user_type }; $html->param(user_types => \@all_user_types );
that is the way we used to Build the Elements Using TMPL_LOOP.<TMPL_LOOP NAME="user_types"> <option value="<TMPL_VAR NAME=users>" <TMPL_IF report_for_user>SEL +ECTED</TMPL_IF>><TMPL_VAR NAME=users_list></option> </TMPL_LOOP>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI::Application/HTML::Template problem
by stonecolddevin (Parson) on Jan 12, 2006 at 05:14 UTC | |
by mbadolato (Hermit) on Jan 12, 2006 at 08:05 UTC | |
|
Re^2: CGI::Application/HTML::Template problem
by Anonymous Monk on Jan 12, 2006 at 12:34 UTC |