Conditional rendering of f:param in JSF
问题 I'm using an <h:outputLink> as follows. <c:set var="cid" value="1"/> <c:set var="sid" value="2"/> <h:outputLink value="Test.jsf"> <h:outputText value="Link"/> <f:param name="cid" value="#{cid}"/> <f:param name="sid" value="#{sid}"/> </h:outputLink> This is just an example. Both of the query-string parameters are dynamic. So, <c:set> used here is just for the sake of demonstration. At any time, either one, both or none of the parameters may be present. In case, if only one or none of them is