String listValue = (String) params.get("listValue");
while (itt.hasNext()) {
Object optGroupBean = itt.next();
stack.push(optGroupBean);
Object tmpKey = stack.findValue(listKey != null ? listKey : "top");
String tmpKeyStr = TextUtils.noNull(tmpKey.toString());
Object tmpValue = stack.findValue(listValue != null ? listValue : "top");
String tmpValueStr = TextUtils.noNull(tmpValue.toString());
boolean selected = ContainUtil.contains(value, tmpKeyStr);
writeOption(tmpKeyStr, tmpValueStr, selected);