java/nekurak.net-web/web/WEB-INF/casti/detail.jsp
author František Kučera <franta-hg@frantovo.cz>
Tue, 25 Jan 2011 22:03:46 +0100
changeset 177 d874e9e3e162
parent 158 e1ac3efcd140
child 179 2ed9f3231a28
permissions -rw-r--r--
Základ servletu pro zobrazování detailu podniku.
     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="detail" class="cz.frantovo.nekurak.web.Detail" scope="request"/>
    10 	<jsp:setProperty name="detail" property="id" value="${param.podnik}"/>
    11 
    12 	<nk:stranka titulek="${fn:escapeXml(detail.podnik.nazev)}">
    13 		<h1><c:out value="${detail.podnik.nazev}" /></h1>
    14 		<nk:podnikZahlavi podnik="${detail.podnik}" detailPodniku="true"/>
    15 		<nk:podnikDetail detail="${detail}"/>
    16 		<nk:podnikKomentare podnik="${detail.podnik}"/>
    17 	</nk:stranka>
    18 
    19 </jsp:root>