I’m using snapshot 20060227-0200 a ListMultipleChoice with AjaxFormComponentUpdatingBehavior. The ListMultipleChoice’s model is getting set to only the first selected item in the list during the AJAX update.  I’m guessing the problem might be in wicket-ajax.js:

 

function wicketGetValue(comp) {

    var type=comp.type;

    if (type=="checkbox"||type=="radio") {

        return comp.checked;

    } else {

        return comp.value;  ß for select will only return the first item

    }

}

 

If it’s just a _javascript_ fix, it would probably be faster for you guys to do it. If it’s more involved, I’d be happy to get a patch together if you could start me down the right path of the possible classes involved.

Reply via email to