日期:2014-05-18 浏览次数:20921 次
function setCurrentList (itemID, newList)
{
var cqFormItem = getCQFormItemFromItemID(itemID);
cqFormItem.setMultiValueFromArray(copyArray(newList));
cqFormItem.updateHTMLControlValueFromItem();
var listHTMLControl = document.getElementById(itemID);
populateDuplicateItems(itemID, listHTMLControl);
cqFormItem.hasChanged();
toggleLabel(cqFormItem.fieldName,
cqFormItem.valueIsEmpty(),
cqFormItem.behave);
}