30 Aug
1999
30 Aug
'99
12:11 p.m.
In article <4.2.0.58.19990830085237.045c7ea0@lisp.atmm.nl>, Martijn Pieters <mj@antraciet.nl> writes
At 18:36 29/08/99 , Robin Becker wrote:
it would be really useful to generalise <dtml-in var> to allow for the case when the variable is a singleton. I know I can write testing code for this, but it's a real pain to find that multiple selections change type when only one item is selected.
If you add :list to the form variable, it will always be a list, wether or not it is a singleton:
<SELECT NAME="items:list" MULTIPLE SIZE=5> ....</SELECT>
and in the receiving DTML:
<dtml-in items> </dtml-in> ... that's nicer; thanks -- Robin Becker