I have a URL that looks like
http://server/context/page.jsf?param1=value1#state=statename::stateparam=value2
Is there anyway to the take this URL and encode the components (the two values) using h:outputLink
?
I've tried
<h:outputLink value="page.jsf">
<f:param name="param1" value="#{servervalue1}#state=statename::stateparam=#{servervalue2}"/>
<h:outputText value="#{linkname}"/>
</h:outputLink>
But it encodes the the state section of the URL so it no longer works.