> Are you putting the result of: > > Script(Function("sendPointToServer", "point", PointHandler.call("setPoint", > JsVal("point")))) > > Anywhere on your page?
I believe so, the page has a snippet: <lift:mapSnippet.mapFunctions/> which looks like this: def mapFunctions(xhtml : NodeSeq) : NodeSeq = { val node = Script(Function("sendPointToServer", List("point"), PointHandler.call("setPoint", JsVar("point")))) node ++ <head>{Script(OnLoad(Call("initialize")))}</head> } and in the page I see: > function sendPointToServer(point) { > F542198622797IUJ({'command': 'setPoint', 'params':point}); > } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---