Ah, so this would be a top-level template (no lift:surround). Derek
On Wed, Jun 24, 2009 at 9:16 AM, Kris Nuttycombe <kris.nuttyco...@gmail.com>wrote: > > The error was occurring if you had more than a single root element. Thus: > > <div> > <h2/> > <p/> > </div> > > works whereas > > <h2/> > <p/> > > caused the "template not found" erroneous exception before David fixed > it. Thanks David! > > Kris > > On Wed, Jun 24, 2009 at 8:40 AM, Derek Chen-Becker<dchenbec...@gmail.com> > wrote: > > Wait a second. I have plenty of templates that have multiple elements in > > them. What exactly is the problem you're seeing here? > > > > Derek > > > > On Tue, Jun 23, 2009 at 10:09 PM, Nolan Darilek <no...@thewordnerd.info> > > wrote: > >> > >> Cool deal, mvn test showed me the issue. > >> > >> Apparently, templates can only have a single element, I had an <h2/> and > >> a <p/>. The book called it a fragment, so this wasn't entirely clear. In > >> any case, I put a div#welcome around it and now it works fine. Thanks > >> for the pointer. > >> > >> > >> > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---