use of javax.faces.component.UIData in project TNTConcept by autentia.
the class TagBean method deleteOrganization.
public String deleteOrganization() {
final UIData table = (UIData) FacesUtils.getComponent("tag:organizations");
final Organization toDelete = (Organization) table.getRowData();
tag.getOrganizationTags().remove(toDelete);
return NavigationResults.EDIT;
}
use of javax.faces.component.UIData in project TNTConcept by autentia.
the class TagBean method deletePosition.
public String deletePosition() {
final UIData table = (UIData) FacesUtils.getComponent("tag:positions");
final Position toDelete = (Position) table.getRowData();
tag.getPositionTags().remove(toDelete);
return NavigationResults.EDIT;
}
use of javax.faces.component.UIData in project TNTConcept by autentia.
the class TagBean method deletePositionTags.
/**
* Delete selected instance of the one-to-many field
*
* @return forward to the same page
*/
public String deletePositionTags() {
UIData table = (UIData) FacesUtils.getComponent("tag:positionTags");
tag.getPositionTags().remove(table.getRowData());
return null;
}
use of javax.faces.component.UIData in project TNTConcept by autentia.
the class TagBean method deleteDepartmentTags.
/**
* Delete selected instance of the one-to-many field
*
* @return forward to the same page
*/
public String deleteDepartmentTags() {
UIData table = (UIData) FacesUtils.getComponent("tag:departmentTags");
tag.getDepartmentTags().remove(table.getRowData());
return null;
}
use of javax.faces.component.UIData in project TNTConcept by autentia.
the class TagBean method deleteContact.
public String deleteContact() {
final UIData table = (UIData) FacesUtils.getComponent("tag:contacts");
final Contact toDelete = (Contact) table.getRowData();
tag.getContactTags().remove(toDelete);
return NavigationResults.EDIT;
}
Aggregations