java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp
author František Kučera <franta-hg@frantovo.cz>
Thu Mar 04 11:00:19 2010 +0100 (2010-03-04)
changeset 50 d259a2dfea67
parent 42 77c8271add7d
child 58 e019dbc42723
permissions -rw-r--r--
Uživatel – DAO, EJB, Hibernate.
franta-hg@37
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@37
     2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
franta-hg@37
     3
	  xmlns:c="http://java.sun.com/jsp/jstl/core"
franta-hg@37
     4
	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
franta-hg@39
     5
	  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
franta-hg@37
     6
	  version="2.0">
franta-hg@37
     7
franta-hg@39
     8
    <jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/>
franta-hg@39
     9
franta-hg@42
    10
    <p><fmt:message key="uvod.naposledyPridanePodniky"/>:</p>
franta-hg@39
    11
franta-hg@39
    12
    <c:forEach var="p" items="${uvod.podniky}">
franta-hg@40
    13
	<div class="podnik">
franta-hg@47
    14
	    <h2><a href="?akce=detail&amp;amp;podnik=${p.id}"><c:out value="${p.nazev}"/></a></h2>
franta-hg@40
    15
	    <p><c:out value="${p.popis}"/></p>
franta-hg@40
    16
	    <p>
franta-hg@42
    17
	    <fmt:message key="uvod.adresa"/>:<br/>
franta-hg@40
    18
		<c:out value="${p.ulice}"/>&amp;#160;
franta-hg@40
    19
		<c:out value="${p.cisloPopisne}"/><br/>
franta-hg@40
    20
		<c:out value="${p.mesto}"/>
franta-hg@40
    21
	    </p>
franta-hg@40
    22
	    <c:if test="${p.url != null}">
franta-hg@42
    23
		<p><a href="${fn:escapeXml(p.url)}"><fmt:message key="uvod.www"/></a></p>
franta-hg@40
    24
	    </c:if>
franta-hg@40
    25
	</div>
franta-hg@39
    26
    </c:forEach>
franta-hg@37
    27
franta-hg@37
    28
</jsp:root>