What Scala & lift version are you using ? Are you compiling with one scala version and use a different one at runtime?
The error also looks like an invalid xml provided. Can you paste you xml template where you have the snippet ? Br's, Marius On Aug 25, 12:45 pm, celestocalculus <[email protected]> wrote: > I really love the Lift framework. It handles a lot of things for you > and it makes web programming really easy! > > I was reading "The Definitive guide to Lift" though I just finished > the SiteMap chapter (ie chapter 5), I tried to link to another URL, a > html document I created in the same directory but I kept getting the > following error: > > Exception occured while processing /next > > Message: java.lang.IllegalArgumentException: line 5 does not exist > scala.io.Source.getLine(Source.scala:280) > scala.io.Source.report(Source.scala:368) > scala.io.Source.reportError(Source.scala:355) > scala.io.Source.reportError(Source.scala:344) > scala.xml.parsing.MarkupParser$class.reportSyntaxError > (MarkupParser.scala:1113) > ... > > Where next.html is the name of the html document. > > The Html tag that links is: > ... > Link <f:link/> > ... > > The code that controls the snippet is: > ... > bind("f", tag,"link" -> SHtml.link("/next", () => println > ("Linked..."), Text("lint to next")),) > ... > > Can anyone help me with this please? I'll also appreciate it with lots > of explanations and/or better ways of linking URLs with and without > maintaining state. > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
