I have this command link that should assign forumBacking.forumName property with needed forum's name
When I click this link I have correct forum name assigned to forumBacking.forumName . But I want to move to next page clicking this link without passing any parameters. I have mapping in pretty-config
This mapping is bad because it matches parent_mapping(forums) + "/". It means that user types in browser bar what matches and receives nothing because forumBacking.forumName is not assigned with <f:setPropertyActionListener>
I dont' want to pass forum.name as a parameter because Tim Holloway says it is bad idea!
Stuff like this allows you to make bookmarkable URLs, in addition to "passing a parameter".
This isn't a solution for every problem, since it does expose data on the client side; though in this case, we want to expose that data. For a more secure link (and/or one where the "parameter" data is larger), you should inject a common Managed Bean accessible on the target View into the backing bean that contains a commandLink action method, let the action method post the data to that injected bean via a property setter, then return the "pretty:forumInnerLink" navigation directive as the action method's return value. And get rid of the propertyActionListener.
Customer surveys are for companies who didn't pay proper attention to begin with.