franta-hg@37: <?xml version="1.0" encoding="UTF-8"?>
franta-hg@37: <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
franta-hg@145: 		  xmlns:c="http://java.sun.com/jsp/jstl/core"
franta-hg@145: 		  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
franta-hg@145: 		  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
franta-hg@145: 		  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
franta-hg@154: 		  xmlns:nkfn="/WEB-INF/nekurakFunkce"
franta-hg@145: 		  version="2.0">
franta-hg@37: 
franta-hg@145: 	<jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/>
franta-hg@170: 	<jsp:setProperty name="uvod" property="kategorie"/>
franta-hg@171: 	<jsp:setProperty name="uvod" property="kurackost"/>
franta-hg@39: 
franta-hg@145: 	<nk:stranka>
franta-hg@39: 
franta-hg@170: 		<p>
franta-hg@170: 			<c:choose>
franta-hg@171: 				<!-- TODO: předělat, lepší filtrování, více podmínek současně -->
franta-hg@171: 				<c:when test="${uvod.kategorie != null &amp;&amp; uvod.kurackost == null}">
franta-hg@171: 					<fmt:message key="uvod.podnikyKategorie"/>:
franta-hg@171: 					<fmt:message key="dto.kategorie.${uvod.kategorie}.nazev"/>.
franta-hg@171: 				</c:when>
franta-hg@171: 				<c:when test="${uvod.kategorie == null &amp;&amp; uvod.kurackost != null}">
franta-hg@171: 					<fmt:message key="uvod.podnikyKategorie"/>:
franta-hg@171: 					<fmt:message key="dto.podnik.kurackost.${uvod.kurackost}.nazev"/>.
franta-hg@170: 				</c:when>
franta-hg@170: 				<c:otherwise>
franta-hg@171: 					<fmt:message key="uvod.naposledyPridanePodniky"/>:
franta-hg@170: 				</c:otherwise>
franta-hg@170: 			</c:choose>
franta-hg@170: 
franta-hg@170: 		</p>
franta-hg@58: 
franta-hg@145: 		<c:forEach var="p" items="${uvod.podniky}">
franta-hg@158: 			<nk:podnikZahlavi podnik="${p}" detailPodniku="false"/>
franta-hg@145: 		</c:forEach>
franta-hg@58: 
franta-hg@145: 		<!-- konec obtékaných bloků -->
franta-hg@145: 		<div class="cistic"></div>
franta-hg@58: 
franta-hg@145: 	</nk:stranka>
franta-hg@58: 
franta-hg@37: </jsp:root>