use of javax.faces.component.html.HtmlDataTable in project gdmatrix by gdmatrix.
the class AdminSurveyBean method getNewAnswersDataTable.
public HtmlDataTable getNewAnswersDataTable() {
if (newAnswersDataTable == null) {
newAnswersDataTable = new HtmlDataTable();
newAnswersDataTable.setValue(new ArrayList());
}
return newAnswersDataTable;
}
use of javax.faces.component.html.HtmlDataTable in project liferay-faces-alloy by liferay.
the class ColumnRenderer method encodeEnd.
@Override
public void encodeEnd(FacesContext facesContext, UIComponent uiComponent) throws IOException {
ResponseWriter responseWriter = facesContext.getResponseWriter();
UIComponent parent = uiComponent.getParent();
if (!((parent instanceof HtmlDataTable) || (parent instanceof HtmlPanelGrid))) {
responseWriter.endElement("div");
}
}
use of javax.faces.component.html.HtmlDataTable in project TNTConcept by autentia.
the class BookBean method letterClicked.
/**
* Handle an ABC pager letter click: filter objects by specified starting letter
*/
public void letterClicked() {
if (letter != null) {
UIComponent comp = FacesUtils.getComponent("books: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 MagazineBean method letterClicked.
/**
* Handle an ABC pager letter click: filter objects by specified starting letter
*/
public void letterClicked() {
if (letter != null) {
UIComponent comp = FacesUtils.getComponent("magazines: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 OfferBean method letterClicked.
/**
* Handle an ABC pager letter click: filter objects by specified starting letter
*/
public void letterClicked() {
if (letter != null) {
UIComponent comp = FacesUtils.getComponent("offers:list");
HtmlDataTable tabla = (HtmlDataTable) comp;
tabla.setFirst(0);
search.setTitle(letter + "%");
} else {
search.unsetTitle();
}
}
Aggregations