Reply To: Rewrite/PrettyFaces and JSF actions

Splash Forums Rewrite Users Rewrite/PrettyFaces and JSF actions Reply To: Rewrite/PrettyFaces and JSF actions

#26586

marco.schulte
Participant

The complete configuration I’m currently using is return ConfigurationBuilder.begin().addRule(Join.path("/edit").to("/editPosting.html"));, I didn’t see a way to integrate IgnorePostbackOperation into that, as I’m not performaing any Operation, and the Join isn’t wrappable.

I added the PhaseListener and the invoke application phase is indeed skipped. Here is the log:

08:40:31,348 INFO  [de.mut.urlrewrite.CustomPhaseListener] (default task-7) Before phase <RESTORE_VIEW 1>
08:40:31,351 INFO  [de.mut.urlrewrite.CustomPhaseListener] (default task-7) After phase <RESTORE_VIEW 1>
08:40:31,351 INFO  [de.mut.urlrewrite.CustomPhaseListener] (default task-7) Before phase <RENDER_RESPONSE 6>
08:40:31,408 INFO  [de.mut.urlrewrite.CustomPhaseListener] (default task-7) After phase <RENDER_RESPONSE 6>
08:40:42,234 INFO  [de.mut.urlrewrite.CustomPhaseListener] (default task-13) Before phase <RESTORE_VIEW 1>
08:40:42,235 INFO  [de.mut.urlrewrite.CustomPhaseListener] (default task-13) After phase <RESTORE_VIEW 1>
08:40:42,236 INFO  [de.mut.urlrewrite.CustomPhaseListener] (default task-13) Before phase <RENDER_RESPONSE 6>
08:40:42,267 INFO  [de.mut.urlrewrite.CustomPhaseListener] (default task-13) After phase <RENDER_RESPONSE 6>

The page is loaded at 08:40:31, the commandButton is pressed at 08:40:42.

  • This reply was modified 7 years, 1 month ago by  marco.schulte.