Is there a function that creates a request param String using the current request params #{params}
or internal FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap()
?
Example:
Website is opened with following url: index.xhtml?lang=en&q=test
A dynamic link on the site could access specific keys from the params
map but all 'unknown' keys should be used like:
Link jsf: index.xhtml?#{mapToString(param)}
Output: index.xhtml?lang=en&q=test
Function:
http://java.dzone.com/articles/two-ways-convert-java-map
Or is this a candidate for omnifaces BalusC?