java/nekurak.net-web/web/WEB-INF/casti/ajaxKomentare/chyba.jsp
changeset 143 91c4282ea15f
child 145 0efefbf5f8b6
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/ajaxKomentare/chyba.jsp	Sat Jun 19 14:00:11 2010 +0200
     1.3 @@ -0,0 +1,21 @@
     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:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
    1.10 +	  version="2.0">
    1.11 +
    1.12 +    <div>
    1.13 +	<c:choose>
    1.14 +	    <c:when test="${chyba.class == 'class javax.ejb.EJBAccessException'}">
    1.15 +		<p class="chybovaHlaska"><fmt:message key="komentare.nahledChybaPrihlaseni"/></p>
    1.16 +	    </c:when>
    1.17 +	    <c:otherwise>
    1.18 +		<p class="chybovaHlaska"><fmt:message key="komentare.nahledChybaFormatu"/></p>
    1.19 +		<p class="informacniHlaska"><fmt:message key="komentar.typ.xhtml.povoleneZnacky"/></p>
    1.20 +	    </c:otherwise>
    1.21 +	</c:choose>
    1.22 +    </div>
    1.23 +
    1.24 +</jsp:root>
    1.25 \ No newline at end of file