Re: RestartResponseException within Modal window
Hi, any other suggestions on how I could better handle a RestartResponseException within the modal window? On Tue, Feb 20, 2018 at 5:29 PM, Jorge Fernandez wrote: > Yes, I need to be able to use RestartResponse since it is used by the > application to perform special cleanup/handling. > > On Tue, Feb 20, 2018 at 3:03 PM, Sven Meier wrote: > >> Hi, >> >> do you really need to use a RestartResponseException? >> >> You could close the dialog and redirect afterwards instead: >> >> dialog.close(target); >> target.appendJavaScript(|"window.location ='http://www.yoururl.com >> ';");| >> >> Have fun >> Sven >> >> >> >> Am 20.02.2018 um 18:42 schrieb Jorge Fernandez: >> >>> Hi, >>> >>> I am trying to handle a RestartResponseException within a Modal window in >>> my application. I would like to be redirected without the >>> UnloadConfirmation. I prefer not to use showUnloadConfirmation(boolean) >>> because I only want to bypass it in this specific case and enable it for >>> others. Any ideas on how this can be achieved? >>> >>> Thanks >>> >>> >> >
Re: RestartResponseException within Modal window
Yes, I need to be able to use RestartResponse since it is used by the application to perform special cleanup/handling. On Tue, Feb 20, 2018 at 3:03 PM, Sven Meier wrote: > Hi, > > do you really need to use a RestartResponseException? > > You could close the dialog and redirect afterwards instead: > > dialog.close(target); > target.appendJavaScript(|"window.location ='http://www.yoururl.com > ';");| > > Have fun > Sven > > > > Am 20.02.2018 um 18:42 schrieb Jorge Fernandez: > >> Hi, >> >> I am trying to handle a RestartResponseException within a Modal window in >> my application. I would like to be redirected without the >> UnloadConfirmation. I prefer not to use showUnloadConfirmation(boolean) >> because I only want to bypass it in this specific case and enable it for >> others. Any ideas on how this can be achieved? >> >> Thanks >> >> >
RestartResponseException within Modal window
Hi, I am trying to handle a RestartResponseException within a Modal window in my application. I would like to be redirected without the UnloadConfirmation. I prefer not to use showUnloadConfirmation(boolean) because I only want to bypass it in this specific case and enable it for others. Any ideas on how this can be achieved? Thanks