Re: URL Parameters get lost when switching to new jsf Page

Splash Forums PrettyFaces Users URL Parameters get lost when switching to new jsf Page Re: URL Parameters get lost when switching to new jsf Page

#20177

jens-it
Participant

I expect the URL to be: http://localhost:8080/application/start?param1=one+value

“one value” is first read from the #{testBean.param1} in the command link.

Then it is put into the URL and also in the managed bean #{testBean2.result}

within the pretty faces url-mapping.

The solution: <pattern value=”/start/#{param1}” /> does not work, an exception is thrown:

“Exception occurred while building URL for MappingId < startPage >, Required value < #{param1} > was null”