Right. The JSONHandler essentially presents a map of the fields it receives in your processing method. There's an example on the Wiki here:
http://liftweb.net/index.php/HowTo_use_JSON_forms On Mon, Oct 27, 2008 at 4:42 PM, David Pollak <[EMAIL PROTECTED] > wrote: > I think using the JSON handler is the best approach. You can add arbitrary > client fields and as long as there's a server-side JSON handler for the > given field, you're golden. > > On Mon, Oct 27, 2008 at 2:48 PM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > >> I was also wondering if you could use a JSON form and the associated >> JSONHandler clas so that you could dynamically build the form and then just >> return it as JSON instead of worrying about binding directly to Lift. This >> would have limited applicability, but would keep things simple if your >> requirements match up. >> >> Derek >> >> >> On Sun, Oct 26, 2008 at 4:40 PM, TylerWeir <[EMAIL PROTECTED]> wrote: >> >>> >>> I've done what Marius points out as the third option. >>> >>> I haven't tried it, but could you inject a NodeSeq that contained the >>> form element you need using the JsCmd "AppendToHtml?" >>> >>> It takes an id and a NodeSeq. There may be a bit of jankiness to >>> handle the variable number of things coming back, but I suppose to >>> could add them to a collection and just process them one by one during >>> save/validation. >>> >>> Ty >>> >>> >>> On Oct 26, 8:35 am, Tim Perrett <[EMAIL PROTECTED]> wrote: >>> > Hey Chas, >>> > >>> > You might be interested in this thread too: >>> > >>> > http://groups.google.com/group/liftweb/browse_thread/thread/511073007. >>> .. >>> > >>> > Long term, this is probally what you want :-) (see dpp's comments) >>> > >>> > Cheers, Tim >>> >>> >> >> >> > > > -- > Lift, the simply functional web framework http://liftweb.net > Collaborative Task Management http://much4.us > 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 -~----------~----~----~----~------~----~------~--~---
