author | František Kučera <franta-hg@frantovo.cz> |
Sat Jun 19 14:00:11 2010 +0200 (2010-06-19) | |
changeset 143 | 91c4282ea15f |
parent 134 | 4bd1e353c527 |
child 145 | 0efefbf5f8b6 |
permissions | -rw-r--r-- |
franta-hg@130 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@130 | 2 |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" |
franta-hg@130 | 3 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
franta-hg@130 | 4 |
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" |
franta-hg@130 | 5 |
xmlns:fn="http://java.sun.com/jsp/jstl/functions" |
franta-hg@130 | 6 |
xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak" |
franta-hg@130 | 7 |
version="2.0"> |
franta-hg@130 | 8 |
|
franta-hg@130 | 9 |
<jsp:useBean id="odeslatKomentar" class="cz.frantovo.nekurak.web.OdeslatKomentar" scope="request"/> |
franta-hg@130 | 10 |
<jsp:useBean id="komentar" class="cz.frantovo.nekurak.dto.Komentar" scope="request"/> |
franta-hg@130 | 11 |
|
franta-hg@130 | 12 |
|
franta-hg@130 | 13 |
<fmt:message key="komentar.odeslat.nadpis" var="titulekStranky"/> |
franta-hg@130 | 14 |
<nk:stranka titulek="${titulekStranky}"> |
franta-hg@130 | 15 |
|
franta-hg@130 | 16 |
<h1><c:out value="${titulekStranky}"/></h1> |
franta-hg@130 | 17 |
|
franta-hg@130 | 18 |
<jsp:setProperty name="komentar" property="podnik" value="${param.podnik}"/> |
franta-hg@130 | 19 |
<jsp:setProperty name="komentar" property="nadpis" value="${param.nadpis}"/> |
franta-hg@130 | 20 |
<jsp:setProperty name="komentar" property="komentar" value="${param.komentar}"/> |
franta-hg@130 | 21 |
<jsp:setProperty name="komentar" property="typ" value="${param.typ}"/> |
franta-hg@130 | 22 |
<jsp:setProperty name="odeslatKomentar" property="komentar" value="${komentar}"/> |
franta-hg@130 | 23 |
|
franta-hg@132 | 24 |
<c:choose> |
franta-hg@132 | 25 |
<c:when test="${odeslatKomentar.ok}"> |
franta-hg@134 | 26 |
<p class="informacniHlaska"> |
franta-hg@132 | 27 |
<fmt:message key="komentar.odeslat.ok"/>, |
franta-hg@142 | 28 |
<a href="?akce=detail&amp;podnik=${komentar.podnik}"> |
franta-hg@142 | 29 |
<fmt:message key="komentar.odeslat.pokracujte"/> |
franta-hg@142 | 30 |
</a>. |
franta-hg@132 | 31 |
</p> |
franta-hg@132 | 32 |
</c:when> |
franta-hg@132 | 33 |
<c:otherwise> |
franta-hg@133 | 34 |
<p class="chybovaHlaska"><fmt:message key="komentar.odeslat.chyba"/></p> |
franta-hg@132 | 35 |
</c:otherwise> |
franta-hg@132 | 36 |
</c:choose> |
franta-hg@132 | 37 |
|
franta-hg@132 | 38 |
|
franta-hg@130 | 39 |
|
franta-hg@130 | 40 |
|
franta-hg@130 | 41 |
</nk:stranka> |
franta-hg@130 | 42 |
|
franta-hg@130 | 43 |
</jsp:root> |