On Thu, Jul 30, 2009 at 1:51 PM, Channing Walton <[email protected]>wrote:
>
> Hi,
> I had to replace JsVal("point") with JsVar("point"), but when I run it
> up, I get "ReferenceError: Can't find variable: F542198622797IUJ" in
> the browser console. The function in the page looks like this:
>
> function sendPointToServer(point) {
> F542198622797IUJ({'command': 'setPoint', 'params':point});
> }
>
> I guess I am missing something else?
Are you putting the result of:
Script(Function("sendPointToServer", "point", PointHandler.call("setPoint",
JsVal("point"))))
Anywhere on your page?
>
>
> >
>
--
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 [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
-~----------~----~----~----~------~----~------~--~---