java/nekurak.net-web/web/WEB-INF/casti/odeslatKomentar.jsp
author František Kučera <franta-hg@frantovo.cz>
Tue Jun 08 09:09:17 2010 +0200 (2010-06-08)
changeset 130 1bbff3f5181f
child 132 1ca0d7fdbe51
permissions -rw-r--r--
komentáře – escapování a EJB
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
     3 	  xmlns:c="http://java.sun.com/jsp/jstl/core"
     4 	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
     5 	  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
     6 	  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
     7 	  version="2.0">
     8 
     9     <jsp:useBean id="odeslatKomentar" class="cz.frantovo.nekurak.web.OdeslatKomentar" scope="request"/>
    10     <jsp:useBean id="komentar" class="cz.frantovo.nekurak.dto.Komentar" scope="request"/>
    11 
    12 
    13     <fmt:message key="komentar.odeslat.nadpis" var="titulekStranky"/>
    14     <nk:stranka titulek="${titulekStranky}">
    15 
    16 	<h1><c:out value="${titulekStranky}"/></h1>
    17 
    18 	<jsp:setProperty name="komentar" property="podnik" value="${param.podnik}"/>
    19 	<jsp:setProperty name="komentar" property="nadpis" value="${param.nadpis}"/>
    20 	<jsp:setProperty name="komentar" property="komentar" value="${param.komentar}"/>
    21 	<jsp:setProperty name="komentar" property="typ" value="${param.typ}"/>
    22 	<jsp:setProperty name="odeslatKomentar" property="komentar" value="${komentar}"/>
    23 
    24 	<p>
    25 	    <fmt:message key="komentar.odeslat.ok"/>,
    26 	    <a href="?akce=detail&amp;amp;podnik=${komentar.podnik}"><fmt:message key="komentar.odeslat.pokracujte"/></a>.
    27 	</p>
    28 
    29 
    30     </nk:stranka>
    31 
    32 </jsp:root>