0

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?

djmj
  • 5,579
  • 5
  • 54
  • 92
  • 3
    Set includeViewParams=true in , that way you can carry the view parameters from one page to another, See BalusC's answer [here](http://stackoverflow.com/questions/7257112/jsf-2-0-automatically-include-view-parameters-in-url) – Ravi Kadaboina Aug 07 '12 at 23:46
  • Thanks, that was what I was searching for – djmj Aug 08 '12 at 21:39

0 Answers0