On Jan 15, 5:59 pm, Adam Warski <[email protected]> wrote:
> Hello,
>
> > Oh yeah contextFuncBuider ... good catch. I'll update today.
>
> thanks :)

done.

>
>
>
> >> 2. The button will work only with full ajax-forms right? So forms wrapped 
> >> with ajaxForm(...)? My initial use-case was for adding some ajax buttons 
> >> to normal forms (submitted with a normal http request), but I guess I can 
> >> make the whole form submitted with ajax.
>
> > Yes it is meant to work for ajaxForm. But for normal forms you can use
> > submitAjaxForm you could use the ajaxButton I sent on a different
> > thread. Not sure what the issue was with that as in my tests it worked
> > fine.
>
> well I guess you were just lucky because with the modified ajax button some 
> form fields where update before, and some after the associated function was 
> called. So in your tests all form fields feel into the "before" category. But 
> in my test case on github some field elements are updated after the function, 
> so they loose their value (it's very simple btw., just one form with a list 
> of elements).

I kinda doubt that as I tested with a bunch of form fields. In the
ajax request the function ID of the ajax function was always the last
in the parameters and functions are evaluated in canonical order (for
the same owner). But I think you sent me your source code location and
I need to look what's in there this weekend. I Hope your code that
works as you described is still there :)

>
> --
> Adam
-- 
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.


Reply via email to