AnsweredAssumed Answered

dataforms: variables of type 'list-multi'

Question asked by kellogs on Jun 5, 2008
Latest reply on Jun 12, 2008 by kellogs





I would like to create a MUC with the roomconfig_getmemberlist attribute set to value. Where value would be of tpe list-multi (I presume its equivalent in smack is FormField.TYPE_LIST_MULTI) made of {"moderator", "participant", "visitor"}. However, the only way I have found to accomplish this would be to use a java.util.List implementor - answerForm.SetAnswer( "muc#roomconfig_getmemberlist, value), where value can only by of Type boolean / double .... etc ... or List. This throws me an IllegalArgumentException. So, is there a way to submitting an answer for a  "list-multi" type of field ?



Thank you