Hi there.
I'm doing this:
<a href="http%3A%2F%2Flocalhost%3A8080%2Fnews.xhtml%3Fid%3D32%26lang%3Den" target="_blank" />
and when this is rendered, the link points to: http://localhost:8080/news.xhtml?id=32&lang=en
I need that this link points to the url encoded and not to the one decoded.
Does anyone knows how to escape it?
Update (as per the comments): I need it to implement Share this on facebook feature. The way to do it is to call the following link: http://facebook.com/sharer.php?u=<encoded url to share>