On Tue, Mar 2, 2010 at 10:41 AM, Mads Hartmann <mads...@gmail.com> wrote:
> Hello everyone, > I can't seem to get my lift app to set a cookie when clicking an ajax- > link. By looking around the list it looks like it's possible but i've > failed to get it working. Right now my test-code looks like this: > > bind("banner", xhtml, "hideLink" -> a(() => { > S.addCookie(HTTPCookie("display","false")) > JsHideId("banner") > },Text("test"))) > That should work. Please put together a reproducable example project, put it on GitHub and open a ticket. > > Thanks > Mads Hartmann > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@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.