Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12162

how to set "muc#roomconfig_maxusers"

$
0
0
                                                                 // Option op = new Option("muc#roomconfig_maxusers","50");                                                  // FormField ff = new FormField();                                                  // ff.setLabel("muc#roomconfig_maxusers");                                                  // ff.addValue("50");                                                  // submitForm.addField(ff);                                                  // submitForm.setAnswer("muc#roomconfig_maxusers", 50);                                                  submitForm.setAnswer(                                                                      "muc#roomconfig_passwordprotectedroom", true); 
 =============================================================
submitForm.setAnswer("muc#roomconfig_maxusers", 50);
submitForm.setAnswer("muc#roomconfig_maxusers", "50");    

how can i  set the  the label "muc#roomconfig_maxusers"  of a value "50"?

the type is list-single

values:0 -10 -20-30-40-50

 

i get a error like "java.lang.IllegalArgumentException: This field is not of type int." or

"java.lang.IllegalArgumentException: This field is not of type String."


Viewing all articles
Browse latest Browse all 12162

Trending Articles