Re: using DeltaSpike and JSF2.2 ExternalContext.redirect results in two requests

2021-02-05 Thread Thomas Andraschko
In general DeltaSpike needs to verify, depending on the ClientWindowMode, if the windowId is valid and sends a redirect. Please come back if you know exactly where the redirect will be triggered - AND - check the DS docs. Am Fr., 5. Feb. 2021 um 15:07 Uhr schrieb DevNews : > Hallo, > > in our

using DeltaSpike and JSF2.2 ExternalContext.redirect results in two requests

2021-02-05 Thread DevNews
Hallo, in our web-application (JSF2.2 with DaltaSpike) we listen in a PhaseListener during RESTORE_VIEW on a special url. According to the HTTP-Post data we initialize a ViewAccessScoped bean and then redirect to a target url using ExternalContext.redirect(targeturl). This redirect results in