hst-core-tags
Tag html


This tag can be used to render a Rich Text, Formatted Text or Text field as html. Use the appropriate attribute for each type.

Example:
<div> <hst:html hippohtml="${document.body}" fullyQualifiedLinks="true" /> <hst:html formattedhtml="${document.formattedhtml}" /> <hst:html text="${document.intro}" /> </div>


Tag Information
Tag Classorg.hippoecm.hst.tag.HstHtmlTag
TagExtraInfo Classorg.hippoecm.hst.tag.HstHtmlTag$TEI
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
varfalsefalsejava.lang.StringThe variable name of the html tag
hippohtmlfalsetrueorg.hippoecm.hst.content.beans.standard.HippoHtmlA HippoHtml object. Internal document links and images in the HippoHtml (hippostd:content) will be rewritten to correct URLs. If you want to use different image variants than the ones stored in the hippostd:content, you can add a 'imagevariant' child tag to this tag. See 'imagevariant' tag. This attribute takes precedence over the formattedhtml and text attributes.
contentRewriterfalsetrueorg.hippoecm.hst.content.rewriter.ContentRewriterA ContentRewriter object. Use this when you want to use your own ContentRewriter instead of the default one, the org.hippoecm.hst.content.rewriter.impl.SimpleContentRewriter.
formattedTextfalsetruejava.lang.StringA string containing html markup as generated by the Formatted Text field. This attribute takes precedence over the text attribute.
textfalsetruejava.lang.StringA string as generated by the Text field. Line endings are rewritten to html. Double newlines are converted to paragraphs. Single newlines are converted to breaks.
fullyQualifiedLinksfalsetruejava.lang.BooleanFlag to define whether internal links are rewritten to fully qualified link (URLs), thus starting with 'http://' or 'https://' etc
canonicalLinksfalsetruejava.lang.BooleanIf internal links should be rewritten to canonicalLinks links then use this attr with value true
scopefalsefalsejava.lang.StringScope of var or the localization context configuration variable. "page", "request", "session" or "application". "page" scope by default.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.