You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Adam Kruszewski <sp...@kruszewski.name> on 2005/05/27 15:21:40 UTC
h:outputLink with encodeURL?
Why <h:outputLink> doesn't encodeURL() supplied value ? (or how to make
it to do this? :-))
Simple:
<h:outputLink value="a b c d" ><h:outputText value="link"/></h:outputLink>
is rendered as "<a id="_id0:_id1" href="a b c d">link</a>"
IMHO spaces and other special characters could be encoded (excluding "/"
character).
I didn't read whole jsf spec so maybe it is intended behaviuor ;-)
(I'm using myfaces 1.0.9 and I didn't find any corresponding jira issue)
Regards,
a.