tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Closed: (TAPESTRY-2429) Script text added by RenderSupport.addScript() should be added raw (with XML elements not encoded as entities)
Date Tue, 05 Aug 2008 21:30:45 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-2429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship closed TAPESTRY-2429.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.14

> Script text added by RenderSupport.addScript() should be added raw (with XML elements
not encoded as entities)
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2429
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2429
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.12
>            Reporter: Shing Hing Man
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.14
>
>
> 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 
> &lt; and &gt; respectively. 
> Maybe RenderSupport.addScript should have an option to render raw text.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message