use of javax.faces.component.UIData in project TNTConcept by autentia.
the class BillBean method deleteBillPayment.
public String deleteBillPayment() {
UIData table = (UIData) FacesUtils.getComponent("bill:payment");
bill.getBillPayment().remove(table.getRowData());
return null;
}
use of javax.faces.component.UIData in project TNTConcept by autentia.
the class CreditTitleBean method deleteBills.
/**
* Delete selected instance of the one-to-many field
* @return forward to the same page
*/
public String deleteBills() {
UIData table = (UIData) FacesUtils.getComponent("creditTitle:bills");
creditTitle.getBills().remove(table.getRowData());
return null;
}
use of javax.faces.component.UIData in project TNTConcept by autentia.
the class DepartmentBean method deleteTag.
public String deleteTag() {
final UIData table = (UIData) FacesUtils.getComponent("department:tags");
final Tag toDelete = (Tag) table.getRowData();
department.getTags().remove(toDelete);
return NavigationResults.EDIT;
}
use of javax.faces.component.UIData in project TNTConcept by autentia.
the class ProjectBean method deleteCosts.
/**
* Delete selected instance of the one-to-many field
* @return forward to the same page
*/
public String deleteCosts() {
UIData table = (UIData) FacesUtils.getComponent("project:costs");
project.getCosts().remove(table.getRowData());
return null;
}
use of javax.faces.component.UIData in project TNTConcept by autentia.
the class ContactBean method deleteContactInfo.
public String deleteContactInfo() {
UIData table = (UIData) FacesUtils.getComponent("contact:contactInfos");
ContactInfo toDelete = (ContactInfo) table.getRowData();
contact.removeContactInfo(toDelete);
return NavigationResults.EDIT;
}
Aggregations