Package pt.ist.fenixWebFramework.renderers.components

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlTableHeader.createRow()


        private HtmlTable renderSearcher() {
            HtmlTable htmlTable = new HtmlTable();
            htmlTable.setClasses(getSearchTableClasses());
            HtmlTableHeader header = htmlTable.createHeader();
            HtmlTableRow headerRow = header.createRow();

            HtmlTableRow row = htmlTable.createRow();
            createAttendsStateTypeSearch(row, headerRow);
            createDCPSearch(row, headerRow);
            createShiftSearch(row, headerRow);
View Full Code Here


                rowSpan = 1;
            } else {
                rowSpan = 2;
            }

            HtmlTableRow row1 = tableHeader.createRow();
            if (bean.getViewPhoto()) {
                HtmlTableCell photoCell = row1.createCell(BundleUtil.getString(Bundle.APPLICATION, "label.photo"));
                photoCell.setRowspan(rowSpan);
            }
            HtmlTableCell usernameCell = row1.createCell(BundleUtil.getString(Bundle.APPLICATION, "label.username"));
View Full Code Here

            if (!shiftTypes.isEmpty()) {
                HtmlTableCell shiftCell = row1.createCell(BundleUtil.getString(Bundle.APPLICATION, "label.attends.shifts"));
                shiftCell.setColspan(shiftTypes.size());
            }

            HtmlTableRow row2 = tableHeader.createRow();
            for (Grouping grouping : groupings) {
                row2.createCell(grouping.getName());
            }
            for (ShiftType shiftType : shiftTypes) {
                row2.createCell(BundleUtil.getString(Bundle.ENUMERATION, shiftType.getName()));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.