1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/odeslatKomentar.jsp Tue Jun 08 09:09:17 2010 +0200
1.3 @@ -0,0 +1,32 @@
1.4 +<?xml version="1.0" encoding="UTF-8"?>
1.5 +<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
1.6 + xmlns:c="http://java.sun.com/jsp/jstl/core"
1.7 + xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
1.8 + xmlns:fn="http://java.sun.com/jsp/jstl/functions"
1.9 + xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
1.10 + version="2.0">
1.11 +
1.12 + <jsp:useBean id="odeslatKomentar" class="cz.frantovo.nekurak.web.OdeslatKomentar" scope="request"/>
1.13 + <jsp:useBean id="komentar" class="cz.frantovo.nekurak.dto.Komentar" scope="request"/>
1.14 +
1.15 +
1.16 + <fmt:message key="komentar.odeslat.nadpis" var="titulekStranky"/>
1.17 + <nk:stranka titulek="${titulekStranky}">
1.18 +
1.19 + <h1><c:out value="${titulekStranky}"/></h1>
1.20 +
1.21 + <jsp:setProperty name="komentar" property="podnik" value="${param.podnik}"/>
1.22 + <jsp:setProperty name="komentar" property="nadpis" value="${param.nadpis}"/>
1.23 + <jsp:setProperty name="komentar" property="komentar" value="${param.komentar}"/>
1.24 + <jsp:setProperty name="komentar" property="typ" value="${param.typ}"/>
1.25 + <jsp:setProperty name="odeslatKomentar" property="komentar" value="${komentar}"/>
1.26 +
1.27 + <p>
1.28 + <fmt:message key="komentar.odeslat.ok"/>,
1.29 + <a href="?akce=detail&amp;podnik=${komentar.podnik}"><fmt:message key="komentar.odeslat.pokracujte"/></a>.
1.30 + </p>
1.31 +
1.32 +
1.33 + </nk:stranka>
1.34 +
1.35 +</jsp:root>