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.

Reply via email to