The <lift:embed/> tag must be in the file referenced by <lift:surround/>. Sorry. On Sat, Aug 8, 2009 at 11:53 AM, fricke <00fri...@googlemail.com> wrote:
> > Hi all, > > I tried the following (perhaps it's OK that it's not working, though > I'd have it to). > Essentially, I surrounded a page by a template, which itself embeds > another template. The problem > here is, that the embedded template contains the lift:bind tag (and > it's complained that this doesn't exist) > > Are these references resolved recursively? > > The Setup > ========= > > dummy_index.html: > <lift:surround with="dummy1" at="content"> > main > </lift:surround> > > dummy1.html: > <body> > dummy1 > <lift:embed what="dummy2"/> > dummy1 > </body> > > dummy2.html: > <div> > dummy2 > <lift:bind name="content"/> > dummy2 > </div> > > =========== > > and then I get the following message (which I read as the missing > bind) > <body> > > dummy1 > - > <div> > > dummy2 > - > <div style="display: block; margin: 8px; border: 2px solid red"> > > Error processing snippet bind. Reason: Class Not Found > XML causing this error: > > <br/> > - > <pre> > > <lift:bind name="content"></lift:bind> > > </pre> > - > <i> > note: this error is displayed in the browser because > your application is running in "development" mode. If you > set the system property run.mode=production, this error > will not > be displayed, but there will be errors in the output logs. > > </i> > </div> > > dummy2 > </div> > > dummy1 > - > <script type="text/javascript"> > > // > jQuery(document).ready(function() {liftAjax.lift_successRegisterGC > ();}); > var lift_page = "F1017718662817GB0"; > // > </script> > </body> > > =========== > > thanks > fricke > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---