use of javax.faces.component.html.HtmlDataTable in project TNTConcept by autentia.
the class ContractTypeBean method letterClicked.
/**
* Handle an ABC pager letter click: filter objects by specified starting letter
*/
public void letterClicked() {
if (letter != null) {
UIComponent comp = FacesUtils.getComponent("contractTypes:list");
HtmlDataTable tabla = (HtmlDataTable) comp;
tabla.setFirst(0);
search.setName(letter + "%");
} else {
search.unsetName();
}
}
use of javax.faces.component.html.HtmlDataTable in project TNTConcept by autentia.
the class UserBean method letterClicked.
/**
* Handle an ABC pager letter click: filter objects by specified starting letter
*/
public void letterClicked() {
if (letter != null) {
UIComponent comp = FacesUtils.getComponent("users:list");
HtmlDataTable tabla = (HtmlDataTable) comp;
tabla.setFirst(0);
search.setName(letter + "%");
} else {
search.unsetName();
}
}
use of javax.faces.component.html.HtmlDataTable in project TNTConcept by autentia.
the class WorkingAgreementBean method letterClicked.
/**
* Handle an ABC pager letter click: filter objects by specified starting letter
*/
public void letterClicked() {
if (letter != null) {
UIComponent comp = FacesUtils.getComponent("workingAgreements:list");
HtmlDataTable tabla = (HtmlDataTable) comp;
tabla.setFirst(0);
search.setName(letter + "%");
} else {
search.unsetName();
}
}
use of javax.faces.component.html.HtmlDataTable in project TNTConcept by autentia.
the class AccountEntryBean method letterClicked.
/**
* Handle an ABC pager letter click: filter objects by specified starting
* letter
*/
public void letterClicked() {
if (letter != null) {
UIComponent comp = FacesUtils.getComponent("accountEntrys:list");
HtmlDataTable tabla = (HtmlDataTable) comp;
tabla.setFirst(0);
search.setConcept(letter + "%");
} else {
search.unsetConcept();
}
}
use of javax.faces.component.html.HtmlDataTable in project TNTConcept by autentia.
the class ProjectBean method letterClicked.
/**
* Handle an ABC pager letter click: filter objects by specified starting letter
*/
public void letterClicked() {
if (letter != null) {
UIComponent comp = FacesUtils.getComponent("projects:list");
HtmlDataTable tabla = (HtmlDataTable) comp;
tabla.setFirst(0);
search.setName(letter + "%");
} else {
search.unsetName();
}
}
Aggregations