public int doEndTag() throws JspException { if (log.isLoggable(Level.WARNING)) { UIComponent component = getComponentInstance(); if (component != null && component.getRendersChildren() && !isBodyContentEmpty()) { log.warning("Component with id '" + component.getClientId(getFacesContext()) + "' (" + getClass().getName() + " tag) and path : "+org.apache.myfaces.shared_impl.renderkit.RendererUtils.getPathToComponent(component)+"renders it's children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML. For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML comments." + "\n BodyContent:\n" + getBodyContent().getString().trim()); } } return super.doEndTag(); }
public int doEndTag() throws JspException { if (log.isWarnEnabled()) { UIComponent component = getComponentInstance(); if (component != null && component.getRendersChildren() && !isBodyContentEmpty()) { log.warn("Component with id '" + component.getClientId(getFacesContext()) + "' (" + getClass().getName() + " tag) and path : "+org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.getPathToComponent(component)+"renders it's children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML. For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML comments." + "\n BodyContent:\n" + getBodyContent().getString().trim()); } } return super.doEndTag(); }
public int doEndTag() throws JspException { if (log.isWarnEnabled()) { UIComponent component = getComponentInstance(); if (component != null && component.getRendersChildren() && !isBodyContentEmpty()) { log.warn("Component with id '" + component.getClientId(getFacesContext()) + "' (" + getClass().getName() + " tag) and path : "+org.apache.myfaces.shared_impl.renderkit.RendererUtils.getPathToComponent(component)+"renders it's children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML. For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML comments." + "\n BodyContent:\n" + getBodyContent().getString().trim()); } } return super.doEndTag(); }
public int doEndTag() throws JspException { if (log.isWarnEnabled()) { UIComponent component = getComponentInstance(); if (component != null && component.getRendersChildren() && !isBodyContentEmpty()) { log.warn("Component with id '" + component.getClientId(getFacesContext()) + "' (" + getClass().getName() + " tag) and path : "+org.apache.myfaces.shared_orchestra.renderkit.RendererUtils.getPathToComponent(component)+"renders it's children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML. For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML comments." + "\n BodyContent:\n" + getBodyContent().getString().trim()); } } return super.doEndTag(); }
public int doEndTag() throws JspException { if (log.isLoggable(Level.WARNING)) { UIComponent component = getComponentInstance(); if (component != null && component.getRendersChildren() && !isBodyContentEmpty()) { log.warning("Component with id '" + component.getClientId(getFacesContext()) + "' (" + getClass().getName() + " tag) and path : "+org.apache.myfaces.shared_impl.renderkit.RendererUtils.getPathToComponent(component)+"renders it's children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML. For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML comments." + "\n BodyContent:\n" + getBodyContent().getString().trim()); } } return super.doEndTag(); }
public int doEndTag() throws JspException { final int rc = super.doEndTag(); final FacesContext context = FacesContext.getCurrentInstance(); AssertionUtil.assertNotNull("FacesContext", context); final ResponseWriter writer = context.getResponseWriter(); AssertionUtil.assertNotNull("ResponseWriter", writer); try { writer.endDocument(); } catch (final IOException e) { throw new JspException(e.getMessage(), e); } HttpSession session = null; if ((session = pageContext.getSession()) != null) { session.setAttribute(ViewHandler.CHARACTER_ENCODING_KEY, pageContext.getResponse().getCharacterEncoding()); } return rc; }