java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp
author František Kučera <franta-hg@frantovo.cz>
Fri, 26 Feb 2010 18:24:10 +0100
changeset 47 10cd7f54f9f5
parent 42 77c8271add7d
child 58 e019dbc42723
permissions -rw-r--r--
Oprava XHTML validity.
     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 	  version="2.0">
     7 
     8     <jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/>
     9 
    10     <p><fmt:message key="uvod.naposledyPridanePodniky"/>:</p>
    11 
    12     <c:forEach var="p" items="${uvod.podniky}">
    13 	<div class="podnik">
    14 	    <h2><a href="?akce=detail&amp;amp;podnik=${p.id}"><c:out value="${p.nazev}"/></a></h2>
    15 	    <p><c:out value="${p.popis}"/></p>
    16 	    <p>
    17 	    <fmt:message key="uvod.adresa"/>:<br/>
    18 		<c:out value="${p.ulice}"/>&amp;#160;
    19 		<c:out value="${p.cisloPopisne}"/><br/>
    20 		<c:out value="${p.mesto}"/>
    21 	    </p>
    22 	    <c:if test="${p.url != null}">
    23 		<p><a href="${fn:escapeXml(p.url)}"><fmt:message key="uvod.www"/></a></p>
    24 	    </c:if>
    25 	</div>
    26     </c:forEach>
    27 
    28 </jsp:root>