}
return display();
}
public String giveLicense() {
License selectedLicense = getSelectedLicense();
String[] selectedUsersId = getAllChecked("user_id_"); //$NON-NLS-1$
if(ArrayUtils.isEmpty(selectedUsersId) || selectedLicense == null) {
addWarning("user.warning.noselection"); //$NON-NLS-1$
} else {
Long licenseId = new Long(selectedLicense.getId());
for (int i = 0; i < selectedUsersId.length; i++) {
String id = selectedUsersId[i];
try {
WOJServer.getInstance().getLicenseService().affectLicense(Long.valueOf(id), licenseId);
} catch (Exception e) {