This tag works fine in the page being wrapped:
However it has no output in my footer.jsp which is included in my default.jsp (this is my decorator page).Code:<authz:authentication operation="username"/>
Any ideas?
footer.jsp (default.jsp below)
default.jspCode:<%@ include file="taglibs.jsp" %> <div id="divider"><div></div></div> <span class="left">Version @APPVERSION@ | <span id="validators"> <a href="http://validator.w3.org/check?uri=referer">XHTML Valid</a> | <a href="http://jigsaw.w3.org/css-validator/validator-uri.html">CSS Valid</a> </span> <fmt:message key="user.login"/> <authz:authentication operation="username"/> </span> <!-- Built on @BUILD-TIME@ -->
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ include file="../common/taglibs.jsp"%> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title><decorator:title/></title> <link rel="stylesheet" type="text/css" media="all" href="<c:url value='/styles/simplicity/theme.css'/>" /> <link rel="stylesheet" type="text/css" media="print" href="<c:url value='/styles/simplicity/print.css'/>" /> <decorator:head/> </head> <body> <div id="page"> <div id="header" class="clearfix"> <jsp:include page="../common/header.jsp"/> </div> <div id="content" class="clearfix"> <div id="main"> <decorator:body/> </div> </div> <div id="footer" class="clearfix"> <jsp:include page="../common/footer.jsp"/> </div> </div> </body> </html>


Reply With Quote