Tapestry
  1. Tapestry
  2. TAPESTRY-2429

Script text added by RenderSupport.addScript() should be added raw (with XML elements not encoded as entities)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.12
    • Fix Version/s: 5.0.14
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      In a component, I am using
      RenderSupport.addScript(str),
      where
      String str = "new tooltip(\"tooltipA\", \"<span
      id='tooltip1'>A tooltip over link<span>\", 10, 20,
      false,0)";

      But at the bottom of the rendered html, < and > are escaped and rendered as
      < and > respectively.

      Maybe RenderSupport.addScript should have an option to render raw text.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Shing Hing Man
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development