author | František Kučera <franta-hg@frantovo.cz> |
Mon, 09 Mar 2009 01:42:06 +0100 | |
changeset 47 | 3ac84fe439be |
parent 43 | 22cc28d200f3 |
permissions | -rw-r--r-- |
franta-hg@41 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@41 | 2 |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" |
franta-hg@41 | 3 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
franta-hg@41 | 4 |
xmlns:f="http://java.sun.com/jsp/jstl/functions" |
franta-hg@41 | 5 |
version="2.0"> |
franta-hg@41 | 6 |
|
franta-hg@41 | 7 |
<form action="#" method="get"> |
franta-hg@41 | 8 |
<fieldset> |
franta-hg@41 | 9 |
<label>Začátek: <input name="zacatek" type="text" value="${denniSouhrn.zacatek}"/></label><br/> |
franta-hg@41 | 10 |
<label title="Pokud konec nezadáte, zobrazí se souhrn za jeden den – začátek">Konec: <input name="konec" type="text" value="${denniSouhrn.konec}"/></label><br/> |
franta-hg@43 | 11 |
<label>Graf: <select name="graf"> |
franta-hg@43 | 12 |
<c:choose> |
franta-hg@43 | 13 |
<c:when test="${param.graf == 'ano'}"> |
franta-hg@43 | 14 |
<option value="ne">Nezobrazovat</option> |
franta-hg@43 | 15 |
<option value="ano" selected="selected">Zobrazovat</option> |
franta-hg@43 | 16 |
</c:when> |
franta-hg@43 | 17 |
<c:otherwise> |
franta-hg@43 | 18 |
<option value="ne" selected="selected">Nezobrazovat</option> |
franta-hg@43 | 19 |
<option value="ano">Zobrazovat</option> |
franta-hg@43 | 20 |
</c:otherwise> |
franta-hg@43 | 21 |
</c:choose> |
franta-hg@43 | 22 |
</select></label><br/> |
franta-hg@41 | 23 |
<label>Cíl: <select name="cil"> |
franta-hg@41 | 24 |
<option value="0">Všechny cíle</option> |
franta-hg@41 | 25 |
<c:forEach var="c" items="${denniSouhrn.seznamCilu}"> |
franta-hg@41 | 26 |
<c:choose> |
franta-hg@41 | 27 |
<c:when test="${c.id == denniSouhrn.cil}"> |
franta-hg@41 | 28 |
<option value="${c.id}" selected="selected"><c:out value="${c.nazev}"/></option> |
franta-hg@41 | 29 |
</c:when> |
franta-hg@41 | 30 |
<c:otherwise> |
franta-hg@41 | 31 |
<option value="${c.id}"><c:out value="${c.nazev}"/></option> |
franta-hg@41 | 32 |
</c:otherwise> |
franta-hg@41 | 33 |
</c:choose> |
franta-hg@41 | 34 |
</c:forEach> |
franta-hg@41 | 35 |
</select></label><br/> |
franta-hg@41 | 36 |
<button>Zobrazit</button> |
franta-hg@41 | 37 |
</fieldset> |
franta-hg@41 | 38 |
</form> |
franta-hg@41 | 39 |
</jsp:root> |