Legend:
- Unmodified
- Added
- Removed
-
java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/dto/Tabulka.java
r12 r13 36 36 html.append("<tbody>"); 37 37 for (Object[] hh : getHodnoty()) { 38 html.append("<tr>"); 38 39 for (Object h : hh) { 39 html.append(formatuj Radek(h));40 html.append(formatujBunku(h)); 40 41 } 42 html.append("</tr>"); 41 43 } 42 44 html.append("</tbody>"); … … 49 51 } 50 52 51 private String formatujRadek(Object o) { 53 private String formatujBunku(Object o) { 54 /** TODO: podporovat i jiné typy */ 52 55 if (o instanceof Integer) { 53 56 return "<td class=\"cislo\">" + Html.escapuj(String.valueOf(o)) + "</td>";