Sorry, complete newbie here with a simple question that I can't find an
answer for anywhere :(

I have the following line of code in an HTML file:

<esi:include jwcid="@Any" src="ognl:href" /> 

In my corresponding Java class, my getHref() returns a URL as a String,
something a bit like this:

http://www.mfc.co.uk?param1=a&param2=b&param3=c

However, when I build and deploy my application then view the HTML source
from my browser, my URL now looks like this:

<esi:include src="http://www.mfc.co.uk?param1=a&amp;param2=b&amp;param3=c"/>

where all the & symbols have been replaced by amps.

This might not sound like an issue, but it is causing me no end of grief. 
It seems that somehow the "Any" component is encoding my URL and replacing
the & symbol by amp.

Does anyone know of a way I can prevent this from happening?
-- 
View this message in context: 
http://www.nabble.com/Newbie-Tapestry-Question%3A-the-%22Any%22-Component-tp16743537p16743537.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to