java/nekurak.net-web/web/WEB-INF/casti/odeslatKomentar.jsp
author František Kučera <franta-hg@frantovo.cz>
Tue, 08 Jun 2010 09:09:17 +0200
changeset 130 1bbff3f5181f
child 132 1ca0d7fdbe51
permissions -rw-r--r--
komentáře – escapování a EJB
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@130
    24
	<p>
franta-hg@130
    25
	    <fmt:message key="komentar.odeslat.ok"/>,
franta-hg@130
    26
	    <a href="?akce=detail&amp;amp;podnik=${komentar.podnik}"><fmt:message key="komentar.odeslat.pokracujte"/></a>.
franta-hg@130
    27
	</p>
franta-hg@130
    28
franta-hg@130
    29
franta-hg@130
    30
    </nk:stranka>
franta-hg@130
    31
franta-hg@130
    32
</jsp:root>