hp.add( new InfoPopup( constants.PermissionDetails(), constants.PermissionDetailsTip() ) );
pop.addAttribute( constants.PermissionType(), hp );
RepositoryServiceFactory.getService().listAvailablePermissionTypes( new GenericCallback<String[]>() {
public void onSuccess(String[] items) {
permTypeBox.clear();
permTypeBox.addItem( constants.pleaseChoose1() );
for ( String s : items ) {
permTypeBox.addItem( s );
}
}