(Vector fields)
| 200 | } |
| 201 | |
| 202 | public void formSubmit(Vector fields) { |
| 203 | for (Enumeration e = fields.elements(); e.hasMoreElements();) { |
| 204 | FormField field = (FormField) e.nextElement(); |
| 205 | if (field != null && field.name != null) { |
| 206 | if (field.name.equals("username")) { |
| 207 | raccount.JID = new Jid(((TextInput) field.formItem).getValue(), |
| 208 | raccount.JID.getServer(), StaticData.getInstance().getVersionInfo().NAME); |
| 209 | } |
| 210 | if (field.name.equals("password")) { |
| 211 | raccount.password = ((TextInput) field.formItem).getValue(); |
| 212 | } |
| 213 | } |
| 214 | } |
| 215 | } |
| 216 | } |
nothing calls this directly
no test coverage detected