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.

#24266

andrei.amariei
Participant

Also, I have a problem if I try to use rewrite-integration-faces module if the following manner:

return Navigate.to("/admin/obeconomici/matriceMargini.jsf")
                .with("tipoRecuperoId",2).with("zz",2);

The URL the user is redirected to is:
http://10.11.1.15:8080/po/po/matriceFatturato?tipoRecuperoId=2&zz=2
where it seems that the context path (“po”) is appended twice.

Another thing, not related to migration and I don’t even know if it’s a problem or desired behavior: Can the parameters declared in the urlmapping>viewId section be removed from the generated url? So that the resulting URL from the example given would be “matriceFatturato?zz=2” instead of “matriceFatturato?tipoRecuperoId=2&zz=2”.

Thanks