sorry I dropped a bracket abbreviating for this posting. The live code has correct syntax and I did a workaround to make it run. Looks like html.py is broken in this regard. The workaround is to replace outer ul tag by ul html helper call.
On Mar 7, 7:18 pm, Brian M <[email protected]> wrote: > Well you're missing a closing ) in this line - the A() is closed but the LI( > is not: > {{ myli = LI(A(myrow['strRegionNameRendered'], _href="#") }} > > Why not simplify your template down a bit - Having your LI's inside a DIV > seems a bit odd. > > {{myUL = UL(_id="dhtmlgoodies_tree", _class="dhtmlgoodies_tree")}} > {{for row in sortedfolderlist:}} > {{myrow = row[1]}} > {{myUL.append(A(myrow['strRegionNameRendered'], _href="#")) }} > {{pass}} > {{=myUL}}

