30 Aug
1999
30 Aug
'99
12:42 a.m.
In article <Pine.LNX.4.10.9908291941250.8111-100000@gatekeeper.zwax.mtg. co.at>, Andreas Kostyrka <andreas@mtg.co.at> writes
On Sun, 29 Aug 1999, 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. Well, what about, the following trick: <dtml-unless "testvar[0:0]==[]"> <dtml-call "REQUEST.set('testvar',[testvar])"> </dtml-unless> ... I know how to do the fix; it's just a pain. -- Robin Becker