Hi * - nachdem ich den Code gesendet hab, ist mir gleich noch ein Fehler aufgefallen.
Kann ja schließlich auch gut sein, daß eine Seite mehr als nur eine Unterseite hat :-) das Schließen des li Elements und das Schließen der Liste müssen extra sein. - also in der Template: <% if controllist == open %><ul><% else_if controllist == close %></li><% else_if controllist == closeul %></ul><% else %> (neuer "Zustand" closeul, bei close wird nur li geschlossen) + ein </ul> hinter das end_control am Ende und im Controler das $resultref->push(new ArrayData(array("controllist" => "closeul"))); im Anschluß an die for-Schleife, die das controllist => close setzt. kommt davon, wenn man mit zu simplen Eingaben testet :-) ciao Christian -- E-Mail to discuss+h...@de.libreoffice.org for instructions on how to unsubscribe List archives are available at http://de.libreoffice.org/lists/discuss/ All messages you send to this list will be publicly archived and cannot be deleted