Re: Issue : pretty:link trailing '?'

Splash Forums PrettyFaces Users Issue : pretty:link trailing '?' Re: Issue : pretty:link trailing '?'

#22623

LaChamelle
Participant

Hi,

When one f:param is not rendered its generate an extra ‘?’

<h:link outcome="pretty:#{prettyManager.currentMappingId}" rendered="#{prettyManager.currentMappingId ne 'emptyhome'}" styleClass="langue">
<f:param name="lang" value="#{acceptedLanguage}"/>
<f:param name="siteId" value="#{prettyManager.urlSiteId}" rendered="#{prettyManager.urlSiteId != null}"/>
<f:param value="#{prettyManager.urlThemeId}" rendered="#{prettyManager.urlThemeId != null}"/>
#{acceptedLanguage}
</h:link>

Thanks.