strValue = _value.toString();
}
}
else if (type == AjaxOption.DICTIONARY) {
if (_value instanceof NSDictionary) {
NSDictionary dictValue = (NSDictionary) _value;
StringBuilder sb = new StringBuilder();
sb.append('{');
Enumeration keyEnum = dictValue.keyEnumerator();
while (keyEnum.hasMoreElements()) {
Object key = keyEnum.nextElement();
Object value = dictValue.objectForKey(key);
sb.append(new AjaxValue(key).javascriptValue());
sb.append(':');
sb.append(new AjaxValue(value).javascriptValue());
if (keyEnum.hasMoreElements()) {
sb.append(',');