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. Ugly, I know - I'm working on TG 1.1 MochiKit support to allow for configurable version selection, then things should be easier. diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

