[Lift] Re: About the ajaxButton's confirm ?

2009-10-26 Thread Marius
That is exactly what I described above does. jsFunc: Call is the javascript function call that will receive an extra parameter which is the function that does your Ajax call. You can choose whne to invoke the ajax call. Do you need a more concrete example? Br's, Marius On Oct 26, 4:07 am,

[Lift] Re: About the ajaxButton's confirm ?

2009-10-25 Thread Marius
Please use this definition of the ajax button: def ajaxButton(text: NodeSeq, jsFunc: Call, func: () = JsCmd, attrs: (String, String)*): Elem I described the functionality here:

[Lift] Re: About the ajaxButton's confirm ?

2009-10-25 Thread Neil.Lv
The work flow is like this: 1. When pressing the button, the js function will be executed, like the js confirm() method, if choose the 'NO' and nothing will be happen, but choose the 'YES' and the Ajax request is sent to the server 2. On server side Lift executes your scala