<%@ include file="/taglibs.jsp" %><% { String prefix = org.apache.roller.ui.core.tags.DateTag.KEY_PREFIX; String formName = request.getAttribute(prefix+"_formName").toString(); String dateField = request.getAttribute(prefix+"_property").toString(); String dateFormat = request.getAttribute(prefix+"_dateFormat").toString(); // value comes from request, must escape to avoid XSS vulnerability String value = org.apache.roller.util.Utilities.escapeHTML(request.getAttribute(prefix+"_value").toString()); Boolean readOnly = (Boolean)request.getAttribute(prefix+"_readOnly"); %> <% if (!readOnly.booleanValue()) { %> Calendar <% } } %>