The apply method should be getting called because the SHtml.json method should register it as the handler for the form. Would you mind sending me the code you have and I'll take a look at it? I'm pretty sure this code was working at one point, but perhaps something has changed.
Derek On Mon, Sep 14, 2009 at 2:03 PM, glenn <gl...@exmbly.com> wrote: > > Actually, the JsonHandler in the example gets called, but not the apply > (in:Any) method, as > that is never called in the book example. Also, the handler seems to > be called twice with every submit. > Why is that? > > Glenn > > On Sep 14, 8:08 am, glenn <gl...@exmbly.com> wrote: > > This may be a question for the Lift Book forum, but has anyone gotten > > the JSON forms example 8.13 in the Lift Book to work? When I tried > > it, the JsonHandler in class JSONForm never gets called when the > > submit button is clicked. > > > > Glenn > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---