[Lift] Simple Ajax call to server side function

2010-01-18 Thread Felipe Rodrigues
Hi all, I want to create a link which when clicked calls a server side function. No need for JavaScript callback. I tried with no success: SHtml.a(() = {serverSideFunction(t.text)}, t) Any idea how can I accomplish that will be appreciated. Thanks, Felipe -- You received this message

Re: [Lift] Simple Ajax call to server side function

2010-01-18 Thread Felipe Rodrigues
Here is how I made it, but seems ugly: SHtml.a(() = {serverSideFunction(t.text); Call(void, Num(0)).cmd}, t) It is awkward having to add a JsCmd even when I don't need it. Felipe Naftoli Gugenheim wrote: Never mind my question; I hadn't paid attention to the subject.

Re: [Lift] Re: Simple Ajax call to server side function

2010-01-18 Thread Felipe Rodrigues
That's a little better.. thanks greekscala wrote: Hello, know what you mean. You can use JsCmds._Noop to return nohting as JsCmd. best regards On 18 Jan., 17:25, Felipe Rodrigues felipero.maill...@gmail.com wrote: Here is how I made it, but seems ugly: SHtml.a(() = {serverSideFunction

Re: [Lift] Re: Binding a snippet in a comet actor?

2010-01-13 Thread Felipe Rodrigues
The problem was using Google Chrome to see this page. On firefox it shows up normally. Alex Boisvert wrote: Yes.  The issue is here: http://github.com/dpp/liftweb/issues/closed/#issue/93 It was fixed in 1.1M7 and later. alex On Tue, Jan 12, 2010 at 1:47 PM, Felipe Rodrigues

[Lift] Re: Binding a snippet in a comet actor?

2010-01-12 Thread Felipe Rodrigues
I have a similar problem here. I didn't find this issue on github. Is this issue solved? Thanks, Felipe On Oct 9 2009, 5:17 pm, David Pollak feeder.of.the.be...@gmail.com wrote: This is a defect.  I've opened a ticket:http://github.com/dpp/liftweb/issues#issue/93 I'll have a fix