On 27 avg., 17:24, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > On Saturday 25 August 2007 20:13:25 Martin wrote: > > Good evening! > > I was trying out the Ajax RemoteForm widget with a multiple checkbox > > field (CheckBoxList). I got everything working fine except that I > > could not get the form to return multiple selections. I checked the > > output to my action function and it showed that the dictionary > > returned to it only contained one selected item. > > I tried this with a MultipleSelectField widget, and it behaves the > > same way. > > > If I use a regular HTML form, the multiple-widgets return all the > > selected items, like they're supposed to. > > > Am I doing something wrong here, or does the RemoteForm widget ignore > > multiple selections? > > I _think_ this is MochiKit 1.3.1's fault - the form-value-gathering-thingy > isn't working properly. > > Try switching to MK 1.4, or rip 1.4's form gathering code (don't recall the > name right now) and patch that into the RemoteForm.
I tried that but it didn't work. I traced the problem to ajax.js in tg/widgets/static and found out what I described on http://trac.turbogears.org/ticket/1498 Regards, Jure --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

