On Thu, Aug 13, 2009 at 3:21 PM, pabraham <paulabraham...@googlemail.com>wrote:
> > Hello there, > > I'm stumped! I've got snippet code that is like this: > > val nextpage: String = ... calculate next page number ... > > bind("c", xhtml, > "next" -> <a href="/customer/page-{nextpage}">next</a>, "next" -> <a href={"/customer/page-"+urlEncode(nextPage)}>next</a> > > "back" -> back > ) > > But when the page is generated, the link is "/customer/page- > {nextpage}", not "/customer/page-2", "/customer/page-3", etc. > > How do I get the nextpage value in my link? My template is just > "<c:back><c:next>" with the surrounding tags. > > Paul. > > > > -- 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 -~----------~----~----~----~------~----~------~--~---