if(role != null && !request.isUserInRole(role))
return SKIP_BODY;
ContentMap map = ContentMapStack.peek(pageContext);
Content content = map.get(name);
if(content != null) {
if(content.isDirect()) {
try {
pageContext.getOut().print(content.toString());
}
catch(IOException ex) {
saveException(ex);
throw new JspException(ex.getMessage());
}
}
else {
try {
if (flush)
pageContext.getOut().flush();
pageContext.include(content.toString());
} catch (IOException ex) {
saveException(ex);
throw new JspException(ex.getMessage());
} catch(ServletException ex) {
saveException(ex);