java/nekurak.net-web/web/WEB-INF/casti/detail.jsp
changeset 191 19128e9f7fb1
parent 158 e1ac3efcd140
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/casti/detail.jsp	Sun Jan 09 16:27:44 2011 +0100
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/detail.jsp	Wed Jul 20 18:55:25 2011 +0200
     1.3 @@ -6,14 +6,14 @@
     1.4  		  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
     1.5  		  version="2.0">
     1.6  
     1.7 -	<jsp:useBean id="detail" class="cz.frantovo.nekurak.web.Detail" scope="request"/>
     1.8 -	<jsp:setProperty name="detail" property="id" value="${param.podnik}"/>
     1.9 +	<c:set var="podnik" value="${requestScope['podnik']}"/>
    1.10 +	<c:set var="mapa" value="${requestScope['mapa']}"/>
    1.11  
    1.12 -	<nk:stranka titulek="${fn:escapeXml(detail.podnik.nazev)}">
    1.13 -		<h1><c:out value="${detail.podnik.nazev}" /></h1>
    1.14 -		<nk:podnikZahlavi podnik="${detail.podnik}" detailPodniku="true"/>
    1.15 -		<nk:podnikDetail detail="${detail}"/>
    1.16 -		<nk:podnikKomentare podnik="${detail.podnik}"/>
    1.17 +	<nk:stranka titulek="${fn:escapeXml(podnik.nazev)}">
    1.18 +		<h1><c:out value="${podnik.nazev}" /></h1>
    1.19 +		<nk:podnikZahlavi podnik="${podnik}" detailPodniku="true"/>
    1.20 +		<nk:podnikDetail podnik="${podnik}" mapa="${mapa}"/>
    1.21 +		<nk:podnikKomentare podnik="${podnik}"/>
    1.22  	</nk:stranka>
    1.23  
    1.24  </jsp:root>