author | František Kučera <franta-hg@frantovo.cz> |
Wed, 14 Apr 2010 00:12:32 +0200 | |
changeset 100 | 01be78803f73 |
parent 73 | 34c7eb5f2fae |
child 103 | bafbc7877425 |
permissions | -rw-r--r-- |
franta-hg@40 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@40 | 2 |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" |
franta-hg@40 | 3 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
franta-hg@40 | 4 |
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" |
franta-hg@40 | 5 |
xmlns:fn="http://java.sun.com/jsp/jstl/functions" |
franta-hg@73 | 6 |
xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak" |
franta-hg@40 | 7 |
version="2.0"> |
franta-hg@40 | 8 |
|
franta-hg@100 | 9 |
<jsp:useBean id="detail" class="cz.frantovo.nekurak.web.Detail" scope="request"/> |
franta-hg@100 | 10 |
|
franta-hg@100 | 11 |
<jsp:setProperty name="detail" property="id" value="${param.podnik}"/> |
franta-hg@100 | 12 |
|
franta-hg@100 | 13 |
<nk:stranka titulek="${fn:escapeXml(detail.podnik.nazev)}"> |
franta-hg@100 | 14 |
|
franta-hg@100 | 15 |
<h1><c:out value="${detail.podnik.nazev}" /></h1> |
franta-hg@100 | 16 |
|
franta-hg@100 | 17 |
|
franta-hg@100 | 18 |
<c:choose> |
franta-hg@100 | 19 |
<c:when test="${detail.mapa == null}"> |
franta-hg@100 | 20 |
<p> |
franta-hg@100 | 21 |
Souřadnice tohoto podniku nejsou známé.<br/> |
franta-hg@100 | 22 |
(možná ještě nebyl proveden jejich výpočet) |
franta-hg@100 | 23 |
</p> |
franta-hg@100 | 24 |
</c:when> |
franta-hg@100 | 25 |
<c:otherwise> |
franta-hg@100 | 26 |
<p> |
franta-hg@100 | 27 |
Zeměpisná šířka: ${detail.podnik.sirka}<br/> |
franta-hg@100 | 28 |
Zeměpisná délka: ${detail.podnik.sirka}<br/> |
franta-hg@100 | 29 |
Loc: ${detail.podnik.sirka}, ${detail.podnik.delka}<br/> |
franta-hg@100 | 30 |
</p> |
franta-hg@100 | 31 |
<p> |
franta-hg@100 | 32 |
<img alt="mapa" src="${fn:escapeXml(detail.mapa)}"/> |
franta-hg@100 | 33 |
</p> |
franta-hg@100 | 34 |
</c:otherwise> |
franta-hg@100 | 35 |
</c:choose> |
franta-hg@100 | 36 |
|
franta-hg@100 | 37 |
|
franta-hg@100 | 38 |
|
franta-hg@73 | 39 |
</nk:stranka> |
franta-hg@40 | 40 |
|
franta-hg@40 | 41 |
</jsp:root> |