Reply To: Issue migrating from PrettyFaces 3.3.3 to Rewrite 2.0.2.

Splash Forums PrettyFaces Users Issue migrating from PrettyFaces 3.3.3 to Rewrite 2.0.2. Reply To: Issue migrating from PrettyFaces 3.3.3 to Rewrite 2.0.2.

#24272

andrei.amariei
Participant

Thanks for the reply, I will look into them this evening or tommorow morning at the latest and will try to provide as much as I can to have them fixed. One mention I have is that I think appended parameters to view-id work in rewrite also, but only when there aren’t any additional parameters than those in the view-id declaration. It seems to be an parameter order related problem, because in my example the order was broken (it generated zz=2&tipoRecuperoId=2 when I specifed it backwards in my action method).

Regarding the same issue, I think I saw that kind of configuration being advertied in some older slides about prettyfaces.
And I think it’s quite usefull to have the same jsf view being reused in more pretty URLs.

So I can have for example (all urls are relative to context path):
/candies forwarding to /items.jsf?tipe=1 or
/toys forwarding to /items.jsf?tipe=2.
What I’m thinking about <query-param> is generating an url like /items?type=toys and setting pathparams in action would still generate somthing like /items/toys. Am I missing something here?

Many thanks for all your contributions to the oss community,
Andrei