You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dustin Frazier <du...@philanthropix.org> on 2003/10/21 20:36:57 UTC

avoiding HTML entity conversion

I have a tiny piece of Tapestry code that looks like:

<img jwcid="@Any" src="ognl:chartPath"/>

The string returned by getChartPath contains ampersand characters (it's a call
to a servlet with parameters).  It looks like Tapestry is converting these
ampersand characters to the &amp; HTML entity.  Any way I can avoid this
conversion?

Thanks!

Dustin


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


RE: avoiding HTML entity conversion

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
No, and no reason to.  Tapestry is producing correct HTML ... you're just used to the kind of buggy,
non-compliant HTML that's so 90's now.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com

> -----Original Message-----
> From: Dustin Frazier [mailto:dustin@philanthropix.org] 
> Sent: Tuesday, October 21, 2003 2:37 PM
> To: tapestry-user@jakarta.apache.org
> Subject: avoiding HTML entity conversion
> 
> 
> I have a tiny piece of Tapestry code that looks like:
> 
> <img jwcid="@Any" src="ognl:chartPath"/>
> 
> The string returned by getChartPath contains ampersand 
> characters (it's a call to a servlet with parameters).  It 
> looks like Tapestry is converting these ampersand characters 
> to the &amp; HTML entity.  Any way I can avoid this conversion?
> 
> Thanks!
> 
> Dustin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 


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