Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3303

<hst:html> tag library example error in .tld for formattedText attribute

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.26.14
    • 2.30.01, CMS-10.0-GA
    • None
    • Flagged

    Description

      In hst-core.tld, there's an example with formattedText attribute but it uses a wrong attribute name in the example:

        <tag>
          <description>This tag can be used to render a Rich Text, Formatted Text or Text field as html. Use the appropriate
            attribute for each type.
          </description>
          <name>html</name>
          <!-- SNIP -->
          <attribute>
            <description>A string containing html markup as generated by the Formatted Text field. This attribute takes
              precedence over the text attribute.
            </description>
            <name>formattedText</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <type>java.lang.String</type>
          </attribute>
          <!-- SNIP -->
          <example><![CDATA[
            <div>
              <hst:html hippohtml="${document.body}" fullyQualifiedLinks="true" />
              <hst:html formatttedhtml="${document.formattedhtml}" />
              <hst:html text="${document.intro}" />
            </div>
            ]]></example>
        </tag>
      

      It should have used 'formattedText' instead in the second example.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: