Try bind("c", xhtml, "next" -> <a href={ "/customer/page-" + nextpage}>next</a>, "back" -> back )
I ran into something similar earlier today. Thanks, Chris On Thu, Aug 13, 2009 at 6: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>, > "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. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---