Removed control link in the ContactEntriesTable. The link does notthing (at the moment) and only confuses the users.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2731 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
c8061b1659
commit
34af914def
|
|
@ -213,18 +213,20 @@ public class GenericContactEntriesTable extends Table implements TableActionList
|
||||||
boolean isSelected, Object key,
|
boolean isSelected, Object key,
|
||||||
int row, int column) {
|
int row, int column) {
|
||||||
|
|
||||||
SecurityManager sm = Utilities.getSecurityManager(state);
|
return new Label(value.toString());
|
||||||
GenericContact contact = (GenericContact) m_itemModel.getSelectedObject(state);
|
|
||||||
|
|
||||||
boolean canEdit = sm.canAccess(state.getRequest(),
|
// SecurityManager sm = Utilities.getSecurityManager(state);
|
||||||
SecurityManager.EDIT_ITEM,
|
// GenericContact contact = (GenericContact) m_itemModel.getSelectedObject(state);
|
||||||
contact);
|
//
|
||||||
if (canEdit) {
|
// boolean canEdit = sm.canAccess(state.getRequest(),
|
||||||
ControlLink link = new ControlLink(value.toString());
|
// SecurityManager.EDIT_ITEM,
|
||||||
return link;
|
// contact);
|
||||||
} else {
|
// if (canEdit) {
|
||||||
return new Label(value.toString());
|
// ControlLink link = new ControlLink(value.toString());
|
||||||
}
|
// return link;
|
||||||
|
// } else {
|
||||||
|
// return new Label(value.toString());
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue