public void buildUserPickerConfig(final String component_id, | |||
final ModelContext mc) throws WTException { | |||
// HashMap<String, Object> defaultProps = new HashMap<String, Object>(); | |||
defaultProps.put("pickerId", "userPluralID"); | |||
defaultProps.put("objectType", "wt.org.WTUser"); | |||
mc.getDescriptor().setProperties(defaultProps); | |||
} |
This solved it. I was adding callback in the config. I removed it and it worked. The default callback function works I guess.