On Mon, 10 Feb 2003 16:32:13 +0100

> perhaps people prefer a diff.
> diff -r1.14 WriterHelper.java
> 177a178,185
> >         // Take last of list if vartype defined not to be a list:
> >         if (v instanceof java.util.List) {
> >             if (vartype != TYPE_LIST && vartype != TYPE_VECTOR) {
> >                 java.util.List l = (java.util.List) v;
> >                 v = l.get(l.size() - 1);
> >             }
> >         }
> > 

This code definetly does the trick. 
It even withstands the ultimate test, our Cinema site which has include
nesting levels of upto 12.

As far as I can see this resolves the problem in a far more elegant manner.
I will revoke my call. And if nobody has objected tomorrow I (or maybee Michiel)
can make a Call.

-- 
Rico Jansen ([EMAIL PROTECTED])
"You call it untidy, I call it LRU ordered" -- Daniel Barlow

Reply via email to