No. Each template must be xml well formed so you can not have more then one root element,
Please see <lift:with-param> to handle multiple binds. Br;s, Marius On Aug 6, 12:04 am, pabraham <paulabraham...@googlemail.com> wrote: > Hello there, > > Is it possible for an HTML file to have more than one lift:surround > tag? > > For example, default.html contains > > ... > <lift:bind name="content"> > ... > <lift:bind name="sidebar"> > ... > > My index.html contains > > <lift:surround with="default" at="content"> > <p>This is some content</p> > </lift:surround> > <lift:surround with="default" at="sidebar"> > <p>This is some content in the sidebar</p> > </lift:surround> > > From my fruitless attempts, it seems that the answer to my question is > no, but is there any way that I can get this sort of thing to work? > > Thanks. > > Paul. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---