java/nekurak.net-web/web/WEB-INF/tags/nekurak/komentareVypis.tag
changeset 126 d47f6a75d20e
child 127 2b6107e510d8
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/tags/nekurak/komentareVypis.tag	Mon Jun 07 23:14:02 2010 +0200
     1.3 @@ -0,0 +1,25 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
     1.6 +	  xmlns:c="http://java.sun.com/jsp/jstl/core"
     1.7 +	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
     1.8 +	  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
     1.9 +	  xmlns:nkfn="/WEB-INF/nekurakFunkce"
    1.10 +	  version="2.0">
    1.11 +
    1.12 +    <jsp:directive.attribute name="podnik" type="cz.frantovo.nekurak.dto.Podnik" required="true"/>
    1.13 +
    1.14 +    <div class="komentare">
    1.15 +	<h3><fmt:message key="komentare.vypisNadpis"/></h3>
    1.16 +	<c:choose>
    1.17 +	    <c:when test="${prihlasenyUzivatel == null}">
    1.18 +		<p>pro vkládání komentářů se prosím přihlašte</p>
    1.19 +	    </c:when>
    1.20 +	    <c:otherwise>
    1.21 +		<p>Uživatel: <c:out value="${prihlasenyUzivatel}" /></p>
    1.22 +	    </c:otherwise>
    1.23 +	</c:choose>
    1.24 +
    1.25 +
    1.26 +    </div>
    1.27 +
    1.28 +</jsp:root>
    1.29 \ No newline at end of file