DynamicMessageControl msg = new DynamicMessageControl(getWorkspace(), "msg");
msg.setVisible(false);
pc.addContent(msg, ContentColumns.MAIN);
FormControl form = new FormControl(getWorkspace(), "UserRegisterForm");
form.setName("frmUserAdd");
form.setTitle("Nou compte d'usuari");
FormFieldset grpId = new FormFieldset("Identificaci�");
grpId.addField(new FormFieldText(FIELD_LOGIN, "Login", 35));
grpId.addField(new FormFieldText(FIELD_PASSWORD, "Contrassenya", 32, true));
grpId.addField(new FormFieldText(FIELD_PASSWORDVER, "Verificaci�", 32, true));
grpId.addField(new FormFieldText(FIELD_MAIL, "Correu-e", 255));
form.addGroup(grpId);
FormFieldset grpDat = new FormFieldset("Dades personals");
grpDat.addField(new FormFieldText(FIELD_NAME, "Nom complert", 64));
form.addGroup(grpDat);
form.addButton(new FormButton("cmdSend", "Aceptar", FormButton.ButtonType.Submit));
form.addButton(new FormButton("cmdCancel", "Cancel�lar", "UserManagerPage"));
pc.addContent(form, ContentColumns.MAIN);
}
}
catch (AuthenticationException e)
{